pom.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.ctrip.framework</groupId>
  7. <artifactId>framework-parent</artifactId>
  8. <version>1.3.0</version>
  9. </parent>
  10. <groupId>com.ctrip.framework.apollo</groupId>
  11. <artifactId>apollo</artifactId>
  12. <version>0.5.0</version>
  13. <name>Apollo</name>
  14. <packaging>pom</packaging>
  15. <description>Ctrip Configuration Center</description>
  16. <url>https://ctripcorp.github.io/apollo</url>
  17. <organization>
  18. <name>Ctrip, Inc.</name>
  19. <url>http://www.ctrip.com</url>
  20. </organization>
  21. <licenses>
  22. <license>
  23. <name>Apache License, Version 2.0</name>
  24. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  25. </license>
  26. </licenses>
  27. <scm>
  28. <url>https://github.com/ctripcorp/apollo</url>
  29. <connection>scm:git:git://github.com/ctripcorp/apollo.git</connection>
  30. <developerConnection>scm:git:ssh://git@github.com/ctripcorp/apollo.git</developerConnection>
  31. </scm>
  32. <ciManagement>
  33. <system>Travis CI</system>
  34. <url>https://travis-ci.org/ctripcorp/apollo</url>
  35. </ciManagement>
  36. <issueManagement>
  37. <system>github</system>
  38. <url>https://github.com/ctripcorp/apollo/issues</url>
  39. </issueManagement>
  40. <developers>
  41. <developer>
  42. <id>nobodyiam</id>
  43. <name>Jason(Shun) Song</name>
  44. <email>nobodyiam at gmail.com</email>
  45. <organization>Ctrip, Inc.</organization>
  46. <organizationUrl>http://www.ctrip.com</organizationUrl>
  47. <roles>
  48. <role>Developer</role>
  49. </roles>
  50. </developer>
  51. <developer>
  52. <id>lepdou</id>
  53. <name>Le Zhang</name>
  54. <email>lepdou at gmail.com</email>
  55. <organization>Ctrip, Inc.</organization>
  56. <organizationUrl>http://www.ctrip.com</organizationUrl>
  57. <roles>
  58. <role>Developer</role>
  59. </roles>
  60. </developer>
  61. <developer>
  62. <id>yiming187</id>
  63. <name>Billy(Yiming) Liu</name>
  64. <email>liuyiming.vip at gmail.com</email>
  65. <organization>Ctrip, Inc.</organization>
  66. <organizationUrl>http://www.ctrip.com</organizationUrl>
  67. <roles>
  68. <role>Developer(Inactive)</role>
  69. </roles>
  70. </developer>
  71. </developers>
  72. <properties>
  73. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  74. <java.version>1.8</java.version>
  75. <spring-boot.version>1.3.8.RELEASE</spring-boot.version>
  76. <spring-cloud.version>1.2.3.RELEASE</spring-cloud.version>
  77. <github.global.server>github</github.global.server>
  78. <github.global.oauth2Token>${env.GITHUB_OAUTH_TOKEN}</github.global.oauth2Token>
  79. </properties>
  80. <modules>
  81. <module>apollo-buildtools</module>
  82. <module>apollo-core</module>
  83. <module>apollo-client</module>
  84. <module>apollo-common</module>
  85. <module>apollo-biz</module>
  86. <module>apollo-configservice</module>
  87. <module>apollo-adminservice</module>
  88. <module>apollo-portal</module>
  89. <module>apollo-assembly</module>
  90. <module>apollo-demo</module>
  91. </modules>
  92. <dependencyManagement>
  93. <dependencies>
  94. <dependency>
  95. <groupId>com.ctrip.framework.apollo</groupId>
  96. <artifactId>apollo-core</artifactId>
  97. <version>${project.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.ctrip.framework.apollo</groupId>
  101. <artifactId>apollo-common</artifactId>
  102. <version>${project.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.ctrip.framework.apollo</groupId>
  106. <artifactId>apollo-biz</artifactId>
  107. <version>${project.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.ctrip.framework.apollo</groupId>
  111. <artifactId>apollo-buildtools</artifactId>
  112. <version>${project.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.ctrip.framework.apollo</groupId>
  116. <artifactId>apollo-configservice</artifactId>
  117. <version>${project.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.ctrip.framework.apollo</groupId>
  121. <artifactId>apollo-adminservice</artifactId>
  122. <version>${project.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.ctrip.framework.apollo</groupId>
  126. <artifactId>apollo-portal</artifactId>
  127. <version>${project.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.ctrip.framework</groupId>
  131. <artifactId>framework-foundation</artifactId>
  132. <version>1.5.0</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.dianping.cat</groupId>
  136. <artifactId>cat-client</artifactId>
  137. <version>2.2.3</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.ctrip.platform</groupId>
  141. <artifactId>ctrip-dal-client</artifactId>
  142. <version>1.0.2</version>
  143. <exclusions>
  144. <exclusion>
  145. <artifactId>logback-core</artifactId>
  146. <groupId>ch.qos.logback</groupId>
  147. </exclusion>
  148. <exclusion>
  149. <artifactId>logback-classic</artifactId>
  150. <groupId>ch.qos.logback</groupId>
  151. </exclusion>
  152. <exclusion>
  153. <groupId>commons-logging</groupId>
  154. <artifactId>commons-logging</artifactId>
  155. </exclusion>
  156. <!-- duplicated with xpp3:xpp3_min -->
  157. <exclusion>
  158. <groupId>xmlpull</groupId>
  159. <artifactId>xmlpull</artifactId>
  160. </exclusion>
  161. <!-- duplicated with bcpkix-jdk15on -->
  162. <exclusion>
  163. <groupId>org.bouncycastle</groupId>
  164. <artifactId>bcprov-jdk16</artifactId>
  165. </exclusion>
  166. <!-- duplicated with hibernate-jpa-2.1-api -->
  167. <exclusion>
  168. <groupId>javax.persistence</groupId>
  169. <artifactId>persistence-api</artifactId>
  170. </exclusion>
  171. </exclusions>
  172. </dependency>
  173. <!-- used by ctrip dal -->
  174. <dependency>
  175. <groupId>com.alibaba</groupId>
  176. <artifactId>fastjson</artifactId>
  177. <version>1.2.7</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.ctrip.framework.clogging</groupId>
  181. <artifactId>clogging-agent</artifactId>
  182. <version>3.5.2</version>
  183. <exclusions>
  184. <exclusion>
  185. <artifactId>logback-core</artifactId>
  186. <groupId>ch.qos.logback</groupId>
  187. </exclusion>
  188. <exclusion>
  189. <artifactId>logback-classic</artifactId>
  190. <groupId>ch.qos.logback</groupId>
  191. </exclusion>
  192. <exclusion>
  193. <groupId>commons-logging</groupId>
  194. <artifactId>commons-logging</artifactId>
  195. </exclusion>
  196. </exclusions>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.ctrip.credis</groupId>
  200. <artifactId>credis</artifactId>
  201. <version>2.4.11</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.ctrip.framework</groupId>
  205. <artifactId>vi</artifactId>
  206. <version>0.9.1</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.ctrip.framework.apollo-sso</groupId>
  210. <artifactId>apollo-sso-ctrip</artifactId>
  211. <version>1.1.0</version>
  212. <exclusions>
  213. <!-- partially duplicated with org.ow2.asm:asm -->
  214. <exclusion>
  215. <groupId>asm</groupId>
  216. <artifactId>asm</artifactId>
  217. </exclusion>
  218. </exclusions>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.ctrip.framework.apollo-ctrip-service</groupId>
  222. <artifactId>apollo-email-service</artifactId>
  223. <version>1.0.0</version>
  224. <exclusions>
  225. <exclusion>
  226. <groupId>javax.servlet</groupId>
  227. <artifactId>javax.servlet-api</artifactId>
  228. </exclusion>
  229. <exclusion>
  230. <groupId>commons-logging</groupId>
  231. <artifactId>commons-logging</artifactId>
  232. </exclusion>
  233. <!-- duplicated with commons-collections and commons-beanutils -->
  234. <exclusion>
  235. <groupId>commons-beanutils</groupId>
  236. <artifactId>commons-beanutils-core</artifactId>
  237. </exclusion>
  238. </exclusions>
  239. </dependency>
  240. <!--third party -->
  241. <dependency>
  242. <groupId>mysql</groupId>
  243. <artifactId>mysql-connector-java</artifactId>
  244. <version>5.1.39</version>
  245. </dependency>
  246. <!--for test -->
  247. <dependency>
  248. <groupId>com.h2database</groupId>
  249. <artifactId>h2</artifactId>
  250. <version>1.4.191</version>
  251. </dependency>
  252. <!-- declare Spring BOMs in order -->
  253. <dependency>
  254. <groupId>io.spring.platform</groupId>
  255. <artifactId>platform-bom</artifactId>
  256. <version>2.0.8.RELEASE</version>
  257. <type>pom</type>
  258. <scope>import</scope>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.springframework.cloud</groupId>
  262. <artifactId>spring-cloud-netflix</artifactId>
  263. <version>1.2.3.RELEASE</version>
  264. <type>pom</type>
  265. <scope>import</scope>
  266. </dependency>
  267. <!-- ctrip modified -->
  268. <!-- removed duplicated javax/persistence classes -->
  269. <dependency>
  270. <groupId>com.ctrip.3rdparty.tomcat.embed</groupId>
  271. <artifactId>tomcat-embed-core</artifactId>
  272. <version>8.0.37</version>
  273. <exclusions>
  274. <exclusion>
  275. <groupId>org.apache.tomcat.embed</groupId>
  276. <artifactId>tomcat-embed-logging-juli</artifactId>
  277. </exclusion>
  278. </exclusions>
  279. </dependency>
  280. </dependencies>
  281. </dependencyManagement>
  282. <dependencies>
  283. <dependency>
  284. <groupId>org.springframework.boot</groupId>
  285. <artifactId>spring-boot-starter-test</artifactId>
  286. <scope>test</scope>
  287. </dependency>
  288. </dependencies>
  289. <build>
  290. <pluginManagement>
  291. <plugins>
  292. <plugin>
  293. <groupId>org.springframework.boot</groupId>
  294. <artifactId>spring-boot-maven-plugin</artifactId>
  295. <version>1.3.5.RELEASE</version>
  296. <executions>
  297. <execution>
  298. <goals>
  299. <goal>repackage</goal>
  300. </goals>
  301. </execution>
  302. </executions>
  303. </plugin>
  304. <plugin>
  305. <groupId>org.apache.maven.plugins</groupId>
  306. <artifactId>maven-checkstyle-plugin</artifactId>
  307. <version>2.17</version>
  308. <dependencies>
  309. <dependency>
  310. <groupId>com.puppycrawl.tools</groupId>
  311. <artifactId>checkstyle</artifactId>
  312. <version>6.18</version>
  313. </dependency>
  314. <dependency>
  315. <groupId>com.ctrip.framework.apollo</groupId>
  316. <artifactId>apollo-buildtools</artifactId>
  317. <version>${project.version}</version>
  318. </dependency>
  319. </dependencies>
  320. <configuration>
  321. <configLocation>google_checks.xml</configLocation>
  322. <headerLocation>LICENSE-2.0.txt</headerLocation>
  323. <failOnViolation>false</failOnViolation>
  324. <consoleOutput>true</consoleOutput>
  325. </configuration>
  326. </plugin>
  327. <plugin>
  328. <groupId>org.codehaus.mojo</groupId>
  329. <artifactId>findbugs-maven-plugin</artifactId>
  330. <version>3.0.3</version>
  331. <configuration>
  332. <xmlOutput>true</xmlOutput>
  333. <effort>Max</effort>
  334. <threshold>Low</threshold>
  335. <failOnError>false</failOnError>
  336. </configuration>
  337. </plugin>
  338. <plugin>
  339. <groupId>org.codehaus.mojo</groupId>
  340. <artifactId>cobertura-maven-plugin</artifactId>
  341. <version>2.7</version>
  342. <dependencies>
  343. <dependency>
  344. <groupId>ch.qos.logback</groupId>
  345. <artifactId>logback-classic</artifactId>
  346. <version>1.1.7</version>
  347. </dependency>
  348. </dependencies>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.apache.maven.plugins</groupId>
  352. <artifactId>maven-assembly-plugin</artifactId>
  353. <version>2.6</version>
  354. </plugin>
  355. <plugin>
  356. <groupId>org.codehaus.mojo</groupId>
  357. <artifactId>versions-maven-plugin</artifactId>
  358. <version>2.2</version>
  359. </plugin>
  360. <!-- Need to set releases.repo and snapshots.repo properties in your .m2/settings.xml -->
  361. </plugins>
  362. </pluginManagement>
  363. <plugins>
  364. <plugin>
  365. <groupId>org.apache.maven.plugins</groupId>
  366. <artifactId>maven-checkstyle-plugin</artifactId>
  367. </plugin>
  368. <plugin>
  369. <groupId>org.codehaus.mojo</groupId>
  370. <artifactId>findbugs-maven-plugin</artifactId>
  371. </plugin>
  372. <plugin>
  373. <groupId>org.codehaus.mojo</groupId>
  374. <artifactId>versions-maven-plugin</artifactId>
  375. </plugin>
  376. <plugin>
  377. <groupId>org.apache.maven.plugins</groupId>
  378. <artifactId>maven-jar-plugin</artifactId>
  379. <configuration>
  380. <archive>
  381. <manifest>
  382. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  383. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  384. </manifest>
  385. </archive>
  386. </configuration>
  387. </plugin>
  388. <plugin>
  389. <groupId>pl.project13.maven</groupId>
  390. <artifactId>git-commit-id-plugin</artifactId>
  391. <version>2.2.0</version>
  392. <executions>
  393. <execution>
  394. <goals>
  395. <goal>revision</goal>
  396. </goals>
  397. </execution>
  398. </executions>
  399. <configuration>
  400. <verbose>true</verbose>
  401. <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
  402. <generateGitPropertiesFile>true</generateGitPropertiesFile>
  403. <failOnNoGitDirectory>false</failOnNoGitDirectory>
  404. </configuration>
  405. </plugin>
  406. </plugins>
  407. <resources>
  408. <resource>
  409. <directory>src/main/resources</directory>
  410. <filtering>true</filtering>
  411. <includes>
  412. <include>**/*.yml</include>
  413. <include>**/*.yaml</include>
  414. <include>**/*.properties</include>
  415. <include>**/*.xml</include>
  416. </includes>
  417. </resource>
  418. <resource>
  419. <directory>src/main/resources</directory>
  420. <filtering>false</filtering>
  421. <excludes>
  422. <exclude>**/*.yml</exclude>
  423. <exclude>**/*.yaml</exclude>
  424. <exclude>**/*.properties</exclude>
  425. <exclude>**/*.xml</exclude>
  426. </excludes>
  427. </resource>
  428. </resources>
  429. </build>
  430. <profiles>
  431. <profile>
  432. <!-- for travis usage -->
  433. <id>travis</id>
  434. <activation>
  435. <property>
  436. <name>env.TRAVIS</name>
  437. <value>true</value>
  438. </property>
  439. </activation>
  440. <build>
  441. <plugins>
  442. <plugin>
  443. <groupId>com.github.github</groupId>
  444. <artifactId>site-maven-plugin</artifactId>
  445. <version>0.12</version>
  446. <configuration>
  447. <message>Site for ${project.artifactId}, ${project.version}</message>
  448. <path>${github.path}</path>
  449. <merge>true</merge>
  450. </configuration>
  451. <executions>
  452. <execution>
  453. <goals>
  454. <goal>site</goal>
  455. </goals>
  456. <phase>site</phase>
  457. </execution>
  458. </executions>
  459. </plugin>
  460. <plugin>
  461. <groupId>org.jacoco</groupId>
  462. <artifactId>jacoco-maven-plugin</artifactId>
  463. <version>0.7.6.201602180812</version>
  464. <executions>
  465. <execution>
  466. <id>prepare-agent</id>
  467. <goals>
  468. <goal>prepare-agent</goal>
  469. </goals>
  470. </execution>
  471. </executions>
  472. </plugin>
  473. <plugin>
  474. <groupId>org.eluder.coveralls</groupId>
  475. <artifactId>coveralls-maven-plugin</artifactId>
  476. <version>4.2.0</version>
  477. </plugin>
  478. </plugins>
  479. </build>
  480. <repositories>
  481. <repository>
  482. <id>internal.repo</id>
  483. <url>https://raw.github.com/ctripcorp/apollo/mvn-repo/</url>
  484. </repository>
  485. </repositories>
  486. </profile>
  487. <profile>
  488. <!-- for open source usage -->
  489. <id>dev</id>
  490. <properties>
  491. <package.environment>dev</package.environment>
  492. </properties>
  493. <activation>
  494. <activeByDefault>true</activeByDefault>
  495. </activation>
  496. <repositories>
  497. <repository>
  498. <id>internal.repo</id>
  499. <url>https://raw.github.com/ctripcorp/apollo/mvn-repo/</url>
  500. </repository>
  501. </repositories>
  502. </profile>
  503. <profile>
  504. <!-- for ctrip development -->
  505. <id>ctrip-dev</id>
  506. <properties>
  507. <package.environment>dev</package.environment>
  508. </properties>
  509. <dependencyManagement>
  510. <dependencies>
  511. <dependency>
  512. <groupId>org.springframework.boot</groupId>
  513. <artifactId>spring-boot-starter-web</artifactId>
  514. <version>${spring-boot.version}</version>
  515. <exclusions>
  516. <exclusion>
  517. <groupId>org.apache.tomcat.embed</groupId>
  518. <artifactId>tomcat-embed-logging-juli</artifactId>
  519. </exclusion>
  520. <!-- use ctrip modified version instead -->
  521. <exclusion>
  522. <groupId>org.apache.tomcat.embed</groupId>
  523. <artifactId>tomcat-embed-core</artifactId>
  524. </exclusion>
  525. </exclusions>
  526. </dependency>
  527. <!-- eureka -->
  528. <dependency>
  529. <groupId>org.springframework.cloud</groupId>
  530. <artifactId>spring-cloud-starter-eureka</artifactId>
  531. <version>${spring-cloud.version}</version>
  532. <exclusions>
  533. <!-- already in java -->
  534. <exclusion>
  535. <groupId>stax</groupId>
  536. <artifactId>stax-api</artifactId>
  537. </exclusion>
  538. <exclusion>
  539. <groupId>javax.xml.stream</groupId>
  540. <artifactId>stax-api</artifactId>
  541. </exclusion>
  542. <!-- duplicated with spring-security-core -->
  543. <exclusion>
  544. <groupId>org.springframework.security</groupId>
  545. <artifactId>spring-security-crypto</artifactId>
  546. </exclusion>
  547. <!-- duplicated with xpp3:xpp3_min -->
  548. <exclusion>
  549. <groupId>xmlpull</groupId>
  550. <artifactId>xmlpull</artifactId>
  551. </exclusion>
  552. <!-- duplicated with netty-all -->
  553. <exclusion>
  554. <groupId>io.netty</groupId>
  555. <artifactId>netty-codec-http</artifactId>
  556. </exclusion>
  557. <exclusion>
  558. <groupId>io.netty</groupId>
  559. <artifactId>netty-buffer</artifactId>
  560. </exclusion>
  561. <exclusion>
  562. <groupId>io.netty</groupId>
  563. <artifactId>netty-common</artifactId>
  564. </exclusion>
  565. <exclusion>
  566. <groupId>io.netty</groupId>
  567. <artifactId>netty-transport-native-epoll</artifactId>
  568. </exclusion>
  569. <exclusion>
  570. <groupId>io.netty</groupId>
  571. <artifactId>netty-transport</artifactId>
  572. </exclusion>
  573. <!-- duplicated with commons-collections and commons-beanutils -->
  574. <exclusion>
  575. <groupId>commons-beanutils</groupId>
  576. <artifactId>commons-beanutils-core</artifactId>
  577. </exclusion>
  578. </exclusions>
  579. </dependency>
  580. <!-- end of eureka -->
  581. </dependencies>
  582. </dependencyManagement>
  583. <dependencies>
  584. <dependency>
  585. <groupId>com.ctrip.3rdparty.tomcat.embed</groupId>
  586. <artifactId>tomcat-embed-core</artifactId>
  587. </dependency>
  588. </dependencies>
  589. </profile>
  590. <profile>
  591. <!-- for ctrip development with logging capability -->
  592. <id>ctrip-logging</id>
  593. <dependencies>
  594. <dependency>
  595. <groupId>com.dianping.cat</groupId>
  596. <artifactId>cat-client</artifactId>
  597. </dependency>
  598. <dependency>
  599. <groupId>com.ctrip.framework.clogging</groupId>
  600. <artifactId>clogging-agent</artifactId>
  601. </dependency>
  602. </dependencies>
  603. </profile>
  604. <profile>
  605. <!-- for ctrip production -->
  606. <id>ctrip</id>
  607. <dependencyManagement>
  608. <dependencies>
  609. <dependency>
  610. <groupId>org.springframework.boot</groupId>
  611. <artifactId>spring-boot-starter-web</artifactId>
  612. <version>${spring-boot.version}</version>
  613. <exclusions>
  614. <exclusion>
  615. <groupId>org.apache.tomcat.embed</groupId>
  616. <artifactId>tomcat-embed-logging-juli</artifactId>
  617. </exclusion>
  618. <!-- use ctrip modified version instead -->
  619. <exclusion>
  620. <groupId>org.apache.tomcat.embed</groupId>
  621. <artifactId>tomcat-embed-core</artifactId>
  622. </exclusion>
  623. </exclusions>
  624. </dependency>
  625. <!-- eureka -->
  626. <dependency>
  627. <groupId>org.springframework.cloud</groupId>
  628. <artifactId>spring-cloud-starter-eureka</artifactId>
  629. <version>${spring-cloud.version}</version>
  630. <exclusions>
  631. <!-- already in java -->
  632. <exclusion>
  633. <groupId>stax</groupId>
  634. <artifactId>stax-api</artifactId>
  635. </exclusion>
  636. <exclusion>
  637. <groupId>javax.xml.stream</groupId>
  638. <artifactId>stax-api</artifactId>
  639. </exclusion>
  640. <!-- duplicated with spring-security-core -->
  641. <exclusion>
  642. <groupId>org.springframework.security</groupId>
  643. <artifactId>spring-security-crypto</artifactId>
  644. </exclusion>
  645. <!-- duplicated with xpp3:xpp3_min -->
  646. <exclusion>
  647. <groupId>xmlpull</groupId>
  648. <artifactId>xmlpull</artifactId>
  649. </exclusion>
  650. <!-- duplicated with netty-all -->
  651. <exclusion>
  652. <groupId>io.netty</groupId>
  653. <artifactId>netty-codec-http</artifactId>
  654. </exclusion>
  655. <exclusion>
  656. <groupId>io.netty</groupId>
  657. <artifactId>netty-buffer</artifactId>
  658. </exclusion>
  659. <exclusion>
  660. <groupId>io.netty</groupId>
  661. <artifactId>netty-common</artifactId>
  662. </exclusion>
  663. <exclusion>
  664. <groupId>io.netty</groupId>
  665. <artifactId>netty-transport-native-epoll</artifactId>
  666. </exclusion>
  667. <exclusion>
  668. <groupId>io.netty</groupId>
  669. <artifactId>netty-transport</artifactId>
  670. </exclusion>
  671. <!-- duplicated with commons-collections and commons-beanutils -->
  672. <exclusion>
  673. <groupId>commons-beanutils</groupId>
  674. <artifactId>commons-beanutils-core</artifactId>
  675. </exclusion>
  676. </exclusions>
  677. </dependency>
  678. <!-- end of eureka -->
  679. </dependencies>
  680. </dependencyManagement>
  681. <dependencies>
  682. <dependency>
  683. <groupId>com.dianping.cat</groupId>
  684. <artifactId>cat-client</artifactId>
  685. </dependency>
  686. <dependency>
  687. <groupId>com.ctrip.3rdparty.tomcat.embed</groupId>
  688. <artifactId>tomcat-embed-core</artifactId>
  689. </dependency>
  690. <dependency>
  691. <groupId>com.ctrip.framework.clogging</groupId>
  692. <artifactId>clogging-agent</artifactId>
  693. </dependency>
  694. <dependency>
  695. <groupId>com.ctrip.platform</groupId>
  696. <artifactId>ctrip-dal-client</artifactId>
  697. </dependency>
  698. </dependencies>
  699. </profile>
  700. </profiles>
  701. <reporting>
  702. <plugins>
  703. <plugin>
  704. <groupId>org.apache.maven.plugins</groupId>
  705. <artifactId>maven-project-info-reports-plugin</artifactId>
  706. <version>2.9</version>
  707. <reportSets>
  708. <reportSet>
  709. <reports>
  710. <report>index</report>
  711. <report>summary</report>
  712. <report>dependency-info</report>
  713. <report>project-team</report>
  714. <report>scm</report>
  715. <report>issue-tracking</report>
  716. <report>mailing-list</report>
  717. <!-- <report>dependency-management</report> -->
  718. <!-- <report>dependencies</report> -->
  719. <!-- <report>dependency-convergence</report> -->
  720. <report>cim</report>
  721. <report>plugin-management</report>
  722. <report>plugins</report>
  723. <report>distribution-management</report>
  724. <report>license</report>
  725. <report>modules</report>
  726. </reports>
  727. </reportSet>
  728. </reportSets>
  729. </plugin>
  730. <plugin>
  731. <groupId>org.apache.maven.plugins</groupId>
  732. <artifactId>maven-checkstyle-plugin</artifactId>
  733. <version>2.17</version>
  734. <configuration>
  735. <configLocation>google_checks.xml</configLocation>
  736. <headerLocation>LICENSE-2.0.txt</headerLocation>
  737. </configuration>
  738. </plugin>
  739. <plugin>
  740. <groupId>org.apache.maven.plugins</groupId>
  741. <artifactId>maven-pmd-plugin</artifactId>
  742. <version>3.6</version>
  743. <configuration>
  744. <aggregate>true</aggregate>
  745. </configuration>
  746. </plugin>
  747. <plugin>
  748. <groupId>org.codehaus.mojo</groupId>
  749. <artifactId>findbugs-maven-plugin</artifactId>
  750. <version>3.0.3</version>
  751. </plugin>
  752. </plugins>
  753. </reporting>
  754. </project>