gj 3 years ago
parent
commit
98d5ddff63
3 changed files with 18 additions and 3 deletions
  1. 8 1
      api/pom.xml
  2. 5 1
      common/pom.xml
  3. 5 1
      model/pom.xml

+ 8 - 1
api/pom.xml

@@ -1,9 +1,16 @@
 <?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>api</artifactId>
     <version>1.0.2-SNAPSHOT</version>
     <packaging>jar</packaging>
+
+    <parent>
+        <artifactId>test-maven-version</artifactId>
+        <groupId>com.zhixinhuixue.test</groupId>
+        <version>1.0.2-SNAPSHOT</version>
+    </parent>
 </project>

+ 5 - 1
common/pom.xml

@@ -6,5 +6,9 @@
     <artifactId>common</artifactId>
     <version>1.0.2-SNAPSHOT</version>
     <packaging>jar</packaging>
-
+<parent>
+        <artifactId>test-maven-version</artifactId>
+        <groupId>com.zhixinhuixue.test</groupId>
+        <version>1.0.2-SNAPSHOT</version>
+    </parent>
 </project>

+ 5 - 1
model/pom.xml

@@ -8,5 +8,9 @@
     <version>1.0.2-SNAPSHOT</version>
     <packaging>jar</packaging>
 
-
+    <parent>
+        <artifactId>test-maven-version</artifactId>
+        <groupId>com.zhixinhuixue.test</groupId>
+        <version>1.0.2-SNAPSHOT</version>
+    </parent>
 </project>