|
@@ -6,6 +6,12 @@
|
|
<artifactId>test-maven-version</artifactId>
|
|
<artifactId>test-maven-version</artifactId>
|
|
<packaging>pom</packaging>
|
|
<packaging>pom</packaging>
|
|
<version>1.0.2-SNAPSHOT</version>
|
|
<version>1.0.2-SNAPSHOT</version>
|
|
|
|
+
|
|
|
|
+ <parent>
|
|
|
|
+ <artifactId>zsy</artifactId>
|
|
|
|
+ <groupId>com.zhixinhuixue</groupId>
|
|
|
|
+ <version>4.0.0-SNAPSHOT</version>
|
|
|
|
+ </parent>
|
|
<!-- 项目属性配置(常量,别的地方可以引用) -->
|
|
<!-- 项目属性配置(常量,别的地方可以引用) -->
|
|
<properties>
|
|
<properties>
|
|
<zl.java.version>1.8</zl.java.version>
|
|
<zl.java.version>1.8</zl.java.version>
|
|
@@ -37,28 +43,28 @@
|
|
<tag>HEAD</tag>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
</scm>
|
|
<!--定义snapshots库和releases库的nexus3地址-->
|
|
<!--定义snapshots库和releases库的nexus3地址-->
|
|
- <distributionManagement>
|
|
|
|
- <snapshotRepository>
|
|
|
|
- <id>nexus-snapshots</id>
|
|
|
|
- <url>http://192.168.1.240:8847/nexus3/repository/maven-snapshots/</url>
|
|
|
|
- </snapshotRepository>
|
|
|
|
- <repository>
|
|
|
|
- <id>nexus-releases</id>
|
|
|
|
- <url>http://192.168.1.240:8847/nexus3/repository/maven-releases/</url>
|
|
|
|
- </repository>
|
|
|
|
- </distributionManagement>
|
|
|
|
|
|
+<!-- <distributionManagement>-->
|
|
|
|
+<!-- <snapshotRepository>-->
|
|
|
|
+<!-- <id>nexus-snapshots</id>-->
|
|
|
|
+<!-- <url>http://192.168.1.240:8847/nexus3/repository/maven-snapshots/</url>-->
|
|
|
|
+<!-- </snapshotRepository>-->
|
|
|
|
+<!-- <repository>-->
|
|
|
|
+<!-- <id>nexus-releases</id>-->
|
|
|
|
+<!-- <url>http://192.168.1.240:8847/nexus3/repository/maven-releases/</url>-->
|
|
|
|
+<!-- </repository>-->
|
|
|
|
+<!-- </distributionManagement>-->
|
|
|
|
|
|
<!-- nexus3 -->
|
|
<!-- nexus3 -->
|
|
- <repositories>
|
|
|
|
- <repository>
|
|
|
|
- <id>nexus-public</id>
|
|
|
|
- <name>maven-public</name>
|
|
|
|
- <url>http://192.168.1.240:8847/nexus3/repository/maven-public/</url>
|
|
|
|
- <snapshots>
|
|
|
|
- <enabled>true</enabled>
|
|
|
|
- </snapshots>
|
|
|
|
- </repository>
|
|
|
|
- </repositories>
|
|
|
|
|
|
+<!-- <repositories>-->
|
|
|
|
+<!-- <repository>-->
|
|
|
|
+<!-- <id>nexus-public</id>-->
|
|
|
|
+<!-- <name>maven-public</name>-->
|
|
|
|
+<!-- <url>http://192.168.1.240:8847/nexus3/repository/maven-public/</url>-->
|
|
|
|
+<!-- <snapshots>-->
|
|
|
|
+<!-- <enabled>true</enabled>-->
|
|
|
|
+<!-- </snapshots>-->
|
|
|
|
+<!-- </repository>-->
|
|
|
|
+<!-- </repositories>-->
|
|
<build>
|
|
<build>
|
|
<plugins>
|
|
<plugins>
|
|
<!-- 发布插件 -->
|
|
<!-- 发布插件 -->
|
|
@@ -95,19 +101,6 @@
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${plugin.jar.version}</version>
|
|
<version>${plugin.jar.version}</version>
|
|
</plugin>
|
|
</plugin>
|
|
- <plugin>
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
- <version>${plugin.boot.version}</version>
|
|
|
|
- <executions>
|
|
|
|
- <execution>
|
|
|
|
- <goals>
|
|
|
|
- <goal>repackage</goal>
|
|
|
|
- <goal>build-info</goal>
|
|
|
|
- </goals>
|
|
|
|
- </execution>
|
|
|
|
- </executions>
|
|
|
|
- </plugin>
|
|
|
|
<plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|