pom.xml 10 KB

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