deason 4 lat temu
rodzic
commit
5f738dd041
2 zmienionych plików z 21 dodań i 0 usunięć
  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>
         </plugins>
     </build>
     </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>
 </project>

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

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