瀏覽代碼

upgrade to springboot 2.3.10.RELEASE

deason 4 年之前
父節點
當前提交
b83d9415d1
共有 1 個文件被更改,包括 13 次插入20 次删除
  1. 13 20
      pom.xml

+ 13 - 20
pom.xml

@@ -10,9 +10,8 @@
     <properties>
         <!-- 云平台版本 -->
         <revision>v4.1.0-SNAPSHOT</revision>
-        <spring-boot.version>2.3.9.RELEASE</spring-boot.version>
+        <spring-boot.version>2.3.10.RELEASE</spring-boot.version>
         <spring-cloud.version>Hoxton.SR10</spring-cloud.version>
-        <maven-source-version>3.2.1</maven-source-version>
         <maven-compiler-version>3.8.1</maven-compiler-version>
         <maven-surefire-version>2.22.2</maven-surefire-version>
         <maven-flatten-version>1.2.7</maven-flatten-version>
@@ -387,27 +386,10 @@
                 <configuration>
                     <source>${maven.compiler.source}</source>
                     <target>${maven.compiler.target}</target>
-                    <compilerArgument>-proc:none</compilerArgument>
+                    <encoding>${project.build.sourceEncoding}</encoding>
                 </configuration>
             </plugin>
 
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-source-plugin</artifactId>
-                <version>${maven-source-version}</version>
-                <configuration>
-                    <attach>true</attach>
-                </configuration>
-                <executions>
-                    <execution>
-                        <phase>compile</phase>
-                        <goals>
-                            <goal>jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>flatten-maven-plugin</artifactId>
@@ -440,6 +422,17 @@
             <!--<plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <configuration>
+                    &lt;!&ndash;<mainClass>x.x.x.Application</mainClass>&ndash;&gt;
+                    <layout>ZIP</layout>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal>
+                        </goals>
+                    </execution>
+                </executions>
             </plugin>-->
         </plugins>
     </build>