81,092
社区成员
发帖
与我相关
我的任务
分享
<dependency>
<groupId>test.test</groupId>
<artifactId>my</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/my.jar</systemPath>
</dependency>
mvn install:install-file -DgroupId=com.defonds.cx -DartifactId=db -Dversion=1.1.20 -Dpackaging=jar -Dfile=F:/reddwarf-0.10.1/db-4.5.20.jar
Dfile 是你要共享的本地 jar 包的绝对路径