pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.diagbot</groupId>
  7. <artifactId>push</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0.0</version>
  10. <modules>
  11. <module>nlp</module>
  12. <module>bigdata</module>
  13. <module>graph</module>
  14. <module>rule</module>
  15. <module>public</module>
  16. <module>algorithm</module>
  17. <module>common-service</module>
  18. <module>bigdata-web</module>
  19. <module>graph-web</module>
  20. <module>nlp-web</module>
  21. <module>push-web</module>
  22. </modules>
  23. <properties>
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25. <spring.version>4.2.5.RELEASE</spring.version>
  26. <mybatis.version>3.2.8</mybatis.version>
  27. <junit.version>4.11</junit.version>
  28. <commons-lang3.version>3.1</commons-lang3.version>
  29. <commons-io.version>2.4</commons-io.version>
  30. <slf4j.version>1.7.2</slf4j.version>
  31. <mysql.version>5.1.38</mysql.version>
  32. <logback.version>1.1.2</logback.version>
  33. <jackson.version>2.6.5</jackson.version>
  34. <servlet.version>3.0.1</servlet.version>
  35. <jsp.version>2.2</jsp.version>
  36. <jstl.version>1.2</jstl.version>
  37. <standard.version>1.1.2</standard.version>
  38. </properties>
  39. <dependencies>
  40. <!-- database -->
  41. <dependency>
  42. <groupId>mysql</groupId>
  43. <artifactId>mysql-connector-java</artifactId>
  44. <version>${mysql.version}</version>
  45. </dependency>
  46. <!-- https://mvnrepository.com/artifact/com.microsoft.sqlserver/sqljdbc4 -->
  47. <dependency>
  48. <groupId>com.microsoft.sqlserver</groupId>
  49. <artifactId>mssql-jdbc</artifactId>
  50. <version>6.4.0.jre8</version>
  51. <scope>test</scope>
  52. </dependency>
  53. <!-- 分页插件 -->
  54. <dependency>
  55. <groupId>com.github.pagehelper</groupId>
  56. <artifactId>pagehelper</artifactId>
  57. <version>5.1.4</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>druid</artifactId>
  62. <version>1.0.23</version>
  63. </dependency>
  64. <!-- spring 相关jar�?? -->
  65. <dependency>
  66. <groupId>org.springframework</groupId>
  67. <artifactId>spring-core</artifactId>
  68. <version>${spring.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework</groupId>
  72. <artifactId>spring-context</artifactId>
  73. <version>${spring.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework</groupId>
  77. <artifactId>spring-context-support</artifactId>
  78. <version>${spring.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework</groupId>
  82. <artifactId>spring-beans</artifactId>
  83. <version>${spring.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework</groupId>
  87. <artifactId>spring-aop</artifactId>
  88. <version>${spring.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework</groupId>
  92. <artifactId>spring-web</artifactId>
  93. <version>${spring.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework</groupId>
  97. <artifactId>spring-webmvc</artifactId>
  98. <version>${spring.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework</groupId>
  102. <artifactId>spring-tx</artifactId>
  103. <version>${spring.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework</groupId>
  107. <artifactId>spring-jdbc</artifactId>
  108. <version>${spring.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-expression</artifactId>
  113. <version>${spring.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>javax.servlet</groupId>
  117. <artifactId>javax.servlet-api</artifactId>
  118. <version>3.1.0</version>
  119. <scope>provided</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>javax.servlet.jsp</groupId>
  123. <artifactId>jsp-api</artifactId>
  124. <version>2.1</version>
  125. </dependency>
  126. <!-- Jackson JSON Mapper -->
  127. <dependency>
  128. <groupId>org.codehaus.jackson</groupId>
  129. <artifactId>jackson-mapper-asl</artifactId>
  130. <version>1.9.13</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.fasterxml.jackson.core</groupId>
  134. <artifactId>jackson-databind</artifactId>
  135. <version>${jackson.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.fasterxml.jackson.module</groupId>
  139. <artifactId>jackson-module-jaxb-annotations</artifactId>
  140. <version>${jackson.version}</version>
  141. </dependency>
  142. <!-- AOP begin -->
  143. <dependency>
  144. <groupId>org.aspectj</groupId>
  145. <artifactId>aspectjrt</artifactId>
  146. <version>1.7.1</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.aspectj</groupId>
  150. <artifactId>aspectjweaver</artifactId>
  151. <version>1.7.1</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>cglib</groupId>
  155. <artifactId>cglib</artifactId>
  156. <version>2.2.2</version>
  157. <scope>runtime</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>asm</groupId>
  161. <artifactId>asm</artifactId>
  162. <version>3.3.1</version>
  163. <scope>runtime</scope>
  164. </dependency>
  165. <!-- AOP end -->
  166. <!-- LOGGING begin -->
  167. <!-- slf4j -->
  168. <dependency>
  169. <groupId>ch.qos.logback</groupId>
  170. <artifactId>logback-classic</artifactId>
  171. <version>${logback.version}</version>
  172. </dependency>
  173. <!-- 代码直接调用commons-logging会被桥接到slf4j -->
  174. <dependency>
  175. <groupId>org.slf4j</groupId>
  176. <artifactId>jcl-over-slf4j</artifactId>
  177. <version>${slf4j.version}</version>
  178. </dependency>
  179. <!-- 代码直接调用java.util.logging会被桥接到slf4j -->
  180. <dependency>
  181. <groupId>org.slf4j</groupId>
  182. <artifactId>jul-to-slf4j</artifactId>
  183. <version>${slf4j.version}</version>
  184. </dependency>
  185. <!-- log4jdbc -->
  186. <dependency>
  187. <groupId>com.googlecode.log4jdbc</groupId>
  188. <artifactId>log4jdbc</artifactId>
  189. <version>1.2</version>
  190. <scope>runtime</scope>
  191. </dependency>
  192. <!-- LOGGING end -->
  193. <dependency>
  194. <groupId>org.apache.httpcomponents</groupId>
  195. <artifactId>httpclient</artifactId>
  196. <version>4.3.6</version>
  197. </dependency>
  198. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient-cache -->
  199. <dependency>
  200. <groupId>org.apache.httpcomponents</groupId>
  201. <artifactId>httpclient-cache</artifactId>
  202. <version>4.3.6</version>
  203. </dependency>
  204. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
  205. <dependency>
  206. <groupId>org.apache.httpcomponents</groupId>
  207. <artifactId>httpcore</artifactId>
  208. <version>4.3.3</version>
  209. </dependency>
  210. <!-- 文件上传相关�?? -->
  211. <dependency>
  212. <groupId>commons-beanutils</groupId>
  213. <artifactId>commons-beanutils</artifactId>
  214. <version>1.9.3</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.apache.commons</groupId>
  218. <artifactId>commons-lang3</artifactId>
  219. <version>${commons-lang3.version}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>commons-fileupload</groupId>
  223. <artifactId>commons-fileupload</artifactId>
  224. <version>1.3.1</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>commons-io</groupId>
  228. <artifactId>commons-io</artifactId>
  229. <version>2.4</version>
  230. </dependency>
  231. <!-- 代码生成相关 -->
  232. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  233. <dependency>
  234. <groupId>org.projectlombok</groupId>
  235. <artifactId>lombok</artifactId>
  236. <version>1.16.16</version>
  237. </dependency>
  238. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  239. <dependency>
  240. <groupId>com.alibaba</groupId>
  241. <artifactId>fastjson</artifactId>
  242. <version>1.2.46</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>log4j</groupId>
  246. <artifactId>log4j</artifactId>
  247. <version>1.2.17</version>
  248. </dependency>
  249. </dependencies>
  250. <!-- .properties xml进行打包 -->
  251. <build>
  252. <defaultGoal>compile</defaultGoal>
  253. <plugins>
  254. <plugin>
  255. <groupId>org.apache.maven.plugins</groupId>
  256. <artifactId>maven-compiler-plugin</artifactId>
  257. <version>3.8.0</version>
  258. <configuration>
  259. <compilerVersion>1.8</compilerVersion>
  260. <source>1.8</source>
  261. <target>1.8</target>
  262. </configuration>
  263. </plugin>
  264. </plugins>
  265. <resources>
  266. <resource>
  267. <directory>src/main/java</directory>
  268. <includes>
  269. <include>**/*.properties</include>
  270. <include>**/*.xml</include>
  271. <include>**/*.json</include>
  272. <include>**/*.dict</include>
  273. </includes>
  274. <filtering>false</filtering>
  275. </resource>
  276. </resources>
  277. <finalName>push</finalName>
  278. </build>
  279. </project>