pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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.yihu.hos</groupId>
  7. <artifactId>hos-parent</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.3.0</version>
  10. <properties>
  11. <hos-version>1.3.0</hos-version>
  12. <spring-boot-version>1.4.5.RELEASE</spring-boot-version>
  13. <spring-cloud-version>1.2.6.RELEASE</spring-cloud-version>
  14. <camel-version>2.19.1</camel-version>
  15. <cxf-version>3.1.9</cxf-version>
  16. <hawtio-version>1.5.0</hawtio-version>
  17. <commons-dbcp2-version>2.1.1</commons-dbcp2-version>
  18. <commons-io-version>2.4</commons-io-version>
  19. <commons-collections4-version>4.0</commons-collections4-version>
  20. <commons-fileupload-version>1.3.1</commons-fileupload-version>
  21. <commons-lang3-version>3.3.2</commons-lang3-version>
  22. <commons-net-version>3.3</commons-net-version>
  23. <commons-beanutils-version>1.9.2</commons-beanutils-version>
  24. <commons-codec-version>1.10</commons-codec-version>
  25. <activemq-version>5.7.0</activemq-version>
  26. <zbus-version>7.2.0</zbus-version>
  27. <bundle-plugin-version>2.3.7</bundle-plugin-version>
  28. <deltaspike-version>1.7.2</deltaspike-version>
  29. <hystrix-version>1.5.9</hystrix-version>
  30. <javax-mail-version>1.5.5</javax-mail-version>
  31. <jolokia-version>1.3.5</jolokia-version>
  32. <jetty-plugin-version>8.1.17.v20150415</jetty-plugin-version>
  33. <jetty9-plugin-version>9.2.19.v20160908</jetty9-plugin-version>
  34. <junit-version>4.12</junit-version>
  35. <karaf-version>4.0.8</karaf-version>
  36. <jackson-version>2.8.5</jackson-version>
  37. <json-lib-version>2.4</json-lib-version>
  38. <slf4j-version>1.7.21</slf4j-version>
  39. <!-- TODO need to update to 3.2.0 for everything like in chapter19/hawtio-custom-plugin -->
  40. <maven-bundle-plugin-version>2.3.7</maven-bundle-plugin-version>
  41. <mock-javamail-version>1.9</mock-javamail-version>
  42. <swagger-version>1.5.12</swagger-version>
  43. <xbean-version>3.18</xbean-version>
  44. <verx-version>3.3.3</verx-version>
  45. <weld-version>2.4.2.Final</weld-version>
  46. <wildfly-swarm-version>2017.3.3</wildfly-swarm-version>
  47. <zip4j-version>1.3.2</zip4j-version>
  48. <okhttp-version>3.4.1</okhttp-version>
  49. <pinyin4j-version>2.5.0</pinyin4j-version>
  50. <mongo-java-driver-version>3.2.2</mongo-java-driver-version>
  51. <mysql-connector-java-version>5.1.37</mysql-connector-java-version>
  52. <springfox-swagger2-version>2.4.0</springfox-swagger2-version>
  53. <mine-util-version>2.1.3</mine-util-version>
  54. <sigar-version>1.6.4</sigar-version>
  55. <jsch-version>0.1.53</jsch-version>
  56. <tiles-version>3.0.5</tiles-version>
  57. <java.version>1.8</java.version>
  58. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  59. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  60. <java.version>1.8</java.version>
  61. </properties>
  62. <!--用于发布到服务器 对应setting的对应server表情里面的id -->
  63. <distributionManagement>
  64. <repository>
  65. <id>releases</id>
  66. <name>Releases</name>
  67. <url>http://172.19.103.43:8081/nexus/content/repositories/releases/</url>
  68. </repository>
  69. <snapshotRepository>
  70. <id>snapshots</id>
  71. <name>Snapshots</name>
  72. <url>http://172.19.103.43:8081/nexus/content/repositories/snapshots/</url>
  73. </snapshotRepository>
  74. </distributionManagement>
  75. <repositories>
  76. <repository>
  77. <id>repositoryCentral</id>
  78. <name>repositoryCentral</name>
  79. <url>http://172.19.103.43:8081/nexus/content/repositories/central/</url>
  80. </repository>
  81. <repository>
  82. <id>repositoryReleases</id>
  83. <name>repositoryReleases</name>
  84. <url>http://172.19.103.43:8081/nexus/content/repositories/releases/</url>
  85. </repository>
  86. </repositories>
  87. <build>
  88. <defaultGoal>install</defaultGoal>
  89. <pluginManagement>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.apache.maven.plugins</groupId>
  93. <artifactId>maven-war-plugin</artifactId>
  94. <version>2.4</version>
  95. <configuration>
  96. <failOnMissingWebXml>false</failOnMissingWebXml>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-compiler-plugin</artifactId>
  102. <version>3.3</version>
  103. <configuration>
  104. <source>1.8</source>
  105. <target>1.8</target>
  106. <maxmem>512M</maxmem>
  107. <showDeprecation>true</showDeprecation>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-resources-plugin</artifactId>
  113. <version>2.4.3</version>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-clean-plugin</artifactId>
  118. <version>2.4.1</version>
  119. <configuration>
  120. <filesets>
  121. <fileset>
  122. <directory>activemq-data</directory>
  123. </fileset>
  124. </filesets>
  125. </configuration>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-install-plugin</artifactId>
  130. <version>2.5.2</version>
  131. </plugin>
  132. <plugin>
  133. <artifactId>maven-remote-resources-plugin</artifactId>
  134. <version>1.5</version>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-jar-plugin</artifactId>
  139. <version>2.6</version>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-dependency-plugin</artifactId>
  144. <version>2.10</version>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.apache.maven.plugins</groupId>
  148. <artifactId>maven-surefire-plugin</artifactId>
  149. <version>2.18.1</version>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-checkstyle-plugin</artifactId>
  154. <version>2.15</version>
  155. </plugin>
  156. <plugin>
  157. <groupId>org.codehaus.mojo</groupId>
  158. <artifactId>exec-maven-plugin</artifactId>
  159. <version>1.4.0</version>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.apache.camel</groupId>
  163. <artifactId>camel-maven-plugin</artifactId>
  164. <version>${camel-version}</version>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.apache.camel</groupId>
  168. <artifactId>camel-package-maven-plugin</artifactId>
  169. <version>${camel-version}</version>
  170. </plugin>
  171. <plugin>
  172. <groupId>io.hawt</groupId>
  173. <artifactId>hawtio-maven-plugin</artifactId>
  174. <version>${hawtio-version}</version>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.felix</groupId>
  178. <artifactId>maven-bundle-plugin</artifactId>
  179. <version>${bundle-plugin-version}</version>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.apache.camel</groupId>
  183. <artifactId>camel-api-component-maven-plugin</artifactId>
  184. <version>${camel-version}</version>
  185. </plugin>
  186. <plugin>
  187. <groupId>org.codehaus.mojo</groupId>
  188. <artifactId>build-helper-maven-plugin</artifactId>
  189. <version>1.10</version>
  190. </plugin>
  191. </plugins>
  192. </pluginManagement>
  193. <plugins>
  194. <plugin>
  195. <groupId>org.apache.maven.plugins</groupId>
  196. <artifactId>maven-surefire-plugin</artifactId>
  197. <configuration>
  198. <childDelegation>false</childDelegation>
  199. <useFile>true</useFile>
  200. <failIfNoTests>false</failIfNoTests>
  201. <includes>
  202. <include>**/*Test.java</include>
  203. </includes>
  204. </configuration>
  205. </plugin>
  206. </plugins>
  207. </build>
  208. <dependencyManagement>
  209. <dependencies>
  210. <!-- import Spring Boot before Camel -->
  211. <dependency>
  212. <groupId>org.springframework.boot</groupId>
  213. <artifactId>spring-boot-dependencies</artifactId>
  214. <version>${spring-boot-version}</version>
  215. <type>pom</type>
  216. <scope>import</scope>
  217. </dependency>
  218. <!-- Camel -->
  219. <dependency>
  220. <groupId>org.apache.camel</groupId>
  221. <artifactId>camel-parent</artifactId>
  222. <version>${camel-version}</version>
  223. <scope>import</scope>
  224. <type>pom</type>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.apache.camel</groupId>
  228. <artifactId>camel-spring-boot-starter</artifactId>
  229. <version>${camel-version}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.apache.camel</groupId>
  233. <artifactId>camel-core</artifactId>
  234. <version>${camel-version}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.apache.camel</groupId>
  238. <artifactId>spi-annotations</artifactId>
  239. <version>${camel-version}</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.apache.camel</groupId>
  243. <artifactId>camel-jetty</artifactId>
  244. <version>${camel-version}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>org.apache.camel</groupId>
  248. <artifactId>camel-jms</artifactId>
  249. <version>${camel-version}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.apache.camel</groupId>
  253. <artifactId>camel-stream</artifactId>
  254. <version>${camel-version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.apache.camel</groupId>
  258. <artifactId>camel-http4</artifactId>
  259. <version>${camel-version}</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.apache.camel</groupId>
  263. <artifactId>camel-cxf</artifactId>
  264. <version>${camel-version}</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.apache.camel</groupId>
  268. <artifactId>camel-quartz</artifactId>
  269. <version>${camel-version}</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.apache.camel</groupId>
  273. <artifactId>camel-quartz2</artifactId>
  274. <version>${camel-version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.apache.camel</groupId>
  278. <artifactId>camel-xmljson</artifactId>
  279. <version>${camel-version}</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>org.apache.camel</groupId>
  283. <artifactId>camel-stream</artifactId>
  284. <version>${camel-version}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>org.apache.camel</groupId>
  288. <artifactId>camel-mongodb</artifactId>
  289. <version>${camel-version}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.apache.camel</groupId>
  293. <artifactId>camel-restlet</artifactId>
  294. <version>${camel-version}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.apache.camel</groupId>
  298. <artifactId>camel-servlet</artifactId>
  299. <version>${camel-version}</version>
  300. </dependency>
  301. <!-- camel end -->
  302. <!-- ActiveMQ -->
  303. <dependency>
  304. <groupId>org.apache.activemq</groupId>
  305. <artifactId>activemq-core</artifactId>
  306. <version>${activemq-version}</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.apache.activemq</groupId>
  310. <artifactId>activemq-camel</artifactId>
  311. <version>${activemq-version}</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>org.apache.activemq</groupId>
  315. <artifactId>activemq-pool</artifactId>
  316. <version>${activemq-version}</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>org.apache.xbean</groupId>
  320. <artifactId>xbean-spring</artifactId>
  321. <version>${xbean-version}</version>
  322. <exclusions>
  323. <exclusion>
  324. <groupId>org.springframework</groupId>
  325. <artifactId>spring</artifactId>
  326. </exclusion>
  327. </exclusions>
  328. </dependency>
  329. <dependency>
  330. <groupId>org.zbus</groupId>
  331. <artifactId>zbus</artifactId>
  332. <version>${zbus-version}</version>
  333. </dependency>
  334. <!-- Logging -->
  335. <dependency>
  336. <groupId>org.slf4j</groupId>
  337. <artifactId>slf4j-api</artifactId>
  338. <version>${slf4j-version}</version>
  339. </dependency>
  340. <!-- Testing -->
  341. <dependency>
  342. <groupId>junit</groupId>
  343. <artifactId>junit</artifactId>
  344. <version>${junit-version}</version>
  345. </dependency>
  346. <!-- Jolokia -->
  347. <dependency>
  348. <groupId>org.jolokia</groupId>
  349. <artifactId>jolokia-core</artifactId>
  350. <version>${jolokia-version}</version>
  351. </dependency>
  352. <!--commons start-->
  353. <dependency>
  354. <groupId>org.apache.commons</groupId>
  355. <artifactId>commons-collections4</artifactId>
  356. <version>${commons-collections4-version}</version>
  357. </dependency>
  358. <dependency>
  359. <groupId>commons-io</groupId>
  360. <artifactId>commons-io</artifactId>
  361. <version>${commons-io-version}</version>
  362. </dependency>
  363. <dependency>
  364. <groupId>commons-fileupload</groupId>
  365. <artifactId>commons-fileupload</artifactId>
  366. <version>${commons-fileupload-version}</version>
  367. </dependency>
  368. <dependency>
  369. <groupId>org.apache.commons</groupId>
  370. <artifactId>commons-lang3</artifactId>
  371. <version>${commons-lang3-version}</version>
  372. </dependency>
  373. <dependency>
  374. <groupId>commons-net</groupId>
  375. <artifactId>commons-net</artifactId>
  376. <version>${commons-net-version}</version>
  377. </dependency>
  378. <dependency>
  379. <groupId>commons-beanutils</groupId>
  380. <artifactId>commons-beanutils</artifactId>
  381. <version>${commons-beanutils-version}</version>
  382. </dependency>
  383. <dependency>
  384. <groupId>commons-codec</groupId>
  385. <artifactId>commons-codec</artifactId>
  386. <version>${commons-codec-version}</version>
  387. </dependency>
  388. <!--commons end-->
  389. <dependency>
  390. <groupId>net.lingala.zip4j</groupId>
  391. <artifactId>zip4j</artifactId>
  392. <version>${zip4j-version}</version>
  393. </dependency>
  394. <dependency>
  395. <groupId>com.squareup.okhttp3</groupId>
  396. <artifactId>okhttp</artifactId>
  397. <version>${okhttp-version}</version>
  398. </dependency>
  399. <dependency>
  400. <groupId>com.belerweb</groupId>
  401. <artifactId>pinyin4j</artifactId>
  402. <version>${pinyin4j-version}</version>
  403. </dependency>
  404. <dependency>
  405. <groupId>io.springfox</groupId>
  406. <artifactId>springfox-swagger2</artifactId>
  407. <version>${springfox-swagger2-version}</version>
  408. </dependency>
  409. <dependency>
  410. <groupId>io.springfox</groupId>
  411. <artifactId>springfox-swagger-ui</artifactId>
  412. <version>${springfox-swagger2-version}</version>
  413. </dependency>
  414. <dependency>
  415. <groupId>eu.medsea.mimeutil</groupId>
  416. <artifactId>mime-util</artifactId>
  417. <version>${mine-util-version}</version>
  418. </dependency>
  419. <dependency>
  420. <groupId>org.fusesource</groupId>
  421. <artifactId>sigar</artifactId>
  422. <version>${sigar-version}</version>
  423. </dependency>
  424. <dependency>
  425. <groupId>com.jcraft</groupId>
  426. <artifactId>jsch</artifactId>
  427. <version>${jsch-version}</version>
  428. </dependency>
  429. <dependency>
  430. <groupId>net.sf.json-lib</groupId>
  431. <artifactId>json-lib</artifactId>
  432. <version>${json-lib-version}</version>
  433. </dependency>
  434. </dependencies>
  435. </dependencyManagement>
  436. </project>