Browse Source

修改为pom修改为snap版本

lixing 3 years ago
parent
commit
dc71affba9
4 changed files with 10 additions and 5 deletions
  1. 1 1
      AlarmDataStarter/pom.xml
  2. 1 1
      AlarmEngineStarter/pom.xml
  3. 1 1
      CollectDataStarter/pom.xml
  4. 7 2
      pom.xml

+ 1 - 1
AlarmDataStarter/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>energy-alarm-starter</artifactId>
         <groupId>com.persagy.apm</groupId>
-        <version>v1.0.0</version>
+        <version>v1.0.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 

+ 1 - 1
AlarmEngineStarter/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>energy-alarm-starter</artifactId>
         <groupId>com.persagy.apm</groupId>
-        <version>v1.0.0</version>
+        <version>v1.0.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 

+ 1 - 1
CollectDataStarter/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>energy-alarm-starter</artifactId>
         <groupId>com.persagy.apm</groupId>
-        <version>v1.0.0</version>
+        <version>v1.0.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 

+ 7 - 2
pom.xml

@@ -12,7 +12,7 @@
     <groupId>com.persagy.apm</groupId>
     <artifactId>energy-alarm-starter</artifactId>
     <packaging>pom</packaging>
-    <version>v1.0.0</version>
+    <version>v1.0.0-SNAPSHOT</version>
     <modules>
         <module>AlarmDataStarter</module>
         <module>AlarmEngineStarter</module>
@@ -26,9 +26,14 @@
 
     <!-- 发布maven私服 -->
     <distributionManagement>
+        <snapshotRepository>
+            <id>Snapshots</id>
+            <name>energy-alarm-starter</name>
+            <url>http://47.93.132.139:8081/nexus/content/repositories/snapshots/</url>
+        </snapshotRepository>
         <repository>
             <id>Releases</id>
-            <name>dmp-alarm-starter</name>
+            <name>energy-alarm-starter</name>
             <url>http://47.93.132.139:8081/nexus/content/repositories/persagy</url>
         </repository>
     </distributionManagement>