Browse Source

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

郑杰 2 years ago
parent
commit
6821c90e83
5 changed files with 20 additions and 0 deletions
  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 43
             <plugin>
44 44
                 <groupId>org.springframework.boot</groupId>
45 45
                 <artifactId>spring-boot-maven-plugin</artifactId>
46
+                <configuration>
47
+                    <!-- maven打包时会将外部引入的jar包(比如在根目录下或resource文件下新加外部jar包)打包到项目jar -->
48
+                    <includeSystemScope>true</includeSystemScope>
49
+                </configuration>
46 50
             </plugin>
47 51
         </plugins>
48 52
     </build>

+ 4 - 0
buyer-api/pom.xml

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

+ 4 - 0
common-api/pom.xml

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

+ 4 - 0
consumer/pom.xml

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

+ 4 - 0
manager-api/pom.xml

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