Selaa lähdekoodia

pom结构修改

hanqingsong 3 vuotta sitten
vanhempi
commit
876434f910
1 muutettua tiedostoa jossa 12 lisäystä ja 12 poistoa
  1. 12 12
      pom.xml

+ 12 - 12
pom.xml

@@ -3,18 +3,17 @@
3 3
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4 4
     <modelVersion>4.0.0</modelVersion>
5 5
     <parent>
6
-        <groupId>org.springframework.boot</groupId>
7
-        <artifactId>spring-boot-starter-parent</artifactId>
8
-        <version>2.7.4</version>
9
-        <relativePath/> <!-- lookup parent from repository -->
6
+        <groupId>com.unitssoft</groupId>
7
+        <artifactId>smart-grp-nof-pom</artifactId>
8
+        <version>0.0.1-SNAPSHOT</version>
9
+        <relativePath>../smart-grp-nof-pom/pom.xml</relativePath>
10 10
     </parent>
11
-    <groupId>com.unissoft</groupId>
11
+
12 12
     <artifactId>smart-grp-nof-dev-test</artifactId>
13 13
     <version>0.0.1-SNAPSHOT</version>
14 14
     <name>smart-grp-nof-dev-test</name>
15 15
     <description>Demo project for Spring Boot</description>
16 16
     <properties>
17
-        <skipTests>true</skipTests>
18 17
         <java.version>1.8</java.version>
19 18
     </properties>
20 19
     <dependencies>
@@ -23,21 +22,22 @@
23 22
             <groupId>com.unissoft</groupId>
24 23
             <artifactId>smart-grp-nof-common</artifactId>
25 24
             <version>0.0.1-SNAPSHOT</version>
25
+            <exclusions>
26
+                <exclusion>
27
+                    <groupId>org.springframework.boot</groupId>
28
+                    <artifactId>spring-boot-starter-web</artifactId>
29
+                </exclusion>
30
+            </exclusions>
26 31
         </dependency>
27 32
         <dependency>
28 33
             <groupId>com.alibaba</groupId>
29 34
             <artifactId>fastjson</artifactId>
30
-            <version>1.2.83</version>
35
+            <version>${fastjson.version}</version>
31 36
         </dependency>
32 37
         <dependency>
33 38
             <groupId>org.projectlombok</groupId>
34 39
             <artifactId>lombok</artifactId>
35 40
         </dependency>
36
-        <dependency>
37
-            <groupId>org.springframework.boot</groupId>
38
-            <artifactId>spring-boot-starter-test</artifactId>
39
-            <scope>test</scope>
40
-        </dependency>
41 41
     </dependencies>
42 42
 
43 43
     <build>