pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  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/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.fouram</groupId>
  6. <artifactId>sapparent</artifactId>
  7. <version>0.1.0</version>
  8. <packaging>pom</packaging>
  9. <name>sapparent</name>
  10. <modules>
  11. <module>sapservice</module>
  12. <module>sapcms</module>
  13. </modules>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <spring.version>4.3.0.RELEASE</spring.version>
  17. <spring-session.version>1.3.0.RELEASE</spring-session.version>
  18. <spring-data-redis.version>1.8.1.RELEASE</spring-data-redis.version>
  19. <mysql.version>5.1.39</mysql.version>
  20. <mybatis.version>3.2.1</mybatis.version>
  21. <mybatis-spring.version>1.2.5</mybatis-spring.version>
  22. <slf4j.version>1.7.9</slf4j.version>
  23. <log4j.version>2.8.2</log4j.version>
  24. <druid.version>1.0.27</druid.version>
  25. <fastjson.version>1.2.28</fastjson.version>
  26. <jedis.version>2.9.0</jedis.version>
  27. <redisson.version>3.3.1</redisson.version>
  28. <jackson.version>2.8.6</jackson.version>
  29. <shiro.version>1.3.2</shiro.version>
  30. <tomcat-coyote.version>7.0.85</tomcat-coyote.version>
  31. <tomcat-catalina.version>7.0.85</tomcat-catalina.version>
  32. <junit.version>4.12</junit.version>
  33. <commons-net.version>3.4</commons-net.version>
  34. <javax.servlet-api.version>3.1.0</javax.servlet-api.version>
  35. <jstl.version>1.2</jstl.version>
  36. <commons-lang3.version>3.4</commons-lang3.version>
  37. <commons-lang.version>2.6</commons-lang.version>
  38. <commons-codec.version>1.9</commons-codec.version>
  39. <commons-digester.version>2.0</commons-digester.version>
  40. <commons-beanutils.version>1.9.2</commons-beanutils.version>
  41. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  42. <commons-io.version>2.5</commons-io.version>
  43. <commons-logging.version>1.2</commons-logging.version>
  44. <quartz-version>2.2.2</quartz-version>
  45. <weixin-java-cp.version>3.5.0</weixin-java-cp.version>
  46. <lombok.version>1.18.10</lombok.version>
  47. </properties>
  48. <dependencies>
  49. <dependency>
  50. <groupId>junit</groupId>
  51. <artifactId>junit</artifactId>
  52. <version>${junit.version}</version>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>commons-net</groupId>
  57. <artifactId>commons-net</artifactId>
  58. <version>${commons-net.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.commons</groupId>
  62. <artifactId>commons-lang3</artifactId>
  63. <version>${commons-lang3.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>commons-lang</groupId>
  67. <artifactId>commons-lang</artifactId>
  68. <version>${commons-lang.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>commons-codec</groupId>
  72. <artifactId>commons-codec</artifactId>
  73. <version>${commons-codec.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>commons-digester</groupId>
  77. <artifactId>commons-digester</artifactId>
  78. <version>${commons-digester.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>commons-beanutils</groupId>
  82. <artifactId>commons-beanutils</artifactId>
  83. <version>${commons-beanutils.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>commons-fileupload</groupId>
  87. <artifactId>commons-fileupload</artifactId>
  88. <version>${commons-fileupload.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>commons-io</groupId>
  92. <artifactId>commons-io</artifactId>
  93. <version>${commons-io.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-logging</groupId>
  97. <artifactId>commons-logging</artifactId>
  98. <version>${commons-logging.version}</version>
  99. </dependency>
  100. <!-- mybatis -->
  101. <dependency>
  102. <groupId>org.mybatis</groupId>
  103. <artifactId>mybatis</artifactId>
  104. <version>${mybatis.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.mybatis</groupId>
  108. <artifactId>mybatis-spring</artifactId>
  109. <version>${mybatis-spring.version}</version>
  110. </dependency>
  111. <!-- quartz -->
  112. <dependency>
  113. <groupId>org.quartz-scheduler</groupId>
  114. <artifactId>quartz</artifactId>
  115. <version>${quartz-version}</version>
  116. </dependency>
  117. <!-- spring核心包 -->
  118. <dependency>
  119. <groupId>org.springframework</groupId>
  120. <artifactId>spring-jdbc</artifactId>
  121. <version>${spring.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework</groupId>
  125. <artifactId>spring-core</artifactId>
  126. <version>${spring.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springframework</groupId>
  130. <artifactId>spring-context-support</artifactId>
  131. <version>${spring.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework</groupId>
  135. <artifactId>spring-test</artifactId>
  136. <version>${spring.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework</groupId>
  140. <artifactId>spring-web</artifactId>
  141. <version>${spring.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.springframework</groupId>
  145. <artifactId>spring-webmvc</artifactId>
  146. <version>${spring.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.session</groupId>
  150. <artifactId>spring-session</artifactId>
  151. <version>${spring-session.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.data</groupId>
  155. <artifactId>spring-data-redis</artifactId>
  156. <version>${spring-data-redis.version}</version>
  157. </dependency>
  158. <!-- websocket -->
  159. <dependency>
  160. <groupId>org.springframework</groupId>
  161. <artifactId>spring-websocket</artifactId>
  162. <version>${spring.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework</groupId>
  166. <artifactId>spring-messaging</artifactId>
  167. <version>${spring.version}</version>
  168. </dependency>
  169. <!-- 缓存 -->
  170. <dependency>
  171. <groupId>redis.clients</groupId>
  172. <artifactId>jedis</artifactId>
  173. <version>${jedis.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.redisson</groupId>
  177. <artifactId>redisson</artifactId>
  178. <version>${redisson.version}</version>
  179. </dependency>
  180. <!-- 数据库 -->
  181. <dependency>
  182. <groupId>mysql</groupId>
  183. <artifactId>mysql-connector-java</artifactId>
  184. <version>${mysql.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.alibaba</groupId>
  188. <artifactId>druid</artifactId>
  189. <version>${druid.version}</version>
  190. <type>jar</type>
  191. </dependency>
  192. <!-- alibaba工具包 -->
  193. <dependency>
  194. <groupId>com.alibaba</groupId>
  195. <artifactId>fastjson</artifactId>
  196. <version>${fastjson.version}</version>
  197. </dependency>
  198. <!-- 导入java ee -->
  199. <dependency>
  200. <groupId>javax.servlet</groupId>
  201. <artifactId>javax.servlet-api</artifactId>
  202. <version>${javax.servlet-api.version}</version>
  203. <scope>provided</scope>
  204. </dependency>
  205. <dependency>
  206. <groupId>javax.servlet</groupId>
  207. <artifactId>jstl</artifactId>
  208. <version>${jstl.version}</version>
  209. <scope>runtime</scope>
  210. </dependency>
  211. <!-- 日志文件管理包 -->
  212. <dependency>
  213. <groupId>org.slf4j</groupId>
  214. <artifactId>slf4j-api</artifactId>
  215. <version>${slf4j.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>log4j</groupId>
  219. <artifactId>log4j</artifactId>
  220. <version>1.2.17</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.apache.logging.log4j</groupId>
  224. <artifactId>log4j-core</artifactId>
  225. <version>${log4j.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.apache.logging.log4j</groupId>
  229. <artifactId>log4j-api</artifactId>
  230. <version>${log4j.version}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.apache.logging.log4j</groupId>
  234. <artifactId>log4j-slf4j-impl</artifactId>
  235. <version>${log4j.version}</version>
  236. </dependency>
  237. <!-- jackson -->
  238. <dependency>
  239. <groupId>com.fasterxml.jackson.core</groupId>
  240. <artifactId>jackson-core</artifactId>
  241. <version>${jackson.version}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>com.fasterxml.jackson.core</groupId>
  245. <artifactId>jackson-databind</artifactId>
  246. <version>${jackson.version}</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>com.fasterxml.jackson.core</groupId>
  250. <artifactId>jackson-annotations</artifactId>
  251. <version>${jackson.version}</version>
  252. </dependency>
  253. <!-- shiro -->
  254. <dependency>
  255. <groupId>org.apache.shiro</groupId>
  256. <artifactId>shiro-spring</artifactId>
  257. <version>${shiro.version}</version>
  258. </dependency>
  259. <!-- poi -->
  260. <dependency>
  261. <groupId>org.apache.poi</groupId>
  262. <artifactId>poi</artifactId>
  263. <version>3.14</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.apache.poi</groupId>
  267. <artifactId>poi-ooxml</artifactId>
  268. <version>3.14</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>org.apache.poi</groupId>
  272. <artifactId>poi-ooxml-schemas</artifactId>
  273. <version>3.14</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>com.ning</groupId>
  277. <artifactId>async-http-client</artifactId>
  278. <version>1.8.13</version>
  279. <type>jar</type>
  280. </dependency>
  281. <dependency>
  282. <groupId>com.github.binarywang</groupId>
  283. <artifactId>java-emoji-converter</artifactId>
  284. <version>0.1.1</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>net.coobird</groupId>
  288. <artifactId>thumbnailator</artifactId>
  289. <version>0.4.8</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>commons-httpclient</groupId>
  293. <artifactId>commons-httpclient</artifactId>
  294. <version>3.0.1</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>com.drewnoakes</groupId>
  298. <artifactId>metadata-extractor</artifactId>
  299. <version>2.11.0</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>com.lmax</groupId>
  303. <artifactId>disruptor</artifactId>
  304. <version>3.4.2</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>com.belerweb</groupId>
  308. <artifactId>pinyin4j</artifactId>
  309. <version>2.5.1</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>com.itextpdf</groupId>
  313. <artifactId>itextpdf</artifactId>
  314. <version>5.5.10</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>com.github.binarywang</groupId>
  318. <artifactId>weixin-java-cp</artifactId>
  319. <version>${weixin-java-cp.version}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>org.projectlombok</groupId>
  323. <artifactId>lombok</artifactId>
  324. <version>${lombok.version}</version>
  325. <scope>provided</scope>
  326. </dependency>
  327. </dependencies>
  328. <profiles>
  329. <profile>
  330. <id>develop</id>
  331. <properties>
  332. <env>src/main/resources/env/develop</env>
  333. </properties>
  334. <activation>
  335. <activeByDefault>true</activeByDefault>
  336. </activation>
  337. </profile>
  338. <profile>
  339. <id>product</id>
  340. <properties>
  341. <env>src/main/resources/env/product</env>
  342. </properties>
  343. </profile>
  344. </profiles>
  345. <build>
  346. <finalName>fouram</finalName>
  347. <resources>
  348. <resource>
  349. <directory>src/main/resources</directory>
  350. <excludes>
  351. <exclude>env/develop/**</exclude>
  352. <exclude>env/product/**</exclude>
  353. </excludes>
  354. </resource>
  355. <resource>
  356. <directory>src/main/java</directory>
  357. <includes>
  358. <include>**/*.xml</include>
  359. </includes>
  360. <filtering>false</filtering>
  361. </resource>
  362. <resource>
  363. <directory>${env}</directory>
  364. </resource>
  365. </resources>
  366. <plugins>
  367. <!-- 编译的时候使用JDK8和UTF8编码 -->
  368. <plugin>
  369. <artifactId>maven-compiler-plugin</artifactId>
  370. <configuration>
  371. <source>1.8</source>
  372. <target>1.8</target>
  373. <encoding>UTF-8</encoding>
  374. </configuration>
  375. </plugin>
  376. <!-- 将源码打成jar包 -->
  377. <plugin>
  378. <groupId>org.apache.maven.plugins</groupId>
  379. <artifactId>maven-source-plugin</artifactId>
  380. <version>3.0.1</version>
  381. <configuration>
  382. <attach>true</attach>
  383. </configuration>
  384. <executions>
  385. <execution>
  386. <phase>compile</phase>
  387. <goals>
  388. <goal>jar</goal>
  389. </goals>
  390. </execution>
  391. </executions>
  392. </plugin>
  393. <!-- 编译jar包 -->
  394. <plugin>
  395. <groupId>org.apache.maven.plugins</groupId>
  396. <artifactId>maven-jar-plugin</artifactId>
  397. <configuration>
  398. <archive>
  399. <addMavenDescriptor>false</addMavenDescriptor>
  400. <manifest>
  401. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  402. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  403. </manifest>
  404. </archive>
  405. </configuration>
  406. </plugin>
  407. <plugin>
  408. <groupId>org.apache.tomcat.maven</groupId>
  409. <artifactId>tomcat7-maven-plugin</artifactId>
  410. <version>2.2</version>
  411. <configuration>
  412. <port>8080</port>
  413. <uriEncoding>UTF-8</uriEncoding>
  414. </configuration>
  415. </plugin>
  416. </plugins>
  417. </build>
  418. </project>