第一次记录问题:maven install 一直打包失败,用idea里面的install和命令 mvn install错还不一样
mvn install 错误信息
我明明配置的私服,但是这儿走的maven公共库
idea install 错误信息
说我的core包里面的类找不到,但是core包明明打包成功了
私服拉包问题解决方案
再pom.xml文件添加:
<repositories>
<repository>
<id>central</id>
<url>http://host:port/content/groups/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://host:port/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
参考:https://blog.csdn.net/daijiguo/article/details/82887362
找不到包解决方案
<configuration>
<classifier>execute</classifier>
</configuration>
参考:https://blog.csdn.net/sinat_38570489/article/details/89504048