pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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>aft</artifactId>
  7. <name>aft</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.2.6</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. <dependencies>
  21. <!-- spring -->
  22. <dependency>
  23. <groupId>org.springframework</groupId>
  24. <artifactId>spring-context</artifactId>
  25. <version>${org.springframework-version}</version>
  26. <exclusions>
  27. <!-- Exclude Commons Logging in favor of SLF4j -->
  28. <exclusion>
  29. <groupId>commons-logging</groupId>
  30. <artifactId>commons-logging</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework</groupId>
  36. <artifactId>spring-web</artifactId>
  37. <version>${org.springframework-version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework</groupId>
  41. <artifactId>spring-webmvc</artifactId>
  42. <version>${org.springframework-version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework</groupId>
  46. <artifactId>spring-jdbc</artifactId>
  47. <version>${org.springframework-version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework</groupId>
  51. <artifactId>spring-context-support</artifactId>
  52. <version>${org.springframework-version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework</groupId>
  56. <artifactId>spring-websocket</artifactId>
  57. <version>${org.springframework-version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework</groupId>
  61. <artifactId>spring-messaging</artifactId>
  62. <version>${org.springframework-version}</version>
  63. </dependency>
  64. <!-- spring end -->
  65. <!-- redis begin -->
  66. <dependency>
  67. <groupId>redis.clients</groupId>
  68. <artifactId>jedis</artifactId>
  69. <version>2.8.0</version>
  70. </dependency>
  71. <!-- redis end -->
  72. <!-- mybatis start -->
  73. <dependency>
  74. <groupId>org.mybatis</groupId>
  75. <artifactId>mybatis</artifactId>
  76. <version>${mybatis-version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.mybatis</groupId>
  80. <artifactId>mybatis-spring</artifactId>
  81. <version>${mybatis-spring-version}</version>
  82. </dependency>
  83. <!-- mybatis end -->
  84. <!-- JDBC connections pooling -->
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>druid</artifactId>
  88. <version>1.0.25</version>
  89. <exclusions>
  90. <exclusion>
  91. <groupId>com.alibaba</groupId>
  92. <artifactId>jconsole</artifactId>
  93. </exclusion>
  94. <exclusion>
  95. <groupId>com.alibaba</groupId>
  96. <artifactId>tools</artifactId>
  97. </exclusion>
  98. </exclusions>
  99. </dependency>
  100. <!-- JDBC connections pooling end -->
  101. <!-- jackson start -->
  102. <dependency>
  103. <groupId>com.fasterxml.jackson.core</groupId>
  104. <artifactId>jackson-databind</artifactId>
  105. <version>2.8.2</version>
  106. </dependency>
  107. <!-- jackson end -->
  108. <!-- mysql -->
  109. <dependency>
  110. <groupId>mysql</groupId>
  111. <artifactId>mysql-connector-java</artifactId>
  112. <version>5.1.39</version>
  113. </dependency>
  114. <!-- Logging -->
  115. <dependency>
  116. <groupId>org.slf4j</groupId>
  117. <artifactId>slf4j-api</artifactId>
  118. <version>${org.slf4j-version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.slf4j</groupId>
  122. <artifactId>jcl-over-slf4j</artifactId>
  123. <version>${org.slf4j-version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.slf4j</groupId>
  127. <artifactId>slf4j-log4j12</artifactId>
  128. <version>${org.slf4j-version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>log4j</groupId>
  132. <artifactId>log4j</artifactId>
  133. <version>1.2.17</version>
  134. <exclusions>
  135. <exclusion>
  136. <groupId>javax.mail</groupId>
  137. <artifactId>mail</artifactId>
  138. </exclusion>
  139. <exclusion>
  140. <groupId>javax.jms</groupId>
  141. <artifactId>jms</artifactId>
  142. </exclusion>
  143. <exclusion>
  144. <groupId>com.sun.jdmk</groupId>
  145. <artifactId>jmxtools</artifactId>
  146. </exclusion>
  147. <exclusion>
  148. <groupId>com.sun.jmx</groupId>
  149. <artifactId>jmxri</artifactId>
  150. </exclusion>
  151. </exclusions>
  152. </dependency>
  153. <!-- common lang -->
  154. <dependency>
  155. <groupId>org.apache.commons</groupId>
  156. <artifactId>commons-lang3</artifactId>
  157. <version>3.4</version>
  158. </dependency>
  159. <!-- common codec -->
  160. <dependency>
  161. <groupId>commons-codec</groupId>
  162. <artifactId>commons-codec</artifactId>
  163. <version>1.10</version>
  164. </dependency>
  165. <!-- common fileupload -->
  166. <dependency>
  167. <groupId>commons-fileupload</groupId>
  168. <artifactId>commons-fileupload</artifactId>
  169. <version>1.3.1</version>
  170. </dependency>
  171. <!-- quartz -->
  172. <dependency>
  173. <groupId>org.quartz-scheduler</groupId>
  174. <artifactId>quartz</artifactId>
  175. <version>1.8.5</version>
  176. </dependency>
  177. <!-- Servlet -->
  178. <dependency>
  179. <groupId>javax.servlet</groupId>
  180. <artifactId>javax.servlet-api</artifactId>
  181. <version>3.1.0</version>
  182. <scope>provided</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>javax.servlet.jsp</groupId>
  186. <artifactId>jsp-api</artifactId>
  187. <version>2.2</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>javax.servlet</groupId>
  191. <artifactId>jstl</artifactId>
  192. <version>1.2</version>
  193. </dependency>
  194. <!-- shiro -->
  195. <dependency>
  196. <groupId>org.apache.shiro</groupId>
  197. <artifactId>shiro-web</artifactId>
  198. <version>${shiro-version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.apache.shiro</groupId>
  202. <artifactId>shiro-quartz</artifactId>
  203. <version>${shiro-version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.apache.shiro</groupId>
  207. <artifactId>shiro-spring</artifactId>
  208. <version>${shiro-version}</version>
  209. </dependency>
  210. <!-- Test -->
  211. <dependency>
  212. <groupId>junit</groupId>
  213. <artifactId>junit</artifactId>
  214. <version>4.12</version>
  215. <scope>test</scope>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.springframework</groupId>
  219. <artifactId>spring-test</artifactId>
  220. <version>${org.springframework-version}</version>
  221. <scope>test</scope>
  222. </dependency>
  223. <dependency>
  224. <groupId>com.alibaba</groupId>
  225. <artifactId>fastjson</artifactId>
  226. <version>1.2.16</version>
  227. </dependency>
  228. <!-- AspectJ -->
  229. <dependency>
  230. <groupId>org.aspectj</groupId>
  231. <artifactId>aspectjrt</artifactId>
  232. <version>${org.aspectj-version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.aspectj</groupId>
  236. <artifactId>aspectjweaver</artifactId>
  237. <version>${org.aspectj-version}</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>cglib</groupId>
  241. <artifactId>cglib</artifactId>
  242. <version>2.2.2</version>
  243. </dependency>
  244. <!-- JSR-303 bean validator -->
  245. <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-validator -->
  246. <dependency>
  247. <groupId>org.hibernate</groupId>
  248. <artifactId>hibernate-validator</artifactId>
  249. <version>5.2.4.Final</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>javax.validation</groupId>
  253. <artifactId>validation-api</artifactId>
  254. <version>1.1.0.Final</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.jboss.logging</groupId>
  258. <artifactId>jboss-logging</artifactId>
  259. <version>3.2.1.Final</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>com.fasterxml</groupId>
  263. <artifactId>classmate</artifactId>
  264. <version>1.1.0</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>com.googlecode.json-simple</groupId>
  268. <artifactId>json-simple</artifactId>
  269. <version>1.1.1</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.apache.poi</groupId>
  273. <artifactId>poi</artifactId>
  274. <version>3.15</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.aliyun</groupId>
  278. <artifactId>aliyun-java-sdk-core</artifactId>
  279. <version>2.4.2</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>com.aliyun</groupId>
  283. <artifactId>aliyun-java-sdk-sms</artifactId>
  284. <version>3.0.0-rc1</version>
  285. </dependency>
  286. </dependencies>
  287. <build>
  288. <resources>
  289. <resource>
  290. <directory>src/resources</directory>
  291. <includes>
  292. <include>**/*.properties</include>
  293. <include>**/*.xml</include>
  294. <include>**/*.ini</include>
  295. </includes>
  296. <filtering>false</filtering>
  297. </resource>
  298. <resource>
  299. <directory>src/main/java</directory>
  300. <includes>
  301. <include>**/*.xml</include>
  302. </includes>
  303. <filtering>false</filtering>
  304. </resource>
  305. </resources>
  306. <plugins>
  307. <plugin>
  308. <groupId>org.apache.maven.plugins</groupId>
  309. <artifactId>maven-compiler-plugin</artifactId>
  310. <version>3.5.1</version>
  311. <configuration>
  312. <source>1.8</source>
  313. <target>1.8</target>
  314. <encoding>utf8</encoding>
  315. <compilerArgument>-Xlint:all</compilerArgument>
  316. <showWarnings>true</showWarnings>
  317. <showDeprecation>true</showDeprecation>
  318. </configuration>
  319. </plugin>
  320. </plugins>
  321. </build>
  322. </project>