搭建私有Maven仓库
1.Nexus 搭建私有Maven仓库
参考连接:https://www.cnblogs.com/wuwei928/p/10338307.html
2.生成jar文件:
原先的插件配置:
<build>
<plugins>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugins>
</build>
改为apache的插件:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
3.发布jar文件