pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.goafanti</groupId>
  6. <artifactId>jitao-server</artifactId>
  7. <name>jitao-server</name>
  8. <packaging>war</packaging>
  9. <version>1.0.0-BUILD-SNAPSHOT</version>
  10. <properties>
  11. <java-version>1.8</java-version>
  12. <org.springframework-version>4.2.5.RELEASE</org.springframework-version>
  13. <org.slf4j-version>1.7.21</org.slf4j-version>
  14. <shiro-version>1.3.2</shiro-version>
  15. <mybatis-version>3.2.8</mybatis-version>
  16. <mybatis-spring-version>1.2.2</mybatis-spring-version>
  17. <org.aspectj-version>1.6.10</org.aspectj-version>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. </properties>
  20. <profiles>
  21. <profile>
  22. <id>aft_local</id>
  23. <activation>
  24. <activeByDefault>true</activeByDefault>
  25. </activation>
  26. <properties>
  27. <profiles.activation>local</profiles.activation>
  28. </properties>
  29. </profile>
  30. <profile>
  31. <id>aft_dev</id>
  32. <properties>
  33. <profiles.activation>dev</profiles.activation>
  34. </properties>
  35. </profile>
  36. <profile>
  37. <id>aft_prod</id>
  38. <properties>
  39. <profiles.activation>prod</profiles.activation>
  40. </properties>
  41. </profile>
  42. <profile>
  43. <id>aft_test</id>
  44. <properties>
  45. <profiles.activation>test</profiles.activation>
  46. </properties>
  47. </profile>
  48. </profiles>
  49. <dependencies>
  50. <!-- spring -->
  51. <dependency>
  52. <groupId>org.springframework</groupId>
  53. <artifactId>spring-context</artifactId>
  54. <version>${org.springframework-version}</version>
  55. <exclusions>
  56. <!-- Exclude Commons Logging in favor of SLF4j -->
  57. <exclusion>
  58. <groupId>commons-logging</groupId>
  59. <artifactId>commons-logging</artifactId>
  60. </exclusion>
  61. </exclusions>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework</groupId>
  65. <artifactId>spring-web</artifactId>
  66. <version>${org.springframework-version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework</groupId>
  70. <artifactId>spring-webmvc</artifactId>
  71. <version>${org.springframework-version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework</groupId>
  75. <artifactId>spring-jdbc</artifactId>
  76. <version>${org.springframework-version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework</groupId>
  80. <artifactId>spring-context-support</artifactId>
  81. <version>${org.springframework-version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework</groupId>
  85. <artifactId>spring-websocket</artifactId>
  86. <version>${org.springframework-version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework</groupId>
  90. <artifactId>spring-messaging</artifactId>
  91. <version>${org.springframework-version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.data</groupId>
  95. <artifactId>spring-data-redis</artifactId>
  96. <version>1.8.3.RELEASE</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.thymeleaf</groupId>
  100. <artifactId>thymeleaf-spring4</artifactId>
  101. <version>3.0.5.RELEASE</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>nz.net.ultraq.thymeleaf</groupId>
  105. <artifactId>thymeleaf-layout-dialect</artifactId>
  106. <version>2.2.1</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.github.theborakompanioni</groupId>
  110. <artifactId>thymeleaf-extras-shiro</artifactId>
  111. <version>2.0.0</version>
  112. </dependency>
  113. <!-- spring end -->
  114. <!-- redis begin -->
  115. <dependency>
  116. <groupId>redis.clients</groupId>
  117. <artifactId>jedis</artifactId>
  118. <version>2.9.0</version>
  119. </dependency>
  120. <!-- redis end -->
  121. <!-- mybatis start -->
  122. <dependency>
  123. <groupId>org.mybatis</groupId>
  124. <artifactId>mybatis</artifactId>
  125. <version>${mybatis-version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.mybatis</groupId>
  129. <artifactId>mybatis-spring</artifactId>
  130. <version>${mybatis-spring-version}</version>
  131. </dependency>
  132. <!-- mybatis end -->
  133. <!-- JDBC connections pooling -->
  134. <dependency>
  135. <groupId>com.alibaba</groupId>
  136. <artifactId>druid</artifactId>
  137. <version>1.0.25</version>
  138. <exclusions>
  139. <exclusion>
  140. <groupId>com.alibaba</groupId>
  141. <artifactId>jconsole</artifactId>
  142. </exclusion>
  143. <exclusion>
  144. <groupId>com.alibaba</groupId>
  145. <artifactId>tools</artifactId>
  146. </exclusion>
  147. </exclusions>
  148. </dependency>
  149. <!-- JDBC connections pooling end -->
  150. <!-- jackson start -->
  151. <dependency>
  152. <groupId>com.fasterxml.jackson.core</groupId>
  153. <artifactId>jackson-databind</artifactId>
  154. <version>2.8.2</version>
  155. </dependency>
  156. <!-- jackson end -->
  157. <!-- mysql -->
  158. <dependency>
  159. <groupId>mysql</groupId>
  160. <artifactId>mysql-connector-java</artifactId>
  161. <version>5.1.40</version>
  162. </dependency>
  163. <!-- Logging -->
  164. <dependency>
  165. <groupId>org.slf4j</groupId>
  166. <artifactId>slf4j-api</artifactId>
  167. <version>${org.slf4j-version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.slf4j</groupId>
  171. <artifactId>jcl-over-slf4j</artifactId>
  172. <version>${org.slf4j-version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.slf4j</groupId>
  176. <artifactId>slf4j-log4j12</artifactId>
  177. <version>${org.slf4j-version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>log4j</groupId>
  181. <artifactId>log4j</artifactId>
  182. <version>1.2.17</version>
  183. <exclusions>
  184. <exclusion>
  185. <groupId>javax.mail</groupId>
  186. <artifactId>mail</artifactId>
  187. </exclusion>
  188. <exclusion>
  189. <groupId>javax.jms</groupId>
  190. <artifactId>jms</artifactId>
  191. </exclusion>
  192. <exclusion>
  193. <groupId>com.sun.jdmk</groupId>
  194. <artifactId>jmxtools</artifactId>
  195. </exclusion>
  196. <exclusion>
  197. <groupId>com.sun.jmx</groupId>
  198. <artifactId>jmxri</artifactId>
  199. </exclusion>
  200. </exclusions>
  201. </dependency>
  202. <!-- common lang -->
  203. <dependency>
  204. <groupId>org.apache.commons</groupId>
  205. <artifactId>commons-lang3</artifactId>
  206. <version>3.4</version>
  207. </dependency>
  208. <!-- common codec -->
  209. <dependency>
  210. <groupId>commons-codec</groupId>
  211. <artifactId>commons-codec</artifactId>
  212. <version>1.10</version>
  213. </dependency>
  214. <!-- common fileupload -->
  215. <dependency>
  216. <groupId>commons-fileupload</groupId>
  217. <artifactId>commons-fileupload</artifactId>
  218. <version>1.3.1</version>
  219. </dependency>
  220. <!-- quartz -->
  221. <dependency>
  222. <groupId>org.quartz-scheduler</groupId>
  223. <artifactId>quartz</artifactId>
  224. <version>1.8.5</version>
  225. </dependency>
  226. <!-- Servlet -->
  227. <dependency>
  228. <groupId>javax.servlet</groupId>
  229. <artifactId>javax.servlet-api</artifactId>
  230. <version>3.1.0</version>
  231. <scope>provided</scope>
  232. </dependency>
  233. <!-- shiro -->
  234. <dependency>
  235. <groupId>org.apache.shiro</groupId>
  236. <artifactId>shiro-web</artifactId>
  237. <version>${shiro-version}</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.apache.shiro</groupId>
  241. <artifactId>shiro-quartz</artifactId>
  242. <version>${shiro-version}</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.apache.shiro</groupId>
  246. <artifactId>shiro-spring</artifactId>
  247. <version>${shiro-version}</version>
  248. </dependency>
  249. <!-- Test -->
  250. <dependency>
  251. <groupId>junit</groupId>
  252. <artifactId>junit</artifactId>
  253. <version>4.12</version>
  254. <scope>test</scope>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.springframework</groupId>
  258. <artifactId>spring-test</artifactId>
  259. <version>${org.springframework-version}</version>
  260. <scope>test</scope>
  261. </dependency>
  262. <dependency>
  263. <groupId>com.alibaba</groupId>
  264. <artifactId>fastjson</artifactId>
  265. <version>1.2.31</version>
  266. </dependency>
  267. <!-- AspectJ -->
  268. <dependency>
  269. <groupId>org.aspectj</groupId>
  270. <artifactId>aspectjrt</artifactId>
  271. <version>${org.aspectj-version}</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.aspectj</groupId>
  275. <artifactId>aspectjweaver</artifactId>
  276. <version>${org.aspectj-version}</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>cglib</groupId>
  280. <artifactId>cglib</artifactId>
  281. <version>2.2.2</version>
  282. </dependency>
  283. <!-- JSR-303 bean validator -->
  284. <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-validator -->
  285. <dependency>
  286. <groupId>org.hibernate</groupId>
  287. <artifactId>hibernate-validator</artifactId>
  288. <version>5.2.4.Final</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>javax.validation</groupId>
  292. <artifactId>validation-api</artifactId>
  293. <version>1.1.0.Final</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.jboss.logging</groupId>
  297. <artifactId>jboss-logging</artifactId>
  298. <version>3.2.1.Final</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>com.fasterxml</groupId>
  302. <artifactId>classmate</artifactId>
  303. <version>1.1.0</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>com.googlecode.json-simple</groupId>
  307. <artifactId>json-simple</artifactId>
  308. <version>1.1.1</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.apache.poi</groupId>
  312. <artifactId>poi-ooxml</artifactId>
  313. <version>3.17</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>com.aliyun</groupId>
  317. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  318. <version>1.0.0</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>com.aliyun</groupId>
  322. <artifactId>aliyun-java-sdk-core</artifactId>
  323. <version>3.5.0</version>
  324. </dependency>
  325. <dependency>
  326. <groupId>org.apache.httpcomponents</groupId>
  327. <artifactId>httpasyncclient</artifactId>
  328. <version>4.1.3</version>
  329. </dependency>
  330. <!-- jpush -->
  331. <dependency>
  332. <groupId>cn.jpush.api</groupId>
  333. <artifactId>jiguang-common</artifactId>
  334. <version>1.0.8</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>io.netty</groupId>
  338. <artifactId>netty-all</artifactId>
  339. <version>4.1.6.Final</version>
  340. <scope>compile</scope>
  341. </dependency>
  342. <dependency>
  343. <groupId>com.google.code.gson</groupId>
  344. <artifactId>Gson</artifactId>
  345. <version>2.5</version>
  346. </dependency>
  347. <!-- ffmpeg -->
  348. <dependency>
  349. <groupId>net.bramp.ffmpeg</groupId>
  350. <artifactId>ffmpeg</artifactId>
  351. <version>0.6.2</version>
  352. </dependency>
  353. <!-- commons -->
  354. <dependency>
  355. <groupId>commons-net</groupId>
  356. <artifactId>commons-net</artifactId>
  357. <version>3.6</version>
  358. </dependency>
  359. </dependencies>
  360. <build>
  361. <resources>
  362. <resource>
  363. <directory>src/resources</directory>
  364. <includes>
  365. <include>**/*.properties</include>
  366. <include>**/*.xml</include>
  367. <include>**/*.ini</include>
  368. </includes>
  369. <filtering>false</filtering>
  370. </resource>
  371. <resource>
  372. <directory>src/main/java</directory>
  373. <includes>
  374. <include>**/*.xml</include>
  375. </includes>
  376. <filtering>false</filtering>
  377. </resource>
  378. </resources>
  379. <plugins>
  380. <plugin>
  381. <groupId>org.apache.maven.plugins</groupId>
  382. <artifactId>maven-compiler-plugin</artifactId>
  383. <version>3.5.1</version>
  384. <configuration>
  385. <source>1.8</source>
  386. <target>1.8</target>
  387. <encoding>utf8</encoding>
  388. <compilerArgument>-Xlint:all</compilerArgument>
  389. <showWarnings>true</showWarnings>
  390. <showDeprecation>true</showDeprecation>
  391. <skip>true</skip>
  392. </configuration>
  393. </plugin>
  394. <plugin>
  395. <groupId>org.apache.maven.plugins</groupId>
  396. <artifactId>maven-surefire-plugin</artifactId>
  397. <version>2.5</version>
  398. <configuration>
  399. <skip>true</skip>
  400. </configuration>
  401. </plugin>
  402. <plugin>
  403. <groupId>org.apache.maven.plugins</groupId>
  404. <artifactId>maven-war-plugin</artifactId>
  405. <version>3.1.0</version>
  406. <configuration>
  407. <warName>${profiles.activation}</warName>
  408. <!-- 激活spring profile -->
  409. <webResources>
  410. <resource>
  411. <filtering>true</filtering>
  412. <directory>src/main/webapp</directory>
  413. <includes>
  414. <include>**/**</include>
  415. </includes>
  416. </resource>
  417. <resource>
  418. <filtering>true</filtering>
  419. <directory>src/main/resources</directory>
  420. <targetPath>WEB-INF/classes</targetPath>
  421. <includes>
  422. <include>**/**</include>
  423. </includes>
  424. </resource>
  425. </webResources>
  426. <warSourceDirectory>src/main/webapp</warSourceDirectory>
  427. <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
  428. </configuration>
  429. </plugin>
  430. </plugins>
  431. </build>
  432. <repositories>
  433. <repository>
  434. <id>aliyun-repos</id>
  435. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  436. <snapshots>
  437. <enabled>false</enabled>
  438. </snapshots>
  439. </repository>
  440. </repositories>
  441. <pluginRepositories>
  442. <pluginRepository>
  443. <id>aliyun-plugin</id>
  444. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  445. <snapshots>
  446. <enabled>false</enabled>
  447. </snapshots>
  448. </pluginRepository>
  449. </pluginRepositories>
  450. </project>