chore(build): 更新构建配置添加Java版本属性并修改仓库地址
- 添加 java.version 属性设置为 1.8 - 修改 distributionManagement 中的仓库 URL 从 coding.net 迁移到本地 Nexus - 移除外部仓库依赖,使用内部 Maven 仓库地址 http://192.168.3.25:18081/nexus/repository/maven-releases/
This commit is contained in:
3
pom.xml
3
pom.xml
@@ -124,6 +124,7 @@
|
||||
<!-- for jdbc driver when package -->
|
||||
<mysql.jdbc.version>5.1.35</mysql.jdbc.version>
|
||||
<mysql8.jdbc.version>8.0.19</mysql8.jdbc.version>
|
||||
<java.version>1.8</java.version>
|
||||
</properties>
|
||||
|
||||
<!--test-->
|
||||
@@ -528,7 +529,7 @@
|
||||
<!--必须与 settings.xml 的 id 一致-->
|
||||
<id>fantaibao-fantaibao-maven-repository</id>
|
||||
<name>maven-repository</name>
|
||||
<url>https://fantaibao-maven.pkg.coding.net/repository/fantaibao/maven-repository/</url>
|
||||
<url>http://192.168.3.25:18081/nexus/repository/maven-releases/</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user