Przeglądaj źródła

distributionManagement 放到根 pom 文件中

reghao 1 rok temu
rodzic
commit
2ea640c568
3 zmienionych plików z 8 dodań i 15 usunięć
  1. 1 8
      oss-api/pom.xml
  2. 0 7
      oss-sdk/pom.xml
  3. 7 0
      pom.xml

+ 1 - 8
oss-api/pom.xml

@@ -45,11 +45,4 @@
             <version>0.9.1</version>
         </dependency>
     </dependencies>
-
-    <distributionManagement>
-        <repository>
-            <id>maven-local-hosted</id>
-            <url>http://nexus.reghao.cn/repository/maven-local-hosted/</url>
-        </repository>
-    </distributionManagement>
-</project>
+</project>

+ 0 - 7
oss-sdk/pom.xml

@@ -54,11 +54,4 @@
             <version>1.2.3</version>
         </dependency>
     </dependencies>
-
-    <distributionManagement>
-        <repository>
-            <id>maven-local-hosted</id>
-            <url>http://nexus.reghao.cn/repository/maven-local-hosted/</url>
-        </repository>
-    </distributionManagement>
 </project>

+ 7 - 0
pom.xml

@@ -21,4 +21,11 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     </properties>
+
+    <distributionManagement>
+        <repository>
+            <id>maven-local-hosted</id>
+            <url>http://nexus.reghao.cn/repository/maven-local-hosted/</url>
+        </repository>
+    </distributionManagement>
 </project>