瀏覽代碼

所有参与打包项目扫描加密包

郑杰 3 年之前
父節點
當前提交
6821c90e83
共有 5 個文件被更改,包括 20 次插入0 次删除
  1. 4 0
      admin/pom.xml
  2. 4 0
      buyer-api/pom.xml
  3. 4 0
      common-api/pom.xml
  4. 4 0
      consumer/pom.xml
  5. 4 0
      manager-api/pom.xml

+ 4 - 0
admin/pom.xml

@@ -43,6 +43,10 @@
43
             <plugin>
43
             <plugin>
44
                 <groupId>org.springframework.boot</groupId>
44
                 <groupId>org.springframework.boot</groupId>
45
                 <artifactId>spring-boot-maven-plugin</artifactId>
45
                 <artifactId>spring-boot-maven-plugin</artifactId>
46
+                <configuration>
47
+                    <!-- maven打包时会将外部引入的jar包(比如在根目录下或resource文件下新加外部jar包)打包到项目jar -->
48
+                    <includeSystemScope>true</includeSystemScope>
49
+                </configuration>
46
             </plugin>
50
             </plugin>
47
         </plugins>
51
         </plugins>
48
     </build>
52
     </build>

+ 4 - 0
buyer-api/pom.xml

@@ -30,6 +30,10 @@
30
             <plugin>
30
             <plugin>
31
                 <groupId>org.springframework.boot</groupId>
31
                 <groupId>org.springframework.boot</groupId>
32
                 <artifactId>spring-boot-maven-plugin</artifactId>
32
                 <artifactId>spring-boot-maven-plugin</artifactId>
33
+                <configuration>
34
+                    <!-- maven打包时会将外部引入的jar包(比如在根目录下或resource文件下新加外部jar包)打包到项目jar -->
35
+                    <includeSystemScope>true</includeSystemScope>
36
+                </configuration>
33
             </plugin>
37
             </plugin>
34
         </plugins>
38
         </plugins>
35
     </build>
39
     </build>

+ 4 - 0
common-api/pom.xml

@@ -26,6 +26,10 @@
26
             <plugin>
26
             <plugin>
27
                 <groupId>org.springframework.boot</groupId>
27
                 <groupId>org.springframework.boot</groupId>
28
                 <artifactId>spring-boot-maven-plugin</artifactId>
28
                 <artifactId>spring-boot-maven-plugin</artifactId>
29
+                <configuration>
30
+                    <!-- maven打包时会将外部引入的jar包(比如在根目录下或resource文件下新加外部jar包)打包到项目jar -->
31
+                    <includeSystemScope>true</includeSystemScope>
32
+                </configuration>
29
             </plugin>
33
             </plugin>
30
         </plugins>
34
         </plugins>
31
     </build>
35
     </build>

+ 4 - 0
consumer/pom.xml

@@ -37,6 +37,10 @@
37
             <plugin>
37
             <plugin>
38
                 <groupId>org.springframework.boot</groupId>
38
                 <groupId>org.springframework.boot</groupId>
39
                 <artifactId>spring-boot-maven-plugin</artifactId>
39
                 <artifactId>spring-boot-maven-plugin</artifactId>
40
+                <configuration>
41
+                    <!-- maven打包时会将外部引入的jar包(比如在根目录下或resource文件下新加外部jar包)打包到项目jar -->
42
+                    <includeSystemScope>true</includeSystemScope>
43
+                </configuration>
40
             </plugin>
44
             </plugin>
41
         </plugins>
45
         </plugins>
42
     </build>
46
     </build>

+ 4 - 0
manager-api/pom.xml

@@ -25,6 +25,10 @@
25
             <plugin>
25
             <plugin>
26
                 <groupId>org.springframework.boot</groupId>
26
                 <groupId>org.springframework.boot</groupId>
27
                 <artifactId>spring-boot-maven-plugin</artifactId>
27
                 <artifactId>spring-boot-maven-plugin</artifactId>
28
+                <configuration>
29
+                    <!-- maven打包时会将外部引入的jar包(比如在根目录下或resource文件下新加外部jar包)打包到项目jar -->
30
+                    <includeSystemScope>true</includeSystemScope>
31
+                </configuration>
28
             </plugin>
32
             </plugin>
29
         </plugins>
33
         </plugins>
30
     </build>
34
     </build>