pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  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. <pluginRepositories>
  63. <pluginRepository>
  64. <id>pluginCentral</id>
  65. <name>pluginCentral</name>
  66. <url>http://172.19.103.43:8081/nexus/content/repositories/central/</url>
  67. </pluginRepository>
  68. <pluginRepository>
  69. <id>pluginReleases</id>
  70. <name>pluginReleases</name>
  71. <url>http://172.19.103.43:8081/nexus/content/repositories/releases/</url>
  72. </pluginRepository>
  73. </pluginRepositories>
  74. <!--用于发布到服务器 对应setting的对应server表情里面的id -->
  75. <distributionManagement>
  76. <repository>
  77. <id>Releases</id>
  78. <name>Releases</name>
  79. <url>http://172.19.103.43:8081/nexus/content/repositories/releases/</url>
  80. </repository>
  81. <snapshotRepository>
  82. <id>snapshots</id>
  83. <name>Snapshots</name>
  84. <url>http://172.19.103.43:8081/nexus/content/repositories/snapshots/</url>
  85. </snapshotRepository>
  86. </distributionManagement>
  87. <repositories>
  88. <repository>
  89. <id>repositoryCentral</id>
  90. <name>repositoryCentral</name>
  91. <url>http://172.19.103.43:8081/nexus/content/repositories/central/</url>
  92. </repository>
  93. <repository>
  94. <id>repositoryReleases</id>
  95. <name>repositoryReleases</name>
  96. <url>http://172.19.103.43:8081/nexus/content/repositories/releases/</url>
  97. </repository>
  98. </repositories>
  99. <build>
  100. <defaultGoal>install</defaultGoal>
  101. <pluginManagement>
  102. <plugins>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-war-plugin</artifactId>
  106. <version>2.4</version>
  107. <configuration>
  108. <failOnMissingWebXml>false</failOnMissingWebXml>
  109. </configuration>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-compiler-plugin</artifactId>
  114. <version>3.3</version>
  115. <configuration>
  116. <source>1.8</source>
  117. <target>1.8</target>
  118. <maxmem>512M</maxmem>
  119. <showDeprecation>true</showDeprecation>
  120. </configuration>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-resources-plugin</artifactId>
  125. <version>2.4.3</version>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-clean-plugin</artifactId>
  130. <version>2.4.1</version>
  131. <configuration>
  132. <filesets>
  133. <fileset>
  134. <directory>activemq-data</directory>
  135. </fileset>
  136. </filesets>
  137. </configuration>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-install-plugin</artifactId>
  142. <version>2.5.2</version>
  143. </plugin>
  144. <plugin>
  145. <artifactId>maven-remote-resources-plugin</artifactId>
  146. <version>1.5</version>
  147. </plugin>
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-jar-plugin</artifactId>
  151. <version>2.6</version>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-dependency-plugin</artifactId>
  156. <version>2.10</version>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-surefire-plugin</artifactId>
  161. <version>2.18.1</version>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-checkstyle-plugin</artifactId>
  166. <version>2.15</version>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.codehaus.mojo</groupId>
  170. <artifactId>exec-maven-plugin</artifactId>
  171. <version>1.4.0</version>
  172. </plugin>
  173. <plugin>
  174. <groupId>org.apache.camel</groupId>
  175. <artifactId>camel-maven-plugin</artifactId>
  176. <version>${camel-version}</version>
  177. </plugin>
  178. <plugin>
  179. <groupId>org.apache.camel</groupId>
  180. <artifactId>camel-package-maven-plugin</artifactId>
  181. <version>${camel-version}</version>
  182. </plugin>
  183. <plugin>
  184. <groupId>io.hawt</groupId>
  185. <artifactId>hawtio-maven-plugin</artifactId>
  186. <version>${hawtio-version}</version>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.apache.felix</groupId>
  190. <artifactId>maven-bundle-plugin</artifactId>
  191. <version>${bundle-plugin-version}</version>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.apache.camel</groupId>
  195. <artifactId>camel-api-component-maven-plugin</artifactId>
  196. <version>${camel-version}</version>
  197. </plugin>
  198. <plugin>
  199. <groupId>org.codehaus.mojo</groupId>
  200. <artifactId>build-helper-maven-plugin</artifactId>
  201. <version>1.10</version>
  202. </plugin>
  203. </plugins>
  204. </pluginManagement>
  205. <plugins>
  206. <plugin>
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-surefire-plugin</artifactId>
  209. <configuration>
  210. <childDelegation>false</childDelegation>
  211. <useFile>true</useFile>
  212. <failIfNoTests>false</failIfNoTests>
  213. <includes>
  214. <include>**/*Test.java</include>
  215. </includes>
  216. </configuration>
  217. </plugin>
  218. </plugins>
  219. </build>
  220. <dependencyManagement>
  221. <dependencies>
  222. <!-- import Spring Boot before Camel -->
  223. <dependency>
  224. <groupId>org.springframework.boot</groupId>
  225. <artifactId>spring-boot-dependencies</artifactId>
  226. <version>${spring-boot-version}</version>
  227. <type>pom</type>
  228. <scope>import</scope>
  229. </dependency>
  230. <!-- Camel -->
  231. <dependency>
  232. <groupId>org.apache.camel</groupId>
  233. <artifactId>camel-parent</artifactId>
  234. <version>${camel-version}</version>
  235. <scope>import</scope>
  236. <type>pom</type>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.apache.camel</groupId>
  240. <artifactId>camel-spring-boot-starter</artifactId>
  241. <version>${camel-version}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.apache.camel</groupId>
  245. <artifactId>camel-core</artifactId>
  246. <version>${camel-version}</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.apache.camel</groupId>
  250. <artifactId>spi-annotations</artifactId>
  251. <version>${camel-version}</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.apache.camel</groupId>
  255. <artifactId>camel-jetty</artifactId>
  256. <version>${camel-version}</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>org.apache.camel</groupId>
  260. <artifactId>camel-jms</artifactId>
  261. <version>${camel-version}</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.apache.camel</groupId>
  265. <artifactId>camel-stream</artifactId>
  266. <version>${camel-version}</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>org.apache.camel</groupId>
  270. <artifactId>camel-http4</artifactId>
  271. <version>${camel-version}</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.apache.camel</groupId>
  275. <artifactId>camel-cxf</artifactId>
  276. <version>${camel-version}</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.apache.camel</groupId>
  280. <artifactId>camel-quartz</artifactId>
  281. <version>${camel-version}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.camel</groupId>
  285. <artifactId>camel-quartz2</artifactId>
  286. <version>${camel-version}</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.apache.camel</groupId>
  290. <artifactId>camel-xmljson</artifactId>
  291. <version>${camel-version}</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.apache.camel</groupId>
  295. <artifactId>camel-stream</artifactId>
  296. <version>${camel-version}</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.apache.camel</groupId>
  300. <artifactId>camel-mongodb</artifactId>
  301. <version>${camel-version}</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.apache.camel</groupId>
  305. <artifactId>camel-restlet</artifactId>
  306. <version>${camel-version}</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.apache.camel</groupId>
  310. <artifactId>camel-servlet</artifactId>
  311. <version>${camel-version}</version>
  312. </dependency>
  313. <!-- camel end -->
  314. <!-- ActiveMQ -->
  315. <dependency>
  316. <groupId>org.apache.activemq</groupId>
  317. <artifactId>activemq-core</artifactId>
  318. <version>${activemq-version}</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>org.apache.activemq</groupId>
  322. <artifactId>activemq-camel</artifactId>
  323. <version>${activemq-version}</version>
  324. </dependency>
  325. <dependency>
  326. <groupId>org.apache.activemq</groupId>
  327. <artifactId>activemq-pool</artifactId>
  328. <version>${activemq-version}</version>
  329. </dependency>
  330. <dependency>
  331. <groupId>org.apache.xbean</groupId>
  332. <artifactId>xbean-spring</artifactId>
  333. <version>${xbean-version}</version>
  334. <exclusions>
  335. <exclusion>
  336. <groupId>org.springframework</groupId>
  337. <artifactId>spring</artifactId>
  338. </exclusion>
  339. </exclusions>
  340. </dependency>
  341. <dependency>
  342. <groupId>org.zbus</groupId>
  343. <artifactId>zbus</artifactId>
  344. <version>${zbus-version}</version>
  345. </dependency>
  346. <!-- Logging -->
  347. <dependency>
  348. <groupId>org.slf4j</groupId>
  349. <artifactId>slf4j-api</artifactId>
  350. <version>${slf4j-version}</version>
  351. </dependency>
  352. <!-- Testing -->
  353. <dependency>
  354. <groupId>junit</groupId>
  355. <artifactId>junit</artifactId>
  356. <version>${junit-version}</version>
  357. </dependency>
  358. <!-- Jolokia -->
  359. <dependency>
  360. <groupId>org.jolokia</groupId>
  361. <artifactId>jolokia-core</artifactId>
  362. <version>${jolokia-version}</version>
  363. </dependency>
  364. <!--commons start-->
  365. <dependency>
  366. <groupId>org.apache.commons</groupId>
  367. <artifactId>commons-collections4</artifactId>
  368. <version>${commons-collections4-version}</version>
  369. </dependency>
  370. <dependency>
  371. <groupId>commons-io</groupId>
  372. <artifactId>commons-io</artifactId>
  373. <version>${commons-io-version}</version>
  374. </dependency>
  375. <dependency>
  376. <groupId>commons-fileupload</groupId>
  377. <artifactId>commons-fileupload</artifactId>
  378. <version>${commons-fileupload-version}</version>
  379. </dependency>
  380. <dependency>
  381. <groupId>org.apache.commons</groupId>
  382. <artifactId>commons-lang3</artifactId>
  383. <version>${commons-lang3-version}</version>
  384. </dependency>
  385. <dependency>
  386. <groupId>commons-net</groupId>
  387. <artifactId>commons-net</artifactId>
  388. <version>${commons-net-version}</version>
  389. </dependency>
  390. <dependency>
  391. <groupId>commons-beanutils</groupId>
  392. <artifactId>commons-beanutils</artifactId>
  393. <version>${commons-beanutils-version}</version>
  394. </dependency>
  395. <dependency>
  396. <groupId>commons-codec</groupId>
  397. <artifactId>commons-codec</artifactId>
  398. <version>${commons-codec-version}</version>
  399. </dependency>
  400. <!--commons end-->
  401. <dependency>
  402. <groupId>net.lingala.zip4j</groupId>
  403. <artifactId>zip4j</artifactId>
  404. <version>${zip4j-version}</version>
  405. </dependency>
  406. <dependency>
  407. <groupId>com.squareup.okhttp3</groupId>
  408. <artifactId>okhttp</artifactId>
  409. <version>${okhttp-version}</version>
  410. </dependency>
  411. <dependency>
  412. <groupId>com.belerweb</groupId>
  413. <artifactId>pinyin4j</artifactId>
  414. <version>${pinyin4j-version}</version>
  415. </dependency>
  416. <dependency>
  417. <groupId>io.springfox</groupId>
  418. <artifactId>springfox-swagger2</artifactId>
  419. <version>${springfox-swagger2-version}</version>
  420. </dependency>
  421. <dependency>
  422. <groupId>io.springfox</groupId>
  423. <artifactId>springfox-swagger-ui</artifactId>
  424. <version>${springfox-swagger2-version}</version>
  425. </dependency>
  426. <dependency>
  427. <groupId>eu.medsea.mimeutil</groupId>
  428. <artifactId>mime-util</artifactId>
  429. <version>${mine-util-version}</version>
  430. </dependency>
  431. <dependency>
  432. <groupId>org.fusesource</groupId>
  433. <artifactId>sigar</artifactId>
  434. <version>${sigar-version}</version>
  435. </dependency>
  436. <dependency>
  437. <groupId>com.jcraft</groupId>
  438. <artifactId>jsch</artifactId>
  439. <version>${jsch-version}</version>
  440. </dependency>
  441. <dependency>
  442. <groupId>net.sf.json-lib</groupId>
  443. <artifactId>json-lib</artifactId>
  444. <version>${json-lib-version}</version>
  445. </dependency>
  446. </dependencies>
  447. </dependencyManagement>
  448. </project>