Browse Source

POM依赖整理

xueli.xue 9 years ago
parent
commit
70a12160b2
4 changed files with 18 additions and 94 deletions
  1. 17 0
      pom.xml
  2. 0 35
      xxl-job-admin/pom.xml
  3. 1 25
      xxl-job-core/pom.xml
  4. 0 34
      xxl-job-executor-example/pom.xml

+ 17 - 0
pom.xml View File

14
 
14
 
15
 	<properties>
15
 	<properties>
16
 		<xxl-job.version>1.4.0</xxl-job.version>
16
 		<xxl-job.version>1.4.0</xxl-job.version>
17
+		<spring.version>3.2.14.RELEASE</spring.version>
17
 	</properties>
18
 	</properties>
18
 
19
 
19
 	<build>
20
 	<build>
28
 					<encoding>UTF8</encoding>
29
 					<encoding>UTF8</encoding>
29
 				</configuration>
30
 				</configuration>
30
 			</plugin>
31
 			</plugin>
32
+			<plugin>
33
+				<groupId>org.apache.maven.plugins</groupId>
34
+				<artifactId>maven-war-plugin</artifactId>
35
+				<version>2.2</version>
36
+				<configuration>
37
+					<archiveClasses>false</archiveClasses>
38
+				</configuration>
39
+			</plugin>
40
+			<plugin>
41
+				<groupId>org.apache.maven.plugins</groupId>
42
+				<artifactId>maven-surefire-plugin</artifactId>
43
+				<version>2.19.1</version>
44
+				<configuration>
45
+					<skip>true</skip>
46
+				</configuration>
47
+			</plugin>
31
 		</plugins>
48
 		</plugins>
32
 	</build>
49
 	</build>
33
 
50
 

+ 0 - 35
xxl-job-admin/pom.xml View File

10
 	<version>${xxl-job.version}</version>
10
 	<version>${xxl-job.version}</version>
11
 	<packaging>war</packaging>
11
 	<packaging>war</packaging>
12
 
12
 
13
-	<properties>
14
-		<spring.version>3.2.14.RELEASE</spring.version>
15
-	</properties>
16
-
17
 	<dependencies>
13
 	<dependencies>
18
 		<!-- springframe start -->
14
 		<!-- springframe start -->
19
 		<dependency>
15
 		<dependency>
153
 
149
 
154
 	</dependencies>
150
 	</dependencies>
155
 
151
 
156
-	<build>
157
-		<plugins>
158
-			<plugin>
159
-				<groupId>org.apache.maven.plugins</groupId>
160
-				<artifactId>maven-compiler-plugin</artifactId>
161
-				<version>3.1</version>
162
-				<configuration>
163
-					<source>1.6</source>
164
-					<target>1.6</target>
165
-					<encoding>UTF8</encoding>
166
-				</configuration>
167
-			</plugin>
168
-			<plugin>
169
-				<groupId>org.apache.maven.plugins</groupId>
170
-				<artifactId>maven-war-plugin</artifactId>
171
-				<version>2.2</version>
172
-				<configuration>
173
-					<archiveClasses>false</archiveClasses>
174
-				</configuration>
175
-			</plugin>
176
-			<plugin>
177
-				<groupId>org.apache.maven.plugins</groupId>
178
-				<artifactId>maven-surefire-plugin</artifactId>
179
-				<version>2.19.1</version>
180
-				<configuration>
181
-					<skip>true</skip>
182
-				</configuration>
183
-			</plugin>
184
-		</plugins>
185
-	</build>
186
-
187
 </project>
152
 </project>

+ 1 - 25
xxl-job-core/pom.xml View File

10
 	<version>${xxl-job.version}</version>
10
 	<version>${xxl-job.version}</version>
11
 
11
 
12
 	<dependencies>
12
 	<dependencies>
13
-
14
 		<!-- servlet -->
13
 		<!-- servlet -->
15
 		<dependency>
14
 		<dependency>
16
 			<groupId>javax.servlet</groupId>
15
 			<groupId>javax.servlet</groupId>
57
 		<dependency>
56
 		<dependency>
58
 			<groupId>org.springframework</groupId>
57
 			<groupId>org.springframework</groupId>
59
 			<artifactId>spring-context</artifactId>
58
 			<artifactId>spring-context</artifactId>
60
-			<version>3.2.14.RELEASE</version>
59
+			<version>${spring.version}</version>
61
 			<scope>compile</scope>
60
 			<scope>compile</scope>
62
 		</dependency>
61
 		</dependency>
63
 		
62
 		
70
 
69
 
71
 	</dependencies>
70
 	</dependencies>
72
 
71
 
73
-	<build>
74
-		<plugins>
75
-			<plugin>
76
-				<groupId>org.apache.maven.plugins</groupId>
77
-				<artifactId>maven-compiler-plugin</artifactId>
78
-				<version>3.1</version>
79
-				<configuration>
80
-					<source>1.6</source>
81
-					<target>1.6</target>
82
-					<encoding>UTF8</encoding>
83
-				</configuration>
84
-			</plugin>
85
-			<plugin>
86
-				<groupId>org.apache.maven.plugins</groupId>
87
-				<artifactId>maven-surefire-plugin</artifactId>
88
-				<version>2.19.1</version>
89
-				<configuration>
90
-					<skip>true</skip>
91
-				</configuration>
92
-			</plugin>
93
-		</plugins>
94
-	</build>
95
-
96
 </project>
72
 </project>

+ 0 - 34
xxl-job-executor-example/pom.xml View File

10
 	<version>${xxl-job.version}</version>
10
 	<version>${xxl-job.version}</version>
11
 	<packaging>war</packaging>
11
 	<packaging>war</packaging>
12
 
12
 
13
-	<properties>
14
-		<spring.version>3.2.14.RELEASE</spring.version>
15
-	</properties>
16
 
13
 
17
 	<dependencies>
14
 	<dependencies>
18
 		<!-- springframe start -->
15
 		<!-- springframe start -->
84
 		
81
 		
85
 	</dependencies>
82
 	</dependencies>
86
 
83
 
87
-	<build>
88
-		<plugins>
89
-			<plugin>
90
-				<groupId>org.apache.maven.plugins</groupId>
91
-				<artifactId>maven-compiler-plugin</artifactId>
92
-				<version>3.1</version>
93
-				<configuration>
94
-					<source>1.6</source>
95
-					<target>1.6</target>
96
-					<encoding>UTF8</encoding>
97
-				</configuration>
98
-			</plugin>
99
-			<plugin>
100
-				<groupId>org.apache.maven.plugins</groupId>
101
-				<artifactId>maven-war-plugin</artifactId>
102
-				<version>2.2</version>
103
-				<configuration>
104
-					<archiveClasses>false</archiveClasses>
105
-				</configuration>
106
-			</plugin>
107
-			<plugin>
108
-				<groupId>org.apache.maven.plugins</groupId>
109
-				<artifactId>maven-surefire-plugin</artifactId>
110
-				<version>2.19.1</version>
111
-				<configuration>
112
-					<skip>true</skip>
113
-				</configuration>
114
-			</plugin>
115
-		</plugins>
116
-	</build>
117
-
118
 </project>
84
 </project>