gj 3 år sedan
förälder
incheckning
914b6f984a
1 ändrade filer med 26 tillägg och 33 borttagningar
  1. 26 33
      pom.xml

+ 26 - 33
pom.xml

@@ -6,6 +6,12 @@
     <artifactId>test-maven-version</artifactId>
     <packaging>pom</packaging>
     <version>1.0.2-SNAPSHOT</version>
+
+    <parent>
+        <artifactId>zsy</artifactId>
+        <groupId>com.zhixinhuixue</groupId>
+        <version>4.0.0-SNAPSHOT</version>
+    </parent>
     <!-- 项目属性配置(常量,别的地方可以引用) -->
     <properties>
         <zl.java.version>1.8</zl.java.version>
@@ -37,28 +43,28 @@
         <tag>HEAD</tag>
     </scm>
     <!--定义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 -->
-    <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>
         <plugins>
             <!-- 发布插件 -->
@@ -95,19 +101,6 @@
                 <artifactId>maven-jar-plugin</artifactId>
                 <version>${plugin.jar.version}</version>
             </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>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-deploy-plugin</artifactId>