Authored by chunhua

remove

1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">  
3 - <modelVersion>4.0.0</modelVersion>  
4 - <groupId>com.yoho</groupId>  
5 - <artifactId>parent</artifactId>  
6 - <packaging>pom</packaging>  
7 - <version>1.0.0-SNAPSHOT</version>  
8 - <name>parent</name>  
9 - <url>http://maven.apache.org</url>  
10 - <properties>  
11 - <java.version>1.8</java.version>  
12 - <java.encoding>UTF-8</java.encoding>  
13 - <!-- spring版本号 -->  
14 - <spring.version>4.2.2.RELEASE</spring.version>  
15 - <!-- mybatis版本号 -->  
16 - <mybatis.version>3.2.6</mybatis.version>  
17 - <!-- log4j日志文件管理包版本 -->  
18 - <slf4j.version>1.7.7</slf4j.version>  
19 - <logback.version>1.0.13</logback.version>  
20 - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  
21 - <yoho.version>1.0.0-SNAPSHOT</yoho.version>  
22 - </properties>  
23 - <dependencyManagement>  
24 - <dependencies>  
25 - <!-- yoho 公共包 -->  
26 - <dependency>  
27 - <groupId>com.yoho.common</groupId>  
28 - <artifactId>error-code</artifactId>  
29 - <version>${yoho.version}</version>  
30 - </dependency>  
31 - <dependency>  
32 - <groupId>com.yoho.core</groupId>  
33 - <artifactId>yoho-core-common</artifactId>  
34 - <version>${yoho.version}</version>  
35 - </dependency>  
36 -  
37 -  
38 - <dependency>  
39 - <groupId>com.yoho.core</groupId>  
40 - <artifactId>yoho-core-dal</artifactId>  
41 - <version>${yoho.version}</version>  
42 - </dependency>  
43 -  
44 - <dependency>  
45 - <groupId>com.yoho.core</groupId>  
46 - <artifactId>yoho-core-rest</artifactId>  
47 - <version>${yoho.version}</version>  
48 - </dependency>  
49 -  
50 - <dependency>  
51 - <groupId>com.yoho.core</groupId>  
52 - <artifactId>yoho-core-message</artifactId>  
53 - <version>${yoho.version}</version>  
54 - </dependency>  
55 -  
56 -  
57 - <dependency>  
58 - <groupId>org.aspectj</groupId>  
59 - <artifactId>aspectjweaver</artifactId>  
60 - <version>1.8.7</version>  
61 - </dependency>  
62 -  
63 -  
64 -  
65 -  
66 - <dependency>  
67 - <groupId>javax</groupId>  
68 - <artifactId>javaee-api</artifactId>  
69 - <version>7.0</version>  
70 - <scope>provided</scope>  
71 - </dependency>  
72 - <dependency>  
73 - <groupId>junit</groupId>  
74 - <artifactId>junit</artifactId>  
75 - <version>4.11</version>  
76 - <scope>test</scope>  
77 - </dependency>  
78 - <!-- swagger -->  
79 - <dependency>  
80 - <groupId>com.mangofactory</groupId>  
81 - <artifactId>swagger-springmvc</artifactId>  
82 - <version>1.0.2</version>  
83 - </dependency>  
84 - <!-- servlet -->  
85 - <dependency>  
86 - <groupId>javax.servlet</groupId>  
87 - <artifactId>servlet-api</artifactId>  
88 - <version>3.0-alpha-1</version>  
89 - <scope>provided</scope>  
90 - </dependency>  
91 - <!-- spring核心包 -->  
92 - <dependency>  
93 - <groupId>org.springframework</groupId>  
94 - <artifactId>spring-core</artifactId>  
95 - <version>${spring.version}</version>  
96 - </dependency>  
97 - <dependency>  
98 - <groupId>org.springframework</groupId>  
99 - <artifactId>spring-beans</artifactId>  
100 - <version>${spring.version}</version>  
101 - </dependency>  
102 - <dependency>  
103 - <groupId>org.springframework</groupId>  
104 - <artifactId>spring-context</artifactId>  
105 - <version>${spring.version}</version>  
106 - </dependency>  
107 - <dependency>  
108 - <groupId>org.springframework</groupId>  
109 - <artifactId>spring-web</artifactId>  
110 - <version>${spring.version}</version>  
111 - </dependency>  
112 - <dependency>  
113 - <groupId>org.springframework</groupId>  
114 - <artifactId>spring-oxm</artifactId>  
115 - <version>${spring.version}</version>  
116 - </dependency>  
117 - <dependency>  
118 - <groupId>org.springframework</groupId>  
119 - <artifactId>spring-tx</artifactId>  
120 - <version>${spring.version}</version>  
121 - </dependency>  
122 - <dependency>  
123 - <groupId>org.springframework</groupId>  
124 - <artifactId>spring-jdbc</artifactId>  
125 - <version>${spring.version}</version>  
126 - </dependency>  
127 - <dependency>  
128 - <groupId>org.springframework</groupId>  
129 - <artifactId>spring-webmvc</artifactId>  
130 - <version>${spring.version}</version>  
131 - </dependency>  
132 - <dependency>  
133 - <groupId>org.springframework</groupId>  
134 - <artifactId>spring-aop</artifactId>  
135 - <version>${spring.version}</version>  
136 - </dependency>  
137 - <dependency>  
138 - <groupId>org.springframework</groupId>  
139 - <artifactId>spring-context-support</artifactId>  
140 - <version>${spring.version}</version>  
141 - </dependency>  
142 - <dependency>  
143 - <groupId>org.springframework</groupId>  
144 - <artifactId>spring-test</artifactId>  
145 - <version>${spring.version}</version>  
146 - </dependency>  
147 - <dependency>  
148 - <groupId>org.springframework.amqp</groupId>  
149 - <artifactId>spring-rabbit</artifactId>  
150 - <version>1.5.1.RELEASE</version>  
151 - </dependency>  
152 - <!-- mybatis核心包 -->  
153 - <dependency>  
154 - <groupId>org.mybatis</groupId>  
155 - <artifactId>mybatis</artifactId>  
156 - <version>${mybatis.version}</version>  
157 - </dependency>  
158 - <!-- mybatis/spring包 -->  
159 - <dependency>  
160 - <groupId>org.mybatis</groupId>  
161 - <artifactId>mybatis-spring</artifactId>  
162 - <version>1.2.2</version>  
163 - </dependency>  
164 - <!-- 导入Mysql数据库链接jar包 -->  
165 - <dependency>  
166 - <groupId>mysql</groupId>  
167 - <artifactId>mysql-connector-java</artifactId>  
168 - <version>5.1.30</version>  
169 - </dependency>  
170 - <!-- 导入dbcp的jar包,用来在applicationContext.xml中配置数据库 -->  
171 - <dependency>  
172 - <groupId>commons-dbcp</groupId>  
173 - <artifactId>commons-dbcp</artifactId>  
174 - <version>1.4</version>  
175 - </dependency>  
176 - <dependency>  
177 - <groupId>org.apache.httpcomponents</groupId>  
178 - <artifactId>httpclient</artifactId>  
179 - <version>4.5.1</version>  
180 - </dependency>  
181 - <dependency>  
182 - <groupId>com.google.guava</groupId>  
183 - <artifactId>guava</artifactId>  
184 - <version>18.0</version>  
185 - </dependency>  
186 -  
187 - <!-- spring memcached-->  
188 - <dependency>  
189 - <groupId>net.spy</groupId>  
190 - <artifactId>spymemcached</artifactId>  
191 - <version>2.12.0</version>  
192 - <exclusions>  
193 - <exclusion>  
194 - <groupId>org.springframework</groupId>  
195 - <artifactId>spring-beans</artifactId>  
196 - </exclusion>  
197 - <exclusion>  
198 - <groupId>org.springframework</groupId>  
199 - <artifactId>spring-aop</artifactId>  
200 - </exclusion>  
201 - <exclusion>  
202 - <groupId>org.springframework</groupId>  
203 - <artifactId>spring-context</artifactId>  
204 - </exclusion>  
205 - <exclusion>  
206 - <groupId>org.springframework</groupId>  
207 - <artifactId>spring-core</artifactId>  
208 - </exclusion>  
209 - </exclusions>  
210 - </dependency>  
211 -  
212 - <dependency>  
213 - <groupId>com.google.code.simple-spring-memcached</groupId>  
214 - <artifactId>spring-cache</artifactId>  
215 - <version>3.6.0</version>  
216 - <exclusions>  
217 - <exclusion>  
218 - <groupId>org.springframework</groupId>  
219 - <artifactId>spring-beans</artifactId>  
220 - </exclusion>  
221 - <exclusion>  
222 - <groupId>org.springframework</groupId>  
223 - <artifactId>spring-aop</artifactId>  
224 - </exclusion>  
225 - <exclusion>  
226 - <groupId>org.springframework</groupId>  
227 - <artifactId>spring-context</artifactId>  
228 - </exclusion>  
229 - <exclusion>  
230 - <groupId>org.springframework</groupId>  
231 - <artifactId>spring-core</artifactId>  
232 - </exclusion>  
233 - </exclusions>  
234 - </dependency>  
235 -  
236 -  
237 - <dependency>  
238 - <groupId>com.google.code.simple-spring-memcached</groupId>  
239 - <artifactId>spymemcached-provider</artifactId>  
240 - <version>3.6.0</version>  
241 - </dependency>  
242 -  
243 - <!-- 读取yml -->  
244 - <dependency>  
245 - <groupId>org.yaml</groupId>  
246 - <artifactId>snakeyaml</artifactId>  
247 - <version>1.14</version>  
248 - </dependency>  
249 - <!-- 日志文件管理包 -->  
250 - <!-- 格式化对象,方便输出日志 -->  
251 - <dependency>  
252 - <groupId>org.slf4j</groupId>  
253 - <artifactId>slf4j-api</artifactId>  
254 - <version>${slf4j.version}</version>  
255 - </dependency>  
256 - <dependency>  
257 - <groupId>org.slf4j</groupId>  
258 - <artifactId>jcl-over-slf4j</artifactId>  
259 - <version>${slf4j.version}</version>  
260 - </dependency>  
261 - <dependency>  
262 - <groupId>ch.qos.logback</groupId>  
263 - <artifactId>logback-classic</artifactId>  
264 - <version>${logback.version}</version>  
265 - </dependency>  
266 - <!-- 映入JSON -->  
267 - <dependency>  
268 - <groupId>com.alibaba</groupId>  
269 - <artifactId>fastjson</artifactId>  
270 - <version>1.1.41</version>  
271 - </dependency>  
272 - <!-- zookeeper相关包 -->  
273 - <dependency>  
274 - <groupId>org.apache.zookeeper</groupId>  
275 - <artifactId>zookeeper</artifactId>  
276 - <version>3.4.6</version>  
277 - <exclusions>  
278 - <exclusion>  
279 - <groupId>log4j</groupId>  
280 - <artifactId>log4j</artifactId>  
281 - </exclusion>  
282 - <exclusion>  
283 - <groupId>org.slf4j</groupId>  
284 - <artifactId>slf4j-log4j12</artifactId>  
285 - </exclusion>  
286 - </exclusions>  
287 - </dependency>  
288 - <dependency>  
289 - <groupId>org.apache.curator</groupId>  
290 - <artifactId>curator-framework</artifactId>  
291 - <version>2.7.1</version>  
292 - </dependency>  
293 - <dependency>  
294 - <groupId>org.apache.curator</groupId>  
295 - <artifactId>curator-recipes</artifactId>  
296 - <version>2.7.1</version>  
297 - </dependency>  
298 - <!-- 工具包 -->  
299 - <dependency>  
300 - <groupId>commons-lang</groupId>  
301 - <artifactId>commons-lang</artifactId>  
302 - <version>2.6</version>  
303 - </dependency>  
304 - <dependency>  
305 - <groupId>org.apache.commons</groupId>  
306 - <artifactId>commons-lang3</artifactId>  
307 - <version>3.1</version>  
308 - </dependency>  
309 - <dependency>  
310 - <groupId>commons-collections</groupId>  
311 - <artifactId>commons-collections</artifactId>  
312 - <version>3.2.1</version>  
313 - </dependency>  
314 - <dependency>  
315 - <groupId>commons-io</groupId>  
316 - <artifactId>commons-io</artifactId>  
317 - <version>2.2</version>  
318 - </dependency>  
319 - <dependency>  
320 - <groupId>commons-codec</groupId>  
321 - <artifactId>commons-codec</artifactId>  
322 - <version>1.10</version>  
323 - </dependency>  
324 - <dependency>  
325 - <groupId>com.fasterxml.jackson.core</groupId>  
326 - <artifactId>jackson-databind</artifactId>  
327 - <version>2.6.3</version>  
328 - </dependency>  
329 - <dependency>  
330 - <groupId>com.fasterxml.jackson.core</groupId>  
331 - <artifactId>jackson-core</artifactId>  
332 - <version>2.6.3</version>  
333 - </dependency>  
334 - <dependency>  
335 - <groupId>javax.servlet</groupId>  
336 - <artifactId>javax.servlet-api</artifactId>  
337 - <version>3.1.0</version>  
338 - <scope>provided</scope>  
339 - </dependency>  
340 - </dependencies>  
341 - </dependencyManagement>  
342 - <reporting>  
343 - <plugins>  
344 - <plugin>  
345 - <groupId>org.apache.maven.plugins</groupId>  
346 - <artifactId>maven-project-info-reports-plugin</artifactId>  
347 - <version>2.4</version>  
348 - </plugin>  
349 - </plugins>  
350 - </reporting>  
351 - <distributionManagement>  
352 - <repository>  
353 - <id>releases</id>  
354 - <name>Internal Releases</name>  
355 - <url>http://192.168.102.168:18081/nexus/content/repositories/releases</url>  
356 - </repository>  
357 - <snapshotRepository>  
358 - <id>snapshots</id>  
359 - <name>Internal snapshots</name>  
360 - <url>http://192.168.102.168:18081/nexus/content/repositories/snapshots</url>  
361 - </snapshotRepository>  
362 - </distributionManagement>  
363 - <build>  
364 - <plugins>  
365 - <plugin>  
366 - <groupId>org.apache.maven.plugins</groupId>  
367 - <artifactId>maven-compiler-plugin</artifactId>  
368 - <configuration>  
369 - <source>${java.version}</source>  
370 - <target>${java.version}</target>  
371 - <encoding>${java.encoding}</encoding>  
372 - </configuration>  
373 - </plugin>  
374 - <!-- resource插件, 设定编码 -->  
375 - <plugin>  
376 - <groupId>org.apache.maven.plugins</groupId>  
377 - <artifactId>maven-resources-plugin</artifactId>  
378 - <version>2.6</version>  
379 - <configuration>  
380 - <encoding>${project.build.sourceEncoding}</encoding>  
381 - </configuration>  
382 - </plugin>  
383 - <plugin>  
384 - <groupId>org.apache.maven.plugins</groupId>  
385 - <artifactId>maven-surefire-plugin</artifactId>  
386 - <configuration>  
387 - <includes>  
388 - <include>**/*Tests.java</include>  
389 - </includes>  
390 - <argLine>-Xmx256m</argLine>  
391 - </configuration>  
392 - </plugin>  
393 - <plugin>  
394 - <groupId>org.apache.maven.plugins</groupId>  
395 - <artifactId>maven-source-plugin</artifactId>  
396 - </plugin>  
397 - <!-- clean插件-->  
398 - <plugin>  
399 - <groupId>org.apache.maven.plugins</groupId>  
400 - <artifactId>maven-clean-plugin</artifactId>  
401 - </plugin>  
402 - <!-- install插件-->  
403 - <plugin>  
404 - <groupId>org.apache.maven.plugins</groupId>  
405 - <artifactId>maven-install-plugin</artifactId>  
406 - </plugin>  
407 - <!-- deploy插件-->  
408 - <plugin>  
409 - <groupId>org.apache.maven.plugins</groupId>  
410 - <artifactId>maven-deploy-plugin</artifactId>  
411 - </plugin>  
412 - </plugins>  
413 - <pluginManagement>  
414 - <plugins>  
415 - <!-- jetty -->  
416 - <plugin>  
417 - <groupId>org.mortbay.jetty</groupId>  
418 - <artifactId>jetty-maven-plugin</artifactId>  
419 - <version>8.1.16.v20140903</version>  
420 - </plugin>  
421 - <!-- compiler插件, 设定JDK版本 -->  
422 - <plugin>  
423 - <groupId>org.apache.maven.plugins</groupId>  
424 - <artifactId>maven-compiler-plugin</artifactId>  
425 - <version>3.3</version>  
426 - <configuration>  
427 - <source>1.8</source>  
428 - <target>1.8</target>  
429 - <showWarnings>true</showWarnings>  
430 - </configuration>  
431 - </plugin>  
432 - <!-- test插件 -->  
433 - <plugin>  
434 - <groupId>org.apache.maven.plugins</groupId>  
435 - <artifactId>maven-surefire-plugin</artifactId>  
436 - <version>2.8</version>  
437 - <configuration>  
438 - <includes>  
439 - <include>**/*Test.java</include>  
440 - </includes>  
441 - </configuration>  
442 - </plugin>  
443 - <!-- cobertura插件 -->  
444 - <plugin>  
445 - <groupId>org.codehaus.mojo</groupId>  
446 - <artifactId>cobertura-maven-plugin</artifactId>  
447 - <version>2.4</version>  
448 - </plugin>  
449 - <!-- war插件-->  
450 - <plugin>  
451 - <groupId>org.apache.maven.plugins</groupId>  
452 - <artifactId>maven-war-plugin</artifactId>  
453 - <version>2.4</version>  
454 - <configuration>  
455 - <warName>${project.artifactId}</warName>  
456 - <archive>  
457 - <addMavenDescriptor>false</addMavenDescriptor>  
458 - </archive>  
459 - </configuration>  
460 - </plugin>  
461 - <!-- resource插件, 设定编码 -->  
462 - <plugin>  
463 - <groupId>org.apache.maven.plugins</groupId>  
464 - <artifactId>maven-resources-plugin</artifactId>  
465 - <version>2.6</version>  
466 - <configuration>  
467 - <encoding>${project.build.sourceEncoding}</encoding>  
468 - </configuration>  
469 - </plugin>  
470 - <!-- jar插件 -->  
471 - <plugin>  
472 - <groupId>org.apache.maven.plugins</groupId>  
473 - <artifactId>maven-jar-plugin</artifactId>  
474 - <version>2.6</version>  
475 - <configuration>  
476 - <archive>  
477 - <manifest>  
478 - <addDefaultImplementationEntries>true</addDefaultImplementationEntries>  
479 - <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>  
480 - </manifest>  
481 - </archive>  
482 - </configuration>  
483 - </plugin>  
484 - <plugin>  
485 - <groupId>org.apache.maven.plugins</groupId>  
486 - <artifactId>maven-source-plugin</artifactId>  
487 - <version>2.4</version>  
488 - </plugin>  
489 - <!-- clean插件-->  
490 - <plugin>  
491 - <groupId>org.apache.maven.plugins</groupId>  
492 - <artifactId>maven-clean-plugin</artifactId>  
493 - <version>2.5</version>  
494 - </plugin>  
495 - <!-- install插件-->  
496 - <plugin>  
497 - <groupId>org.apache.maven.plugins</groupId>  
498 - <artifactId>maven-install-plugin</artifactId>  
499 - <version>2.5</version>  
500 - </plugin>  
501 - <!-- deploy插件-->  
502 - <plugin>  
503 - <groupId>org.apache.maven.plugins</groupId>  
504 - <artifactId>maven-deploy-plugin</artifactId>  
505 - <version>2.8</version>  
506 - </plugin>  
507 - <!-- eclipse插件 -->  
508 - <plugin>  
509 - <groupId>org.apache.maven.plugins</groupId>  
510 - <artifactId>maven-eclipse-plugin</artifactId>  
511 - <version>2.10</version>  
512 - <configuration>  
513 - <sourceExcludes>  
514 - <sourceExclude>**/.svn/</sourceExclude>  
515 - </sourceExcludes>  
516 - <downloadSources>true</downloadSources>  
517 - </configuration>  
518 - </plugin>  
519 - <!-- jetty插件 -->  
520 - <plugin>  
521 - <groupId>org.mortbay.jetty</groupId>  
522 - <artifactId>maven-jetty-plugin</artifactId>  
523 - <version>6.1.25</version>  
524 - <configuration>  
525 - <reload>manual</reload>  
526 - </configuration>  
527 - </plugin>  
528 - <!-- dependency插件 -->  
529 - <plugin>  
530 - <groupId>org.apache.maven.plugins</groupId>  
531 - <artifactId>maven-dependency-plugin</artifactId>  
532 - <version>2.8</version>  
533 - </plugin>  
534 - <!-- ant插件 -->  
535 - <plugin>  
536 - <groupId>org.apache.maven.plugins</groupId>  
537 - <artifactId>maven-antrun-plugin</artifactId>  
538 - <version>1.7</version>  
539 - </plugin>  
540 - <!-- assembly plugin -->  
541 - <plugin>  
542 - <groupId>org.apache.maven.plugins</groupId>  
543 - <artifactId>maven-assembly-plugin</artifactId>  
544 - <version>2.2-beta-5</version>  
545 - </plugin>  
546 - </plugins>  
547 - </pluginManagement>  
548 - </build>  
549 -</project>