gj 3 years ago
parent
commit
9159c9cb2a
1 changed files with 21 additions and 21 deletions
  1. 21 21
      pom.xml

+ 21 - 21
pom.xml

@@ -38,28 +38,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>-->
+<!--     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>
     <build>
         <plugins>
             <!-- 发布插件 -->