将jar包安装到本地仓库 mvn

		<dependency>
            <groupId>org.example</groupId>
            <artifactId>vat-common</artifactId>
            <version>1.0-SNAPSHOT</version>
        </dependency>

将jar包安装到本地仓库:

mvn install:install-file -DgroupId=org.example -DartifactId=vat-common -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=G:\vat-parent\vat-common\target\vat-common-1.0-SNAPSHOT.jar

猜你喜欢

转载自blog.csdn.net/m0_43413873/article/details/106581715
今日推荐