pom.xml 20 KB

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