123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.yihu.jkzl</groupId>
- <artifactId>apollo</artifactId>
- <version>1.1.0-RELEASE</version>
- <name>Apollo</name>
- <packaging>pom</packaging>
- <description>Ctrip Configuration Center</description>
- <url>https://github.com/ctripcorp/apollo</url>
- <organization>
- <name>Ctrip, Inc.</name>
- <url>http://www.ctrip.com</url>
- </organization>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
- <scm>
- <url>https://github.com/ctripcorp/apollo</url>
- <connection>scm:git:git://github.com/ctripcorp/apollo.git</connection>
- <developerConnection>scm:git:ssh://git@github.com/ctripcorp/apollo.git</developerConnection>
- </scm>
- <ciManagement>
- <system>Travis CI</system>
- <url>https://travis-ci.org/ctripcorp/apollo</url>
- </ciManagement>
- <issueManagement>
- <system>github</system>
- <url>https://github.com/ctripcorp/apollo/issues</url>
- </issueManagement>
- <developers>
- <developer>
- <id>nobodyiam</id>
- <name>Jason(Shun) Song</name>
- <email>nobodyiam at gmail.com</email>
- <organization>Ctrip, Inc.</organization>
- <organizationUrl>http://www.ctrip.com</organizationUrl>
- <roles>
- <role>Developer</role>
- </roles>
- </developer>
- <developer>
- <id>lepdou</id>
- <name>Le Zhang</name>
- <email>lepdou at gmail.com</email>
- <organization>Ctrip, Inc.</organization>
- <organizationUrl>http://www.ctrip.com</organizationUrl>
- <roles>
- <role>Developer</role>
- </roles>
- </developer>
- <developer>
- <id>yiming187</id>
- <name>Billy(Yiming) Liu</name>
- <email>liuyiming.vip at gmail.com</email>
- <organization>Ctrip, Inc.</organization>
- <organizationUrl>http://www.ctrip.com</organizationUrl>
- <roles>
- <role>Developer(Inactive)</role>
- </roles>
- </developer>
- </developers>
- <properties>
- <java.version>1.8</java.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <!--<spring-boot.version>1.3.8.RELEASE</spring-boot.version>-->
- <spring-boot.version>1.5.9.RELEASE</spring-boot.version>
- <spring-cloud.version>1.3.4.RELEASE</spring-cloud.version>
- <!-- Plugins Version -->
- <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
- <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
- <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
- <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
- <maven-war-plugin.version>3.0.0</maven-war-plugin.version>
- <maven-install-plugin.version>2.5.2</maven-install-plugin.version>
- <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
- <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
- <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
- <!-- for travis usage -->
- <github.global.server>github</github.global.server>
- <github.global.oauth2Token>${env.GITHUB_OAUTH_TOKEN}</github.global.oauth2Token>
- </properties>
- <modules>
- <module>apollo-buildtools</module>
- <module>apollo-core</module>
- <module>apollo-client</module>
- <module>apollo-common</module>
- <module>apollo-biz</module>
- <module>apollo-configservice</module>
- <module>apollo-adminservice</module>
- <module>apollo-portal</module>
- <module>apollo-assembly</module>
- <module>apollo-demo</module>
- <module>apollo-mockserver</module>
- </modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starters</artifactId>
- <version>${spring-boot.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot</artifactId>
- <version>${spring-boot.version}</version>
- </dependency>
- <dependency>
- <groupId>com.yihu.jkzl</groupId>
- <artifactId>apollo-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.yihu.jkzl</groupId>
- <artifactId>apollo-client</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.yihu.jkzl</groupId>
- <artifactId>apollo-common</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.yihu.jkzl</groupId>
- <artifactId>apollo-biz</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.yihu.jkzl</groupId>
- <artifactId>apollo-buildtools</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.yihu.jkzl</groupId>
- <artifactId>apollo-configservice</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.yihu.jkzl</groupId>
- <artifactId>apollo-adminservice</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.yihu.jkzl</groupId>
- <artifactId>apollo-portal</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- ctrip internal dependencies, only used when ctrip profiles are enabled -->
- <dependency>
- <groupId>com.dianping.cat</groupId>
- <artifactId>cat-client</artifactId>
- <version>2.2.3</version>
- </dependency>
- <dependency>
- <groupId>com.ctrip.platform</groupId>
- <artifactId>ctrip-dal-client</artifactId>
- <version>1.0.2</version>
- <exclusions>
- <exclusion>
- <artifactId>logback-core</artifactId>
- <groupId>ch.qos.logback</groupId>
- </exclusion>
- <exclusion>
- <artifactId>logback-classic</artifactId>
- <groupId>ch.qos.logback</groupId>
- </exclusion>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- <!-- duplicated with xpp3:xpp3_min -->
- <exclusion>
- <groupId>xmlpull</groupId>
- <artifactId>xmlpull</artifactId>
- </exclusion>
- <!-- duplicated with bcpkix-jdk15on -->
- <exclusion>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk16</artifactId>
- </exclusion>
- <!-- duplicated with hibernate-jpa-2.1-api -->
- <exclusion>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.ctrip.framework.clogging</groupId>
- <artifactId>clogging-agent</artifactId>
- <version>3.5.2</version>
- <exclusions>
- <exclusion>
- <artifactId>logback-core</artifactId>
- <groupId>ch.qos.logback</groupId>
- </exclusion>
- <exclusion>
- <artifactId>logback-classic</artifactId>
- <groupId>ch.qos.logback</groupId>
- </exclusion>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.ctrip.credis</groupId>
- <artifactId>credis</artifactId>
- <version>2.4.11</version>
- </dependency>
- <dependency>
- <groupId>com.ctrip.framework</groupId>
- <artifactId>vi</artifactId>
- <version>0.9.1</version>
- </dependency>
- <dependency>
- <groupId>com.ctrip.framework.apollo-sso</groupId>
- <artifactId>apollo-sso-ctrip</artifactId>
- <version>1.1.0</version>
- <exclusions>
- <!-- partially duplicated with org.ow2.asm:asm -->
- <exclusion>
- <groupId>asm</groupId>
- <artifactId>asm</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.ctrip.framework.apollo-ctrip-service</groupId>
- <artifactId>apollo-email-service</artifactId>
- <version>1.0.0</version>
- <exclusions>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- <!-- duplicated with commons-collections and commons-beanutils -->
- <exclusion>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--third party -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.7.21</version>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>19.0</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.8.0</version>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.46</version>
- </dependency>
- <dependency>
- <groupId>com.google.inject</groupId>
- <artifactId>guice</artifactId>
- <version>4.1.0</version>
- </dependency>
- <!--for test -->
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.4.191</version>
- </dependency>
- <!-- declare Spring BOMs in order -->
- <!-- https://mvnrepository.com/artifact/io.spring.platform/platform-bom -->
- <dependency>
- <groupId>io.spring.platform</groupId>
- <artifactId>platform-bom</artifactId>
- <version>Brussels-RELEASE</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-netflix</artifactId>
- <version>${spring-cloud.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <!-- ctrip modified -->
- <!-- removed duplicated javax/persistence classes -->
- <dependency>
- <groupId>com.ctrip.3rdparty.tomcat.embed</groupId>
- <artifactId>tomcat-embed-core</artifactId>
- <version>8.0.37</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.tomcat.embed</groupId>
- <artifactId>tomcat-embed-logging-juli</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <version>1.5.9.RELEASE</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven-compiler-plugin.version}</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${maven-surefire-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>${maven-source-plugin.version}</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${maven-jar-plugin.version}</version>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>${maven-javadoc-plugin.version}</version>
- <executions>
- <execution>
- <id>attach-javadoc</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <doclint>none</doclint>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <show>public</show>
- <charset>UTF-8</charset>
- <encoding>UTF-8</encoding>
- <docencoding>UTF-8</docencoding>
- <links>
- <link>http://docs.oracle.com/javase/7/docs/api</link>
- </links>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>${maven-war-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>${maven-install-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${maven-deploy-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>${maven-gpg-plugin.version}</version>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>1.3.5.RELEASE</version>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>3.0.3</version>
- <configuration>
- <xmlOutput>true</xmlOutput>
- <effort>Max</effort>
- <threshold>Low</threshold>
- <failOnError>false</failOnError>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <version>2.7</version>
- <dependencies>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>1.1.7</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.6</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>versions-maven-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <!-- Need to set releases.repo and snapshots.repo properties in your .m2/settings.xml -->
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>versions-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>pl.project13.maven</groupId>
- <artifactId>git-commit-id-plugin</artifactId>
- <version>2.2.0</version>
- <executions>
- <execution>
- <goals>
- <goal>revision</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <verbose>true</verbose>
- <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
- <generateGitPropertiesFile>true</generateGitPropertiesFile>
- <failOnNoGitDirectory>false</failOnNoGitDirectory>
- </configuration>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- <includes>
- <include>**/*.yml</include>
- <include>**/*.yaml</include>
- <include>**/*.properties</include>
- <include>**/*.xml</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>false</filtering>
- <excludes>
- <exclude>**/*.yml</exclude>
- <exclude>**/*.yaml</exclude>
- <exclude>**/*.properties</exclude>
- <exclude>**/*.xml</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>src/main/config</directory>
- <filtering>true</filtering>
- <includes>
- <include>application-github.properties</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/config</directory>
- <filtering>false</filtering>
- <excludes>
- <exclude>application-github.properties</exclude>
- </excludes>
- </resource>
- </resources>
- </build>
- <profiles>
- <profile>
- <!-- for travis usage -->
- <id>travis</id>
- <activation>
- <property>
- <name>env.TRAVIS</name>
- <value>true</value>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>com.github.github</groupId>
- <artifactId>site-maven-plugin</artifactId>
- <version>0.12</version>
- <configuration>
- <message>Site for ${project.artifactId}, ${project.version}</message>
- <path>${github.path}</path>
- <merge>true</merge>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>site</goal>
- </goals>
- <phase>site</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.6.201602180812</version>
- <executions>
- <execution>
- <id>prepare-agent</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.eluder.coveralls</groupId>
- <artifactId>coveralls-maven-plugin</artifactId>
- <version>4.2.0</version>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <!-- for open source usage -->
- <id>github</id>
- <properties>
- <package.environment>github</package.environment>
- </properties>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- <profile>
- <!-- for ctrip development -->
- <id>ctrip-dev</id>
- <properties>
- <package.environment>ctrip</package.environment>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <version>${spring-boot.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.tomcat.embed</groupId>
- <artifactId>tomcat-embed-logging-juli</artifactId>
- </exclusion>
- <!-- use ctrip modified version instead -->
- <exclusion>
- <groupId>org.apache.tomcat.embed</groupId>
- <artifactId>tomcat-embed-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- eureka -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-eureka</artifactId>
- <version>${spring-cloud.version}</version>
- <exclusions>
- <!-- already in java -->
- <exclusion>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.xml.stream</groupId>
- <artifactId>stax-api</artifactId>
- </exclusion>
- <!-- duplicated with spring-security-core -->
- <exclusion>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-crypto</artifactId>
- </exclusion>
- <!-- duplicated with xpp3:xpp3_min -->
- <exclusion>
- <groupId>xmlpull</groupId>
- <artifactId>xmlpull</artifactId>
- </exclusion>
- <!-- duplicated with netty-all -->
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-http</artifactId>
- </exclusion>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-buffer</artifactId>
- </exclusion>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-common</artifactId>
- </exclusion>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-native-epoll</artifactId>
- </exclusion>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport</artifactId>
- </exclusion>
- <!-- duplicated with commons-collections and commons-beanutils -->
- <exclusion>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils-core</artifactId>
- </exclusion>
- <!-- duplicated with spring-aop -->
- <exclusion>
- <groupId>aopalliance</groupId>
- <artifactId>aopalliance</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- end of eureka -->
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.ctrip.3rdparty.tomcat.embed</groupId>
- <artifactId>tomcat-embed-core</artifactId>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <!-- for ctrip development with logging capability -->
- <id>ctrip-logging</id>
- <dependencies>
- <dependency>
- <groupId>com.dianping.cat</groupId>
- <artifactId>cat-client</artifactId>
- </dependency>
- <dependency>
- <groupId>com.ctrip.framework.clogging</groupId>
- <artifactId>clogging-agent</artifactId>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <!-- for ctrip production -->
- <id>ctrip</id>
- <properties>
- <package.environment>ctrip</package.environment>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <version>${spring-boot.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.tomcat.embed</groupId>
- <artifactId>tomcat-embed-logging-juli</artifactId>
- </exclusion>
- <!-- use ctrip modified version instead -->
- <exclusion>
- <groupId>org.apache.tomcat.embed</groupId>
- <artifactId>tomcat-embed-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- eureka -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-eureka</artifactId>
- <version>${spring-cloud.version}</version>
- <exclusions>
- <!-- already in java -->
- <exclusion>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.xml.stream</groupId>
- <artifactId>stax-api</artifactId>
- </exclusion>
- <!-- duplicated with spring-security-core -->
- <exclusion>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-crypto</artifactId>
- </exclusion>
- <!-- duplicated with xpp3:xpp3_min -->
- <exclusion>
- <groupId>xmlpull</groupId>
- <artifactId>xmlpull</artifactId>
- </exclusion>
- <!-- duplicated with netty-all -->
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-http</artifactId>
- </exclusion>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-buffer</artifactId>
- </exclusion>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-common</artifactId>
- </exclusion>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-native-epoll</artifactId>
- </exclusion>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport</artifactId>
- </exclusion>
- <!-- duplicated with commons-collections and commons-beanutils -->
- <exclusion>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils-core</artifactId>
- </exclusion>
- <!-- duplicated with spring-aop -->
- <exclusion>
- <groupId>aopalliance</groupId>
- <artifactId>aopalliance</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- end of eureka -->
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.dianping.cat</groupId>
- <artifactId>cat-client</artifactId>
- </dependency>
- <dependency>
- <groupId>com.ctrip.3rdparty.tomcat.embed</groupId>
- <artifactId>tomcat-embed-core</artifactId>
- </dependency>
- <dependency>
- <groupId>com.ctrip.framework.clogging</groupId>
- <artifactId>clogging-agent</artifactId>
- </dependency>
- <dependency>
- <groupId>com.ctrip.platform</groupId>
- <artifactId>ctrip-dal-client</artifactId>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>release</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.9</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>index</report>
- <report>summary</report>
- <report>dependency-info</report>
- <report>project-team</report>
- <report>scm</report>
- <report>issue-tracking</report>
- <report>mailing-list</report>
- <!-- <report>dependency-management</report> -->
- <!-- <report>dependencies</report> -->
- <!-- <report>dependency-convergence</report> -->
- <report>cim</report>
- <report>plugin-management</report>
- <report>plugins</report>
- <report>distribution-management</report>
- <report>license</report>
- <report>modules</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.17</version>
- <configuration>
- <configLocation>google_checks.xml</configLocation>
- <headerLocation>LICENSE-2.0.txt</headerLocation>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>3.6</version>
- <configuration>
- <aggregate>true</aggregate>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>3.0.3</version>
- </plugin>
- </plugins>
- </reporting>
- <!--deploy 的时候发布到这个服务器-->
- <distributionManagement>
- <repository>
- <id>jkzlRepositories</id>
- <name>jkzl_releases</name>
- <url>http://172.19.103.43:8081/nexus/content/repositories/jkzlRepositories</url>
- </repository>
- </distributionManagement>
- <!-- 私有仓库 -->
- <repositories>
- <repository>
- <id>public</id>
- <name>public</name>
- <url>http://172.19.103.43:8081/nexus/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
- <!--<distributionManagement>
- <repository>
- <id>releases</id>
- <url>${releases.repo}</url>
- </repository>
- <snapshotRepository>
- <id>snapshots</id>
- <url>${snapshots.repo}</url>
- </snapshotRepository>
- </distributionManagement>-->
- </project>
|