Browse Source

update document

xuxueli 6 years ago
parent
commit
6fac8123d2
2 changed files with 8 additions and 4 deletions
  1. 7 3
      pom.xml
  2. 1 1
      xxl-job-executor-samples/xxl-job-executor-sample-spring/pom.xml

+ 7 - 3
pom.xml

@@ -42,6 +42,10 @@
 		<groovy.version>2.5.6</groovy.version>
 		<quartz.version>2.3.1</quartz.version>
 
+		<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
+		<maven-javadoc-plugin.version>3.1.0</maven-javadoc-plugin.version>
+		<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
+		<maven-war-plugin.version>3.2.2</maven-war-plugin.version>
 	</properties>
 
 	<build>
@@ -82,7 +86,7 @@
 					<plugin>
 						<groupId>org.apache.maven.plugins</groupId>
 						<artifactId>maven-source-plugin</artifactId>
-						<version>3.0.1</version>
+						<version>${maven-source-plugin.version}</version>
 						<executions>
 							<execution>
 								<phase>package</phase>
@@ -96,7 +100,7 @@
 					<plugin>
 						<groupId>org.apache.maven.plugins</groupId>
 						<artifactId>maven-javadoc-plugin</artifactId>
-						<version>3.0.0</version>
+						<version>${maven-javadoc-plugin.version}</version>
 						<executions>
 							<execution>
 								<phase>package</phase>
@@ -110,7 +114,7 @@
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-gpg-plugin</artifactId>
-                        <version>1.6</version>
+                        <version>${maven-gpg-plugin.version}</version>
 						<configuration>
 							<useAgent>false</useAgent>
 						</configuration>

+ 1 - 1
xxl-job-executor-samples/xxl-job-executor-sample-spring/pom.xml

@@ -41,7 +41,7 @@
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-war-plugin</artifactId>
-				<version>2.6</version>
+				<version>${maven-war-plugin.version}</version>
 				<configuration>
 					<archiveClasses>false</archiveClasses>
 				</configuration>