pom.xml直接引入jar包依赖

1.项目结构

2.pom.xml添加依赖

        <dependency>
            <groupId>it.sauronsoftware</groupId>
            <artifactId>jave</artifactId>
            <version>1.0.2</version>
            <scope>system</scope>
            <systemPath>${project.basedir}/libs/jave-1.0.2.jar</systemPath>
        </dependency>
原文地址:https://www.cnblogs.com/tu13/p/pom_dependency_jar.html