blob: ca4b87fc32e8b265e034c9948168c69948a4bdd2 [file] [log] [blame]
lu.fan15274602016-07-14 10:00:28 +08001<?xml version="1.0" encoding="UTF-8" standalone="no"?><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">
2 <modelVersion>4.0.0</modelVersion>
3
4 <groupId>com.supwisdom.platform.biz.sample</groupId>
5 <artifactId>platform-biz-sample</artifactId>
6 <packaging>pom</packaging>
7 <version>3.0.0</version>
8 <name>Platform Biz Sample</name>
9 <url>http://maven.apache.org</url>
10
11 <properties>
12 <springframework-version>4.1.2.RELEASE</springframework-version>
13 <springsecurity-version>3.2.5.RELEASE</springsecurity-version>
14 <springsecurityoauth2-version>2.0.10.RELEASE</springsecurityoauth2-version>
15 <springdataredis-version>1.7.1.RELEASE</springdataredis-version>
16 <jedis-version>2.8.1</jedis-version>
17 <slf4j-version>1.7.6</slf4j-version>
18 <log4j-version>1.2.17</log4j-version>
19 <mybatis-version>3.2.8</mybatis-version>
20 <mybatis-spring-version>1.2.2</mybatis-spring-version>
21 <mybatis-ehcache-version>1.0.0</mybatis-ehcache-version>
22 <ehcache-version>2.6.8</ehcache-version>
23 <json-version>2.3.2</json-version>
24 <aspectj-version>1.7.4</aspectj-version>
25 <snaker-version>2.5.1</snaker-version>
26
27 <repoAddress>http://app.supwisdom.com:81/artifactory</repoAddress>
28
29 <downloadSources>true</downloadSources>
30 <downloadJavadocs>true</downloadJavadocs>
31 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32 </properties>
33
34 <modules>
35 <module>module</module>
36 <module>web</module>
37 </modules>
38
39 <repositories>
40 <repository>
41 <id>artifactory</id>
42 <name>Artifactory Repository</name>
43 <url>${repoAddress}/repo</url>
44 </repository>
45 </repositories>
46
47 <pluginRepositories>
48 <pluginRepository>
49 <id>artifactory</id>
50 <name>Artifactory Repository</name>
51 <url>${repoAddress}/repo</url>
52 </pluginRepository>
53 </pluginRepositories>
54
55 <dependencyManagement>
56 <dependencies>
57 <!-- Modules Start -->
58 <dependency>
59 <groupId>com.supwisdom.platform.biz</groupId>
60 <artifactId>platform-core</artifactId>
61 <type>pom</type>
62 <version>${project.version}</version>
63 </dependency>
64 <!-- 业务无关API -->
65 <dependency>
66 <groupId>com.supwisdom.platform.biz</groupId>
67 <artifactId>platform-core-common</artifactId>
68 <version>${project.version}</version>
69 </dependency>
70 <!-- 系统框架 -->
71 <dependency>
72 <groupId>com.supwisdom.platform.biz</groupId>
73 <artifactId>platform-core-framework</artifactId>
74 <version>${project.version}</version>
75 </dependency>
76 <!-- 模块包 -->
77 <dependency>
78 <groupId>com.supwisdom.platform.biz</groupId>
79 <artifactId>platform-module</artifactId>
80 <type>pom</type>
81 <version>${project.version}</version>
82 </dependency>
83 <!-- 实体模块 -->
84 <dependency>
85 <groupId>com.supwisdom.platform.biz</groupId>
86 <artifactId>platform-module-domain</artifactId>
87 <version>${project.version}</version>
88 </dependency>
89 <!-- 抽象模块 -->
90 <dependency>
91 <groupId>com.supwisdom.platform.biz</groupId>
92 <artifactId>platform-module-interface</artifactId>
93 <version>${project.version}</version>
94 </dependency>
95 <!-- 公共模块 -->
96 <dependency>
97 <groupId>com.supwisdom.platform.biz</groupId>
98 <artifactId>platform-module-log</artifactId>
99 <version>${project.version}</version>
100 </dependency>
101 <!-- 资源模块 -->
102 <dependency>
103 <groupId>com.supwisdom.platform.biz</groupId>
104 <artifactId>platform-module-resources</artifactId>
105 <version>${project.version}</version>
106 </dependency>
107 <!-- 安全模块 -->
108 <dependency>
109 <groupId>com.supwisdom.platform.biz</groupId>
110 <artifactId>platform-module-security</artifactId>
111 <version>${project.version}</version>
112 </dependency>
113 <dependency>
114 <groupId>com.supwisdom.platform.biz</groupId>
115 <artifactId>platform-module-security-ext</artifactId>
116 <version>${project.version}</version>
117 </dependency>
118 <!-- 第三方模块 -->
119 <dependency>
120 <groupId>com.supwisdom.platform.biz</groupId>
121 <artifactId>platform-module-third</artifactId>
122 <version>${project.version}</version>
123 </dependency>
124 <!-- 工作流模块 -->
125 <dependency>
126 <groupId>com.supwisdom.platform.biz</groupId>
127 <artifactId>platform-module-workflow</artifactId>
128 <version>${project.version}</version>
129 </dependency>
130
131 <dependency>
132 <groupId>com.supwisdom.platform.biz.sample</groupId>
133 <artifactId>platform-biz-sample-module</artifactId>
134 <type>pom</type>
135 <version>${project.version}</version>
136 </dependency>
137 <dependency>
138 <groupId>com.supwisdom.platform.biz.sample</groupId>
139 <artifactId>platform-biz-sample-module-notes</artifactId>
140 <version>${project.version}</version>
141 </dependency>
142 <!-- Modules End -->
143
144 <!-- Other Start -->
145 <!-- 单元测试环境 -->
146 <dependency>
147 <groupId>junit</groupId>
148 <artifactId>junit</artifactId>
149 <version>4.11</version>
150 <scope>test</scope>
151 </dependency>
152 <dependency>
153 <groupId>org.assertj</groupId>
154 <artifactId>assertj-core</artifactId>
155 <version>1.7.0</version>
156 <scope>test</scope>
157 </dependency>
158 <dependency>
159 <groupId>org.springframework</groupId>
160 <artifactId>spring-test</artifactId>
161 <version>${springframework-version}</version>
162 <scope>test</scope>
163 </dependency>
164
165 <!-- spring 相关 -->
166 <dependency>
167 <groupId>org.springframework</groupId>
168 <artifactId>spring-web</artifactId>
169 <version>${springframework-version}</version>
170 <exclusions>
171 <exclusion>
172 <groupId>commons-logging</groupId>
173 <artifactId>commons-logging</artifactId>
174 </exclusion>
175 </exclusions>
176 </dependency>
177 <dependency>
178 <groupId>org.springframework</groupId>
179 <artifactId>spring-webmvc</artifactId>
180 <version>${springframework-version}</version>
181 </dependency>
182 <dependency>
183 <groupId>org.springframework</groupId>
184 <artifactId>spring-context-support</artifactId>
185 <version>${springframework-version}</version>
186 </dependency>
187 <dependency>
188 <groupId>org.springframework</groupId>
189 <artifactId>spring-jdbc</artifactId>
190 <version>${springframework-version}</version>
191 </dependency>
192 <dependency>
193 <groupId>org.springframework</groupId>
194 <artifactId>spring-orm</artifactId>
195 <version>${springframework-version}</version>
196 </dependency>
197 <dependency>
198 <groupId>org.springframework</groupId>
199 <artifactId>spring-aop</artifactId>
200 <version>${springframework-version}</version>
201 </dependency>
202 <dependency>
203 <groupId>org.springframework.data</groupId>
204 <artifactId>spring-data-commons</artifactId>
205 <version>1.7.0.RELEASE</version>
206 </dependency>
207 <dependency>
208 <groupId>org.springframework.security</groupId>
209 <artifactId>spring-security-web</artifactId>
210 <version>${springsecurity-version}</version>
211 </dependency>
212 <dependency>
213 <groupId>org.springframework.security</groupId>
214 <artifactId>spring-security-taglibs</artifactId>
215 <version>${springsecurity-version}</version>
216 </dependency>
217 <dependency>
218 <groupId>org.springframework.security</groupId>
219 <artifactId>spring-security-config</artifactId>
220 <version>${springsecurity-version}</version>
221 </dependency>
222 <dependency>
223 <groupId>org.springframework.security</groupId>
224 <artifactId>spring-security-cas</artifactId>
225 <version>${springsecurity-version}</version>
226 <exclusions>
227 <exclusion>
228 <groupId>org.slf4j</groupId>
229 <artifactId>log4j-over-slf4j</artifactId>
230 </exclusion>
231 </exclusions>
232 </dependency>
233
234 <dependency>
235 <groupId>org.springframework.security.oauth</groupId>
236 <artifactId>spring-security-oauth2</artifactId>
237 <version>${springsecurityoauth2-version}</version>
238 </dependency>
239 <dependency>
240 <groupId>org.springframework.data</groupId>
241 <artifactId>spring-data-redis</artifactId>
242 <version>${springdataredis-version}</version>
243 </dependency>
244 <dependency>
245 <groupId>redis.clients</groupId>
246 <artifactId>jedis</artifactId>
247 <version>${jedis-version}</version>
248 </dependency>
249
250 <dependency>
251 <groupId>org.quartz-scheduler</groupId>
252 <artifactId>quartz</artifactId>
253 <version>2.2.1</version>
254 </dependency>
255 <!-- Aspectj -->
256 <dependency>
257 <groupId>org.aspectj</groupId>
258 <artifactId>aspectjrt</artifactId>
259 <version>${aspectj-version}</version>
260 </dependency>
261 <dependency>
262 <groupId>org.aspectj</groupId>
263 <artifactId>aspectjweaver</artifactId>
264 <version>${aspectj-version}</version>
265 </dependency>
266
267 <!-- Logging -->
268 <dependency>
269 <groupId>org.slf4j</groupId>
270 <artifactId>jcl-over-slf4j</artifactId>
271 <version>${slf4j-version}</version>
272 </dependency>
273 <dependency>
274 <groupId>org.slf4j</groupId>
275 <artifactId>slf4j-api</artifactId>
276 <version>${slf4j-version}</version>
277 </dependency>
278 <dependency>
279 <groupId>org.slf4j</groupId>
280 <artifactId>slf4j-log4j12</artifactId>
281 <version>${slf4j-version}</version>
282 <scope>runtime</scope>
283 </dependency>
284 <dependency>
285 <groupId>log4j</groupId>
286 <artifactId>log4j</artifactId>
287 <version>${log4j-version}</version>
288 <scope>runtime</scope>
289 </dependency>
290
291 <!-- Database -->
292 <dependency>
293 <groupId>com.oracle</groupId>
294 <artifactId>ojdbc6</artifactId>
295 <version>11.2.0.1.0</version>
296 <scope>runtime</scope>
297 </dependency>
298 <dependency>
299 <groupId>mysql</groupId>
300 <artifactId>mysql-connector-java</artifactId>
301 <version>5.1.38</version>
302 <scope>runtime</scope>
303 </dependency>
304
305 <dependency>
306 <groupId>net.sf.ehcache</groupId>
307 <artifactId>ehcache-core</artifactId>
308 <version>${ehcache-version}</version>
309 </dependency>
310 <dependency>
311 <groupId>org.mybatis</groupId>
312 <artifactId>mybatis</artifactId>
313 <version>${mybatis-version}</version>
314 </dependency>
315 <dependency>
316 <groupId>org.mybatis</groupId>
317 <artifactId>mybatis-spring</artifactId>
318 <version>${mybatis-spring-version}</version>
319 </dependency>
320 <dependency>
321 <groupId>org.mybatis</groupId>
322 <artifactId>mybatis-ehcache</artifactId>
323 <version>${mybatis-ehcache-version}</version>
324 </dependency>
325
326 <!-- Spring自动处理JSON -->
327 <dependency>
328 <groupId>com.fasterxml.jackson.core</groupId>
329 <artifactId>jackson-core</artifactId>
330 <version>${json-version}</version>
331 </dependency>
332 <dependency>
333 <groupId>com.fasterxml.jackson.core</groupId>
334 <artifactId>jackson-annotations</artifactId>
335 <version>${json-version}</version>
336 </dependency>
337 <dependency>
338 <groupId>com.fasterxml.jackson.core</groupId>
339 <artifactId>jackson-databind</artifactId>
340 <version>${json-version}</version>
341 </dependency>
342
343 <!-- Joda Time -->
344 <dependency>
345 <groupId>joda-time</groupId>
346 <artifactId>joda-time</artifactId>
347 <version>2.3</version>
348 </dependency>
349 <dependency>
350 <groupId>joda-time</groupId>
351 <artifactId>joda-time-jsptags</artifactId>
352 <version>1.1.1</version>
353 <scope>runtime</scope>
354 </dependency>
355
356 <!-- 数据源配置 -->
357 <dependency>
358 <groupId>commons-dbcp</groupId>
359 <artifactId>commons-dbcp</artifactId>
360 <version>1.4</version>
361 </dependency>
362 <dependency>
363 <groupId>commons-pool</groupId>
364 <artifactId>commons-pool</artifactId>
365 <version>1.6</version>
366 </dependency>
367 <dependency>
368 <groupId>commons-codec</groupId>
369 <artifactId>commons-codec</artifactId>
370 <version>1.9</version>
371 </dependency>
372
373 <!-- Commons -->
374 <dependency>
375 <groupId>commons-io</groupId>
376 <artifactId>commons-io</artifactId>
377 <version>2.4</version>
378 </dependency>
379 <dependency>
380 <groupId>commons-beanutils</groupId>
381 <artifactId>commons-beanutils</artifactId>
382 <version>1.9.1</version>
383 <exclusions>
384 <exclusion>
385 <groupId>commons-logging</groupId>
386 <artifactId>commons-logging</artifactId>
387 </exclusion>
388 </exclusions>
389 </dependency>
390 <dependency>
391 <groupId>org.apache.commons</groupId>
392 <artifactId>commons-lang3</artifactId>
393 <version>3.3</version>
394 </dependency>
395 <dependency>
396 <groupId>commons-fileupload</groupId>
397 <artifactId>commons-fileupload</artifactId>
398 <version>1.3.1</version>
399 </dependency>
400 <dependency>
401 <groupId>commons-dbutils</groupId>
402 <artifactId>commons-dbutils</artifactId>
403 <version>1.6</version>
404 </dependency>
405
406 <dependency>
407 <groupId>cglib</groupId>
408 <artifactId>cglib-nodep</artifactId>
409 <version>3.1</version>
410 </dependency>
411
412 <!-- Snaker工作流 -->
413 <dependency>
414 <groupId>com.github.snakerflow</groupId>
415 <artifactId>snaker-core</artifactId>
416 <version>${snaker-version}</version>
417 </dependency>
418
419 <dependency>
420 <groupId>com.github.snakerflow</groupId>
421 <artifactId>snaker-spring</artifactId>
422 <version>${snaker-version}</version>
423 </dependency>
424
425 <dependency>
426 <groupId>com.github.snakerflow</groupId>
427 <artifactId>snaker-mybatis</artifactId>
428 <version>${snaker-version}</version>
429 </dependency>
430
431
432 <!-- myself -->
433 <dependency>
434 <groupId>net.sf.json-lib</groupId>
435 <artifactId>json-lib</artifactId>
436 <version>2.2.3</version>
437 <classifier>jdk15</classifier>
438 </dependency>
439 <dependency>
440 <groupId>jstl</groupId>
441 <artifactId>jstl</artifactId>
442 <version>1.2</version>
443 </dependency>
444 <dependency>
445 <groupId>javax.servlet</groupId>
446 <artifactId>javax.servlet-api</artifactId>
447 <version>3.1.0</version>
448 </dependency>
449
450 <dependency>
451 <groupId>xml-apis</groupId>
452 <artifactId>xml-apis</artifactId>
453 <version>1.4.01</version>
454 </dependency>
455
456 <dependency>
457 <groupId>org.apache.poi</groupId>
458 <artifactId>poi</artifactId>
459 <version>3.10.1</version>
460 </dependency>
461 <dependency>
462 <groupId>net.sourceforge.jexcelapi</groupId>
463 <artifactId>jxl</artifactId>
464 <version>2.6.12</version>
465 </dependency>
466 <dependency>
467 <groupId>net.sf.jxls</groupId>
468 <artifactId>jxls-core</artifactId>
469 <version>1.0.3</version>
470 </dependency>
471
472 <dependency>
473 <groupId>freemarker</groupId>
474 <artifactId>freemarker</artifactId>
475 <version>2.3.6</version>
476 </dependency>
477
478
479 <dependency>
480 <groupId>commons-beanutils</groupId>
481 <artifactId>commons-beanutils-core</artifactId>
482 <version>1.8.3</version>
483 </dependency>
484 <dependency>
485 <groupId>javaee</groupId>
486 <artifactId>javaee-api</artifactId>
487 <version>5</version>
488 <scope>provided</scope>
489 </dependency>
490 <!-- Other End -->
491
492 <dependency>
493 <groupId>com.supwisdom.platform.uniportal</groupId>
494 <artifactId>jigsaw-portal-mq-api</artifactId>
495 <version>1.0.0</version>
496 <exclusions>
497 <exclusion>
498 <groupId>com.supwisdom.platform.jdbc</groupId>
499 <artifactId>ojdbc6</artifactId>
500 </exclusion>
501 </exclusions>
502
503 </dependency>
504
505 </dependencies>
506 </dependencyManagement>
507
508 <dependencies>
509 <!-- UnitTest Start -->
510 <dependency>
511 <groupId>junit</groupId>
512 <artifactId>junit</artifactId>
513 </dependency>
514 <!-- UnitTest End -->
515 </dependencies>
516
517 <profiles>
518 <profile>
519 <id>advanced-test</id>
520 <activation>
521 <file>
522 <exists>testng.xml</exists>
523 </file>
524 </activation>
525 <build>
526 <plugins>
527 <plugin>
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-surefire-plugin</artifactId>
530 <version>2.12</version>
531 <configuration>
532 <suiteXmlFiles>
533 <skipTests>true</skipTests>
534 </suiteXmlFiles>
535 </configuration>
536 </plugin>
537 </plugins>
538 </build>
539 </profile>
540 </profiles>
541
542 <build>
543 <resources>
544 <resource>
545 <directory>src/main/resources</directory>
546 </resource>
547 <resource>
548 <directory>src/main/java</directory>
549 <excludes>
550 <exclude>**/*.java</exclude>
551 </excludes>
552 </resource>
553 </resources>
554 <testResources>
555 <testResource>
556 <directory>src/test/resources</directory>
557 </testResource>
558 <testResource>
559 <directory>src/test/java</directory>
560 <excludes>
561 <exclude>**/*.java</exclude>
562 </excludes>
563 </testResource>
564 </testResources>
565 <plugins>
566 <plugin>
567 <groupId>org.apache.maven.plugins</groupId>
568 <artifactId>maven-release-plugin</artifactId>
569 <version>2.3</version>
570 <configuration>
571 <autoVersionSubmodules>true</autoVersionSubmodules>
572 <tagNameFormat>@{project.version}</tagNameFormat>
573 <!-- <tagBase>${scmTags}</tagBase> -->
574 <checkModificationExcludes>
575 <checkModificationExclude>**/.project</checkModificationExclude>
576 <checkModificationExclude>**/.classpath</checkModificationExclude>
577 <checkModificationExclude>**/.mymetadata</checkModificationExclude>
578 <checkModificationExclude>**/.settings/**</checkModificationExclude>
579 </checkModificationExcludes>
580 </configuration>
581 </plugin>
582 <plugin>
583 <groupId>org.apache.maven.plugins</groupId>
584 <artifactId>maven-surefire-plugin</artifactId>
585 <version>2.12</version>
586 <configuration>
587 <systemPropertyVariables>
588 <org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output>
589 <org.uncommons.reportng.velocity-log>false</org.uncommons.reportng.velocity-log>
590 </systemPropertyVariables>
591 <workingDirectory>target/</workingDirectory>
592 <skip>true</skip>
593 </configuration>
594 </plugin>
595 <plugin>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-compiler-plugin</artifactId>
598 <version>2.3.2</version>
599 <configuration>
600 <source>1.8</source>
601 <target>1.8</target>
602 <encoding>UTF-8</encoding>
603 <compilerArguments>
604 <verbose/>
605 <!--<bootclasspath>${java.home}/lib/rt.jar</bootclasspath>-->
606 </compilerArguments>
607 </configuration>
608 </plugin>
609 <plugin>
610 <groupId>org.apache.maven.plugins</groupId>
611 <artifactId>maven-eclipse-plugin</artifactId>
612 <version>2.9</version>
613 <configuration>
614 <downloadSources>true</downloadSources>
615 <downloadJavadocs>true</downloadJavadocs>
616 </configuration>
617 </plugin>
618 <plugin>
619 <groupId>org.apache.maven.plugins</groupId>
620 <artifactId>maven-project-info-reports-plugin</artifactId>
621 <version>2.1.2</version>
622 </plugin>
623 <plugin>
624 <groupId>org.apache.maven.plugins</groupId>
625 <artifactId>maven-source-plugin</artifactId>
626 <version>2.1.2</version>
627 <executions>
628 <execution>
629 <id>attach-sources</id>
630 <goals>
631 <goal>jar</goal>
632 </goals>
633 </execution>
634 </executions>
635 </plugin>
636 <plugin>
637 <groupId>org.apache.maven.plugins</groupId>
638 <artifactId>maven-deploy-plugin</artifactId>
639 <version>2.4</version>
640 <configuration>
641 <!-- <skip>true</skip> -->
642 </configuration>
643 </plugin>
644 <plugin>
645 <groupId>org.apache.maven.plugins</groupId>
646 <artifactId>maven-javadoc-plugin</artifactId>
647 <version>2.7</version>
648 <executions>
649 <execution>
650 <id>attach-javadocs</id>
651 <phase>site</phase>
652 <goals>
653 <goal>aggregate</goal>
654 </goals>
655 </execution>
656 </executions>
657 <configuration>
658 <failOnError>false</failOnError>
659 </configuration>
660 </plugin>
661 </plugins>
662 </build>
663
664 <organization>
665 <name>supwisdom</name>
666 <url>http://www.supwisdom.com</url>
667 </organization>
668</project>