浏览代码

maven deploy

deason 4 年之前
父节点
当前提交
5f738dd041
共有 2 个文件被更改,包括 21 次插入0 次删除
  1. 13 0
      config-center-client/pom.xml
  2. 8 0
      config-center-server/pom.xml

+ 13 - 0
config-center-client/pom.xml

@@ -82,4 +82,17 @@
         </plugins>
     </build>
 
+    <distributionManagement>
+        <repository>
+            <id>maven-releases</id>
+            <name>Release repository</name>
+            <url>http://192.168.10.201:8081/repository/maven-releases/</url>
+        </repository>
+        <snapshotRepository>
+            <id>maven-snapshots</id>
+            <name>Snapshots repository</name>
+            <url>http://192.168.10.201:8081/repository/maven-snapshots/</url>
+        </snapshotRepository>
+    </distributionManagement>
+
 </project>

+ 8 - 0
config-center-server/pom.xml

@@ -61,6 +61,14 @@
                 </configuration>
             </plugin>
 
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
+
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>