Browse Source

「版本发布」prepare release v1.0.2

gj 3 years ago
parent
commit
28fbbe015a
4 changed files with 7 additions and 9 deletions
  1. 1 1
      api/pom.xml
  2. 1 1
      common/pom.xml
  3. 2 3
      model/pom.xml
  4. 3 4
      pom.xml

+ 1 - 1
api/pom.xml

@@ -4,6 +4,6 @@
 
     <groupId>com.zhixinhuixue.test</groupId>
     <artifactId>api</artifactId>
-    <version>1.0.2-SNAPSHOT</version>
+    <version>1.0.2</version>
     <packaging>jar</packaging>
 </project>

+ 1 - 1
common/pom.xml

@@ -4,7 +4,7 @@
 
     <groupId>com.zhixinhuixue.test</groupId>
     <artifactId>common</artifactId>
-    <version>1.0.2-SNAPSHOT</version>
+    <version>1.0.2</version>
     <packaging>jar</packaging>
 
 </project>

+ 2 - 3
model/pom.xml

@@ -1,11 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <groupId>com.zhixinhuixue.test</groupId>
     <artifactId>model</artifactId>
-    <version>1.0.2-SNAPSHOT</version>
+    <version>1.0.2</version>
     <packaging>jar</packaging>
 
 

+ 3 - 4
pom.xml

@@ -1,11 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.zhixinhuixue.test</groupId>
     <artifactId>test-maven-version</artifactId>
     <packaging>pom</packaging>
-    <version>1.0.2-SNAPSHOT</version>
+    <version>1.0.2</version>
     <!-- 项目属性配置(常量,别的地方可以引用) -->
     <properties>
         <zl.java.version>1.8</zl.java.version>
@@ -34,7 +33,7 @@
         <!--需要打包项目的git地址-->
         <connection>scm:git:http://gitz.zhixinhuixue.net:18880/trustsun/test-maven-version.git</connection>
 
-        <tag>HEAD</tag>
+        <tag>v1.0.2</tag>
     </scm>
     <!--定义snapshots库和releases库的nexus3地址-->
     <distributionManagement>