|
|
@@ -53,6 +53,13 @@
|
|
|
<junit.version>4.13.2</junit.version>
|
|
|
<xxljob.version>2.4.0</xxljob.version>
|
|
|
<project.version>1.0.0</project.version>
|
|
|
+ <!--maven插件版本声明-->
|
|
|
+ <maven-clean-plugin.version>3.2.0</maven-clean-plugin.version>
|
|
|
+ <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
|
|
|
+ <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
|
|
|
+ <maven-resources-plugin.version>3.3.0</maven-resources-plugin.version>
|
|
|
+ <maven-install-plugin.version>3.0.1</maven-install-plugin.version>
|
|
|
+ <maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
|
|
|
</properties>
|
|
|
|
|
|
<dependencyManagement>
|
|
|
@@ -109,7 +116,6 @@
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
-
|
|
|
<!-- apache dubbo -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
@@ -334,17 +340,86 @@
|
|
|
<build>
|
|
|
<pluginManagement>
|
|
|
<plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-clean-plugin</artifactId>
|
|
|
+ <version>${maven-clean-plugin.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>${maven-compiler-plugin.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-deploy-plugin</artifactId>
|
|
|
+ <version>${maven-deploy-plugin.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-install-plugin</artifactId>
|
|
|
+ <version>${maven-install-plugin.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <version>${maven-jar-plugin.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
+ <version>${maven-resources-plugin.version}</version>
|
|
|
+ <configuration>
|
|
|
+ <propertiesEncoding>${project.build.sourceEncoding}</propertiesEncoding>
|
|
|
+ <delimiters>
|
|
|
+ <delimiter>@</delimiter>
|
|
|
+ </delimiters>
|
|
|
+ <useDefaultDelimiters>false</useDefaultDelimiters>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- <version>3.1.0</version>
|
|
|
+ <version>${spring-boot.version}</version>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-clean-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-deploy-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-install-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <source>17</source>
|
|
|
+ <target>17</target>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ </plugins>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<directory>src/main/resources</directory>
|
|
|
<filtering>true</filtering>
|
|
|
+ <!--资源-->
|
|
|
+ <includes>
|
|
|
+ <!--banner.txt-->
|
|
|
+ <include>**/*.txt</include>
|
|
|
+ <include>**/*.properties</include>
|
|
|
+ <include>**/*.yml</include>
|
|
|
+ <include>**/*.xml</include>
|
|
|
+ </includes>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
</build>
|