快速有效
将xxxx-1.0.0.jar拷贝到D盘根下
mvn命令行:
mvn install:install-file -Dfile=D:\xxxx-1.0.0.jar -DgroupId=com.xxxxx -DartifactId=xxxxxxxx_xxxxxxxx -Dversion=1.0.0 -Dpackaging=jar
pom包直接引入:
<dependency>
<groupId>com.xxxxx</groupId>
<artifactId>xxxxxxxx_xxxxxxxx</artifactId>
<version>1.0.0</version>
</dependency>
mvn命令行:
mvn clean install
红色波浪线解除~~