Przeglądaj źródła

修改 spring-maven-plugin兼容配置

guoenzhou 1 rok temu
rodzic
commit
f4479ee259

+ 1 - 1
base-components/gateway/pom.xml

@@ -101,7 +101,7 @@
             <plugin>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
-<!--                <version>2.0.4.RELEASE</version>-->
+                <version>2.2.6.RELEASE</version>
                 <configuration>
                 <configuration>
                     <fork>false</fork>
                     <fork>false</fork>
                 </configuration>
                 </configuration>

+ 1 - 0
base-components/monitor/pom.xml

@@ -61,6 +61,7 @@
             <plugin>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <version>2.6.6</version>
                 <executions>
                 <executions>
                     <execution>
                     <execution>
                         <goals>
                         <goals>

+ 1 - 0
base-modules/service-file/pom.xml

@@ -83,6 +83,7 @@
             <plugin>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <version>2.2.6.RELEASE</version>
                 <executions>
                 <executions>
                     <execution>
                     <execution>
                         <goals>
                         <goals>

+ 1 - 0
base-modules/service-gen/pom.xml

@@ -86,6 +86,7 @@
             <plugin>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <version>2.2.6.RELEASE</version>
                 <executions>
                 <executions>
                     <execution>
                     <execution>
                         <goals>
                         <goals>

+ 16 - 37
base-modules/service-job/pom.xml

@@ -16,29 +16,10 @@
     </description>
     </description>
 
 
     <dependencies>
     <dependencies>
-    	
-    	<!-- SpringCloud Alibaba Nacos -->
-        <dependency>
-            <groupId>com.alibaba.cloud</groupId>
-            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
-        </dependency>
-        
-        <!-- SpringCloud Alibaba Nacos Config -->
-        <dependency>
-            <groupId>com.alibaba.cloud</groupId>
-            <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
-        </dependency>
-        
-        <!-- SpringCloud Alibaba Sentinel -->
-<!--        <dependency>-->
-<!--            <groupId>com.alibaba.cloud</groupId>-->
-<!--            <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>-->
-<!--        </dependency>-->
-        
-        <!-- SpringBoot Actuator -->
+
         <dependency>
         <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-actuator</artifactId>
+            <groupId>com.usky</groupId>
+            <artifactId>common-cloud-starter</artifactId>
         </dependency>
         </dependency>
 		
 		
         <!-- Swagger UI -->
         <!-- Swagger UI -->
@@ -59,30 +40,27 @@
                 </exclusion>
                 </exclusion>
             </exclusions>
             </exclusions>
         </dependency>
         </dependency>
-        
-        <!-- Mysql Connector -->
+
         <dependency>
         <dependency>
-            <groupId>mysql</groupId>
-            <artifactId>mysql-connector-java</artifactId>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>2.3.1</version>
         </dependency>
         </dependency>
         
         
-        <!-- RuoYi Common Log -->
-        <dependency>
-            <groupId>com.usky</groupId>
-            <artifactId>ruoyi-common-log</artifactId>
-        </dependency>
+
         
         
-        <!-- RuoYi Common Swagger -->
+<!--        &lt;!&ndash; RuoYi Common Log &ndash;&gt;-->
+<!--        <dependency>-->
+<!--            <groupId>com.usky</groupId>-->
+<!--            <artifactId>ruoyi-common-log</artifactId>-->
+<!--        </dependency>-->
+
+<!--        &lt;!&ndash; RuoYi Common Swagger &ndash;&gt;-->
         <dependency>
         <dependency>
             <groupId>com.usky</groupId>
             <groupId>com.usky</groupId>
             <artifactId>ruoyi-common-swagger</artifactId>
             <artifactId>ruoyi-common-swagger</artifactId>
         </dependency>
         </dependency>
 
 
-        <dependency>
-            <groupId>com.usky</groupId>
-            <artifactId>ruoyi-common-core</artifactId>
-        </dependency>
-        
     </dependencies>
     </dependencies>
 
 
     <build>
     <build>
@@ -91,6 +69,7 @@
             <plugin>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <version>2.2.6.RELEASE</version>
                 <executions>
                 <executions>
                     <execution>
                     <execution>
                         <goals>
                         <goals>

+ 1 - 0
base-modules/service-system/service-system-biz/pom.xml

@@ -56,6 +56,7 @@
             <plugin>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <version>2.2.6.RELEASE</version>
                 <executions>
                 <executions>
                     <execution>
                     <execution>
                         <goals>
                         <goals>

+ 5 - 0
usky-common/common-cloud-starter/pom.xml

@@ -78,6 +78,11 @@
             <artifactId>usky-common-log</artifactId>
             <artifactId>usky-common-log</artifactId>
         </dependency>
         </dependency>
 
 
+       <dependency>
+           <groupId>com.usky</groupId>
+           <artifactId>ruoyi-common-swagger</artifactId>
+       </dependency>
+
 
 
     </dependencies>
     </dependencies>
 </project>
 </project>