pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  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. <dependency>
  47. <groupId>org.mybatis</groupId>
  48. <artifactId>mybatis</artifactId>
  49. <version>${mybatis.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.mybatis</groupId>
  53. <artifactId>mybatis-spring</artifactId>
  54. <version>1.2.2</version>
  55. </dependency>
  56. <!-- https://mvnrepository.com/artifact/com.microsoft.sqlserver/sqljdbc4 -->
  57. <dependency>
  58. <groupId>com.microsoft.sqlserver</groupId>
  59. <artifactId>mssql-jdbc</artifactId>
  60. <version>6.4.0.jre8</version>
  61. <scope>test</scope>
  62. </dependency>
  63. <!-- 分页插件 -->
  64. <dependency>
  65. <groupId>com.github.pagehelper</groupId>
  66. <artifactId>pagehelper</artifactId>
  67. <version>5.1.4</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.alibaba</groupId>
  71. <artifactId>druid</artifactId>
  72. <version>1.0.23</version>
  73. </dependency>
  74. <!-- spring 相关jar�?? -->
  75. <dependency>
  76. <groupId>org.springframework</groupId>
  77. <artifactId>spring-core</artifactId>
  78. <version>${spring.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework</groupId>
  82. <artifactId>spring-context</artifactId>
  83. <version>${spring.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework</groupId>
  87. <artifactId>spring-context-support</artifactId>
  88. <version>${spring.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework</groupId>
  92. <artifactId>spring-beans</artifactId>
  93. <version>${spring.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework</groupId>
  97. <artifactId>spring-aop</artifactId>
  98. <version>${spring.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework</groupId>
  102. <artifactId>spring-web</artifactId>
  103. <version>${spring.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework</groupId>
  107. <artifactId>spring-webmvc</artifactId>
  108. <version>${spring.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-tx</artifactId>
  113. <version>${spring.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework</groupId>
  117. <artifactId>spring-jdbc</artifactId>
  118. <version>${spring.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework</groupId>
  122. <artifactId>spring-expression</artifactId>
  123. <version>${spring.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>javax.servlet</groupId>
  127. <artifactId>javax.servlet-api</artifactId>
  128. <version>3.1.0</version>
  129. <scope>provided</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>javax.servlet.jsp</groupId>
  133. <artifactId>jsp-api</artifactId>
  134. <version>2.1</version>
  135. </dependency>
  136. <!-- Jackson JSON Mapper -->
  137. <dependency>
  138. <groupId>org.codehaus.jackson</groupId>
  139. <artifactId>jackson-mapper-asl</artifactId>
  140. <version>1.9.13</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.fasterxml.jackson.core</groupId>
  144. <artifactId>jackson-databind</artifactId>
  145. <version>${jackson.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.fasterxml.jackson.module</groupId>
  149. <artifactId>jackson-module-jaxb-annotations</artifactId>
  150. <version>${jackson.version}</version>
  151. </dependency>
  152. <!-- AOP begin -->
  153. <dependency>
  154. <groupId>org.aspectj</groupId>
  155. <artifactId>aspectjrt</artifactId>
  156. <version>1.7.1</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.aspectj</groupId>
  160. <artifactId>aspectjweaver</artifactId>
  161. <version>1.7.1</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>cglib</groupId>
  165. <artifactId>cglib</artifactId>
  166. <version>2.2.2</version>
  167. <scope>runtime</scope>
  168. </dependency>
  169. <dependency>
  170. <groupId>asm</groupId>
  171. <artifactId>asm</artifactId>
  172. <version>3.3.1</version>
  173. <scope>runtime</scope>
  174. </dependency>
  175. <!-- AOP end -->
  176. <!-- LOGGING begin -->
  177. <!-- slf4j -->
  178. <dependency>
  179. <groupId>ch.qos.logback</groupId>
  180. <artifactId>logback-classic</artifactId>
  181. <version>${logback.version}</version>
  182. </dependency>
  183. <!-- 代码直接调用commons-logging会被桥接到slf4j -->
  184. <dependency>
  185. <groupId>org.slf4j</groupId>
  186. <artifactId>jcl-over-slf4j</artifactId>
  187. <version>${slf4j.version}</version>
  188. </dependency>
  189. <!-- 代码直接调用java.util.logging会被桥接到slf4j -->
  190. <dependency>
  191. <groupId>org.slf4j</groupId>
  192. <artifactId>jul-to-slf4j</artifactId>
  193. <version>${slf4j.version}</version>
  194. </dependency>
  195. <!-- log4jdbc -->
  196. <dependency>
  197. <groupId>com.googlecode.log4jdbc</groupId>
  198. <artifactId>log4jdbc</artifactId>
  199. <version>1.2</version>
  200. <scope>runtime</scope>
  201. </dependency>
  202. <!-- LOGGING end -->
  203. <dependency>
  204. <groupId>org.apache.httpcomponents</groupId>
  205. <artifactId>httpclient</artifactId>
  206. <version>4.3.6</version>
  207. </dependency>
  208. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient-cache -->
  209. <dependency>
  210. <groupId>org.apache.httpcomponents</groupId>
  211. <artifactId>httpclient-cache</artifactId>
  212. <version>4.3.6</version>
  213. </dependency>
  214. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
  215. <dependency>
  216. <groupId>org.apache.httpcomponents</groupId>
  217. <artifactId>httpcore</artifactId>
  218. <version>4.3.3</version>
  219. </dependency>
  220. <!-- 文件上传相关�?? -->
  221. <dependency>
  222. <groupId>commons-beanutils</groupId>
  223. <artifactId>commons-beanutils</artifactId>
  224. <version>1.9.3</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.apache.commons</groupId>
  228. <artifactId>commons-lang3</artifactId>
  229. <version>${commons-lang3.version}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>commons-fileupload</groupId>
  233. <artifactId>commons-fileupload</artifactId>
  234. <version>1.3.1</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>commons-io</groupId>
  238. <artifactId>commons-io</artifactId>
  239. <version>2.4</version>
  240. </dependency>
  241. <!-- 代码生成相关 -->
  242. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  243. <dependency>
  244. <groupId>org.projectlombok</groupId>
  245. <artifactId>lombok</artifactId>
  246. <version>1.16.16</version>
  247. </dependency>
  248. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  249. <dependency>
  250. <groupId>com.alibaba</groupId>
  251. <artifactId>fastjson</artifactId>
  252. <version>1.2.46</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>log4j</groupId>
  256. <artifactId>log4j</artifactId>
  257. <version>1.2.17</version>
  258. </dependency>
  259. </dependencies>
  260. <!-- .properties xml进行打包 -->
  261. <build>
  262. <defaultGoal>compile</defaultGoal>
  263. <plugins>
  264. <plugin>
  265. <groupId>org.apache.maven.plugins</groupId>
  266. <artifactId>maven-compiler-plugin</artifactId>
  267. <version>3.8.0</version>
  268. <configuration>
  269. <compilerVersion>1.8</compilerVersion>
  270. <source>1.8</source>
  271. <target>1.8</target>
  272. </configuration>
  273. </plugin>
  274. </plugins>
  275. <resources>
  276. <resource>
  277. <directory>src/main/java</directory>
  278. <includes>
  279. <include>**/*.properties</include>
  280. <include>**/*.xml</include>
  281. <include>**/*.json</include>
  282. </includes>
  283. <filtering>false</filtering>
  284. </resource>
  285. </resources>
  286. <finalName>push</finalName>
  287. </build>
  288. </project>