pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  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>com.elab.core</groupId>
  7. <artifactId>elab-parent</artifactId>
  8. <packaging>pom</packaging>
  9. <version>3.0.0-SNAPSHOT</version>
  10. <modules>
  11. <module>elab-core</module>
  12. <module>elab-cache</module>
  13. <module>elab-log</module>
  14. <module>elab-spring</module>
  15. <module>elab-db</module>
  16. <module>elab-annotation</module>
  17. <module>elab-mq</module>
  18. <module>elab-mongodb</module>
  19. <!--<module>elab-system-web</module>-->
  20. <module>elab-alert</module>
  21. <module>elab-rocketMQ</module>
  22. <module>elab-es</module>
  23. <module>elab-redis</module>
  24. <module>elab-kafka</module>
  25. <module>elab-test</module>
  26. </modules>
  27. <properties>
  28. <java-version>1.8</java-version>
  29. <profiles.active>test</profiles.active>
  30. <!--<springframework.version>4.3.16.RELEASE</springframework.version>-->
  31. <springframework.version>5.1.3.RELEASE</springframework.version>
  32. <springboot.version>2.0.5.RELEASE</springboot.version>
  33. <mysql.connector.version>5.1.38</mysql.connector.version>
  34. <druid.version>1.1.6</druid.version>
  35. <fastjson.version>1.2.83</fastjson.version>
  36. <swagger_version>2.8.0</swagger_version>
  37. </properties>
  38. <dependencyManagement>
  39. <dependencies>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-autoconfigure</artifactId>
  43. <version>${springboot.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-autoconfigure-processor</artifactId>
  48. <version>${springboot.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <version>${springboot.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.elab.core</groupId>
  57. <artifactId>elab-core</artifactId>
  58. <version>${project.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>mysql</groupId>
  62. <artifactId>mysql-connector-java</artifactId>
  63. <version>${mysql.connector.version}</version>
  64. </dependency>
  65. <!-- Spring Core -->
  66. <dependency>
  67. <groupId>org.springframework</groupId>
  68. <artifactId>spring-core</artifactId>
  69. <version>${springframework.version}</version>
  70. </dependency>
  71. <!-- context -->
  72. <dependency>
  73. <groupId>org.springframework</groupId>
  74. <artifactId>spring-context</artifactId>
  75. <version>${springframework.version}</version>
  76. </dependency>
  77. <!-- context -->
  78. <dependency>
  79. <groupId>org.springframework</groupId>
  80. <artifactId>spring-context-support</artifactId>
  81. <version>${springframework.version}</version>
  82. </dependency>
  83. <!-- jdbc -->
  84. <dependency>
  85. <groupId>org.springframework</groupId>
  86. <artifactId>spring-jdbc</artifactId>
  87. <version>${springframework.version}</version>
  88. </dependency>
  89. <!-- tx -->
  90. <dependency>
  91. <groupId>org.springframework</groupId>
  92. <artifactId>spring-tx</artifactId> <!--spring transaction-->
  93. <version>${springframework.version}</version>
  94. </dependency>
  95. <!-- beans -->
  96. <dependency>
  97. <groupId>org.springframework</groupId>
  98. <artifactId>spring-beans</artifactId>
  99. <version>${springframework.version}</version>
  100. </dependency>
  101. <!-- aop -->
  102. <dependency>
  103. <groupId>org.springframework</groupId>
  104. <artifactId>spring-aop</artifactId>
  105. <version>${springframework.version}</version>
  106. </dependency>
  107. <!-- webmvc -->
  108. <dependency>
  109. <groupId>org.springframework</groupId>
  110. <artifactId>spring-webmvc</artifactId>
  111. <version>${springframework.version}</version>
  112. </dependency>
  113. <!-- web -->
  114. <dependency>
  115. <groupId>org.springframework</groupId>
  116. <artifactId>spring-web</artifactId>
  117. <version>${springframework.version}</version>
  118. </dependency>
  119. <!-- 数据源 -->
  120. <dependency>
  121. <groupId>com.alibaba</groupId>
  122. <artifactId>druid</artifactId>
  123. <version>${druid.version}</version>
  124. </dependency>
  125. <!-- 工具 -->
  126. <dependency>
  127. <groupId>com.alibaba</groupId>
  128. <artifactId>fastjson</artifactId>
  129. <version>${fastjson.version}</version>
  130. </dependency>
  131. <!-- https://mvnrepository.com/artifact/commons-net/commons-net -->
  132. <dependency>
  133. <groupId>commons-net</groupId>
  134. <artifactId>commons-net</artifactId>
  135. <version>3.6</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.aspectj</groupId>
  139. <artifactId>aspectjweaver</artifactId>
  140. <version>1.8.13</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.google.guava</groupId>
  144. <artifactId>guava</artifactId>
  145. <version>27.0.1-jre</version>
  146. </dependency>
  147. <!-- xml解析 -->
  148. <dependency>
  149. <groupId>com.fasterxml.jackson.core</groupId>
  150. <artifactId>jackson-databind</artifactId>
  151. <version>2.9.8</version>
  152. </dependency>
  153. <!-- 中文转pinyin -->
  154. <dependency>
  155. <groupId>com.belerweb</groupId>
  156. <artifactId>pinyin4j</artifactId>
  157. <version>2.5.0</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.codehaus.plexus</groupId>
  161. <artifactId>plexus-utils</artifactId>
  162. <version>3.0.24</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.slf4j</groupId>
  166. <artifactId>slf4j-api</artifactId>
  167. <version>1.7.25</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.slf4j</groupId>
  171. <artifactId>slf4j-log4j12</artifactId>
  172. <version>1.7.25</version>
  173. </dependency>
  174. <!-- log4j 日志 本地存储 -->
  175. <!--<dependency>
  176. <groupId>log4j</groupId>
  177. <artifactId>log4j</artifactId>
  178. <version>1.2.16</version>
  179. </dependency>
  180. -->
  181. <!-- log4 日志 mongodb数据库存储 -->
  182. <!--<dependency>-->
  183. <!--<groupId>org.log4mongo</groupId>-->
  184. <!--<artifactId>log4mongo-java</artifactId>-->
  185. <!--<version>0.9.0</version>-->
  186. <!--</dependency>-->
  187. <dependency>
  188. <groupId>cn.hutool</groupId>
  189. <artifactId>hutool-all</artifactId>
  190. <version>5.3.5</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.springframework.data</groupId>
  194. <artifactId>spring-data-mongodb</artifactId>
  195. <version>2.0.6.RELEASE</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>javax.validation</groupId>
  199. <artifactId>validation-api</artifactId>
  200. <version>2.0.1.Final</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.hibernate</groupId>
  204. <artifactId>hibernate-validator</artifactId>
  205. <version>5.4.1.Final</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.apache.commons</groupId>
  209. <artifactId>commons-lang3</artifactId>
  210. <version>3.7</version>
  211. </dependency>
  212. <!--发送邮件 -->
  213. <dependency>
  214. <groupId>javax.mail</groupId>
  215. <artifactId>mail</artifactId>
  216. <version>1.4.7</version>
  217. </dependency>
  218. <!-- 模板 -->
  219. <dependency>
  220. <groupId>org.freemarker</groupId>
  221. <artifactId>freemarker</artifactId>
  222. <version>2.3.23</version>
  223. </dependency>
  224. <!-- servlet -->
  225. <dependency>
  226. <groupId>javax.servlet</groupId>
  227. <artifactId>javax.servlet-api</artifactId>
  228. <version>3.1.0</version>
  229. </dependency>
  230. <!-- 文件上传 -->
  231. <dependency>
  232. <groupId>commons-fileupload</groupId>
  233. <artifactId>commons-fileupload</artifactId>
  234. <version>1.3.3</version>
  235. </dependency>
  236. <!-- encoding -->
  237. <dependency>
  238. <groupId>org.apache.axis</groupId>
  239. <artifactId>axis</artifactId>
  240. <version>1.4</version>
  241. </dependency>
  242. <!--<dependency>-->
  243. <!--<groupId>com.dianping.cat</groupId>-->
  244. <!--<artifactId>cat-core</artifactId>-->
  245. <!--<version>2.0.0</version>-->
  246. <!--</dependency>-->
  247. <dependency>
  248. <groupId>junit</groupId>
  249. <artifactId>junit</artifactId>
  250. <version>4.12</version>
  251. <scope>test</scope>
  252. </dependency>
  253. <dependency>
  254. <groupId>com.dianping.cat</groupId>
  255. <artifactId>cat-core</artifactId>
  256. <version>3.0.0-SNAPSHOT</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>org.springframework</groupId>
  260. <artifactId>spring-test</artifactId>
  261. <version>${springframework.version}</version>
  262. <scope>test</scope>
  263. </dependency>
  264. <!-- https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api -->
  265. <dependency>
  266. <groupId>javax.annotation</groupId>
  267. <artifactId>javax.annotation-api</artifactId>
  268. <version>1.3.2</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>commons-beanutils</groupId>
  272. <artifactId>commons-beanutils</artifactId>
  273. <version>1.9.3</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>javax.persistence</groupId>
  277. <artifactId>persistence-api</artifactId>
  278. <version>1.0</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>io.springfox</groupId>
  282. <artifactId>springfox-swagger2</artifactId>
  283. <version>${swagger_version}</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>io.springfox</groupId>
  287. <artifactId>springfox-swagger-ui</artifactId>
  288. <version>${swagger_version}</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>io.swagger</groupId>
  292. <artifactId>swagger-annotations</artifactId>
  293. <scope>compile</scope>
  294. <version>1.5.19</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.apache.httpcomponents</groupId>
  298. <artifactId>httpclient</artifactId>
  299. <version>4.5.6</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>com.jay.monitor.data</groupId>
  303. <artifactId>jay-monitor-data-client</artifactId>
  304. <version>1.2-SNAPSHOT</version>
  305. </dependency>
  306. </dependencies>
  307. </dependencyManagement>
  308. <!-- jetty插件 -->
  309. <build>
  310. <plugins>
  311. <plugin>
  312. <groupId>org.apache.maven.plugins</groupId>
  313. <artifactId>maven-compiler-plugin</artifactId>
  314. <version>3.8.1</version>
  315. <configuration>
  316. <source>${java-version}</source>
  317. <target>${java-version}</target>
  318. </configuration>
  319. </plugin>
  320. <!-- 打包源码插件 -->
  321. <plugin>
  322. <groupId>org.apache.maven.plugins</groupId>
  323. <artifactId>maven-source-plugin</artifactId>
  324. <version>3.0.1</version>
  325. <executions>
  326. <execution>
  327. <id>attach-sources</id>
  328. <goals>
  329. <goal>jar</goal>
  330. </goals>
  331. </execution>
  332. </executions>
  333. </plugin>
  334. <!-- 打包javadoc插件 -->
  335. <plugin>
  336. <groupId>org.apache.maven.plugins</groupId>
  337. <artifactId>maven-javadoc-plugin</artifactId>
  338. <version>3.0.1</version>
  339. <executions>
  340. <execution>
  341. <id>attach-javadocs</id>
  342. <goals>
  343. <goal>jar</goal>
  344. </goals>
  345. <configuration>
  346. <!--<additionalparam>-Xdoclint:none</additionalparam>-->
  347. <charset>UTF-8</charset>
  348. <encoding>UTF-8</encoding>
  349. <docencoding>UTF-8</docencoding>
  350. <doclint>none</doclint>
  351. </configuration>
  352. </execution>
  353. </executions>
  354. </plugin>
  355. </plugins>
  356. </build>
  357. <!--mvn -DnewVersion=1.0.0-RELEASE -DgenerateBackupPoms=false versions:set-->
  358. <!--mvn -DnewVersion=2.0.5.3-SNAPSHOT -DgenerateBackupPoms=false versions:set-->
  359. <distributionManagement>
  360. <repository>
  361. <id>releases</id>
  362. <name>Nexus Release Repository</name>
  363. <url>http://101.231.166.56:8081/repository/maven-releases/</url>
  364. </repository>
  365. <snapshotRepository>
  366. <id>snapshots</id>
  367. <name>User Project SNAPSHOTS</name>
  368. <url>http://101.231.166.56:8081/repository/maven-snapshots/</url>
  369. </snapshotRepository>
  370. </distributionManagement>
  371. </project>