Forráskód Böngészése

修改为pom修改为snap版本

lixing 3 éve
szülő
commit
39685c57a6
8 módosított fájl, 35 hozzáadás és 63 törlés
  1. 1 10
      apm-common/pom.xml
  2. 2 8
      apm-mybatis/pom.xml
  3. 1 8
      apm-package/pom.xml
  4. 25 11
      apm-parent/pom.xml
  5. 1 1
      apm-screw/pom.xml
  6. 2 9
      apm-server/pom.xml
  7. 2 8
      apm-translate/pom.xml
  8. 1 8
      pom.xml

+ 1 - 10
apm-common/pom.xml

@@ -5,12 +5,11 @@
     <parent>
         <artifactId>apm-parent</artifactId>
         <groupId>com.persagy</groupId>
-        <version>v1.0.0</version>
+        <version>v1.0.0-SNAPSHOT</version>
         <relativePath>../apm-parent</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>apm-common</artifactId>
-    <version>v1.0.0</version>
     <repositories>
         <repository>
             <id>persagy</id>
@@ -23,14 +22,6 @@
             <url>http://47.93.132.139:8081/nexus/content/repositories/integrated/</url>
         </repository>
     </repositories>
-    <distributionManagement>
-        <repository>
-            <id>persagy</id>
-            <name>releases Repository</name>
-            <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
-            <layout>default</layout>
-        </repository>
-    </distributionManagement>
     <dependencies>
         <!-- 集成框架工具类 -->
         <dependency>

+ 2 - 8
apm-mybatis/pom.xml

@@ -4,17 +4,11 @@
     <parent>
         <groupId>com.persagy</groupId>
         <artifactId>apm-parent</artifactId>
-        <version>v1.0.0</version>
+        <version>v1.0.0-SNAPSHOT</version>
         <relativePath>../apm-parent</relativePath>
     </parent>
     <artifactId>apm-mybatis</artifactId>
-    <distributionManagement>
-        <repository>
-            <id>persagy</id>
-            <name>releases Repository</name>
-            <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
-        </repository>
-    </distributionManagement>
+
     <dependencies>
         <dependency>
             <groupId>com.persagy</groupId>

+ 1 - 8
apm-package/pom.xml

@@ -5,19 +5,12 @@
     <parent>
         <artifactId>apm-parent</artifactId>
         <groupId>com.persagy</groupId>
-        <version>v1.0.0</version>
+        <version>v1.0.0-SNAPSHOT</version>
         <relativePath>../apm-parent</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>apm-package</artifactId>
     <packaging>pom</packaging>
-    <distributionManagement>
-        <repository>
-            <id>persagy</id>
-            <name>releases Repository</name>
-            <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
-        </repository>
-    </distributionManagement>
 
     <!-- 插件配置 -->
     <build>

+ 25 - 11
apm-parent/pom.xml

@@ -5,7 +5,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.persagy</groupId>
     <artifactId>apm-parent</artifactId>
-    <version>v1.0.0</version>
+    <version>v1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <repositories>
@@ -14,15 +14,17 @@
             <name>releases Repository</name>
             <url>http://47.93.132.139:8081/nexus/content/repositories/integrated/</url>
         </repository>
-    </repositories>
-    <distributionManagement>
         <repository>
-            <id>persagy</id>
-            <name>releases Repository</name>
-            <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
-            <layout>default</layout>
+            <id>Snapshots</id>
+            <name>snapshot</name>
+            <url>http://47.93.132.139:8081/nexus/content/repositories/snapshots/</url>
         </repository>
-    </distributionManagement>
+        <repository>
+            <id>Releases</id>
+            <name>persagy</name>
+            <url>http://47.93.132.139:8081/nexus/content/repositories/persagy</url>
+        </repository>
+    </repositories>
 
     <parent>
         <groupId>org.springframework.boot</groupId>
@@ -32,8 +34,7 @@
     </parent>
     <!-- 版本管理 -->
     <properties>
-        <apm.common.version>v1.0.0</apm.common.version>
-        <apm.version>v1.0.0</apm.version>
+        <apm.version>v1.0.0-SNAPSHOT</apm.version>
         <platform.version>1.0.0</platform.version>
         <mybatis-plus.version>3.3.1</mybatis-plus.version>
         <dynamic-datasource.version>3.3.2</dynamic-datasource.version>
@@ -65,7 +66,7 @@
             <dependency>
                 <groupId>com.persagy</groupId>
                 <artifactId>apm-common</artifactId>
-                <version>${apm.common.version}</version>
+                <version>${apm.version}</version>
             </dependency>
             <dependency>
                 <groupId>com.persagy</groupId>
@@ -365,4 +366,17 @@
             </plugin>
         </plugins>
     </build>
+
+    <distributionManagement>
+        <snapshotRepository>
+            <id>Snapshots</id>
+            <name>apm-basics</name>
+            <url>http://47.93.132.139:8081/nexus/content/repositories/snapshots/</url>
+        </snapshotRepository>
+        <repository>
+            <id>Releases</id>
+            <name>apm-basics</name>
+            <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
+        </repository>
+    </distributionManagement>
 </project>

+ 1 - 1
apm-screw/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>apm-parent</artifactId>
         <groupId>com.persagy</groupId>
-        <version>v1.0.0</version>
+        <version>v1.0.0-SNAPSHOT</version>
         <relativePath>../apm-parent</relativePath>
     </parent>
     <version>1.0.0</version>

+ 2 - 9
apm-server/pom.xml

@@ -5,19 +5,12 @@
     <parent>
         <artifactId>apm-parent</artifactId>
         <groupId>com.persagy</groupId>
-        <version>v1.0.0</version>
+        <version>v1.0.0-SNAPSHOT</version>
         <relativePath>../apm-parent</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>apm-server</artifactId>
-    <version>v1.0.0</version>
-    <distributionManagement>
-        <repository>
-            <id>persagy</id>
-            <name>releases Repository</name>
-            <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
-        </repository>
-    </distributionManagement>
+
     <dependencies>
         <!-- 集成框架工具类 -->
         <dependency>

+ 2 - 8
apm-translate/pom.xml

@@ -5,18 +5,12 @@
     <parent>
         <artifactId>apm-parent</artifactId>
         <groupId>com.persagy</groupId>
-        <version>v1.0.0</version>
+        <version>v1.0.0-SNAPSHOT</version>
         <relativePath>../apm-parent</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>apm-translate</artifactId>
-    <distributionManagement>
-        <repository>
-            <id>persagy</id>
-            <name>releases Repository</name>
-            <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
-        </repository>
-    </distributionManagement>
+
     <dependencies>
         <dependency>
             <groupId>com.persagy</groupId>

+ 1 - 8
pom.xml

@@ -6,20 +6,13 @@
     <parent>
         <groupId>com.persagy</groupId>
         <artifactId>apm-parent</artifactId>
-        <version>v1.0.0</version>
+        <version>v1.0.0-SNAPSHOT</version>
         <relativePath>apm-parent</relativePath>
     </parent>
     <artifactId>apm-basics</artifactId>
     <packaging>pom</packaging>
     <description>apm组件项目,只提供jar,不提供服务</description>
 
-    <distributionManagement>
-        <repository>
-            <id>persagy</id>
-            <name>releases Repository</name>
-            <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
-        </repository>
-    </distributionManagement>
     <modules>
         <module>apm-parent</module>
         <module>apm-server</module>