pom.xml 4.8 KB
Newer Older
Y
Yiming Liu 已提交
1 2 3 4 5 6 7 8 9
<?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.ctrip.apollo</groupId>
	<artifactId>apollo</artifactId>
	<version>0.0.1</version>
	<name>Apollo</name>
	<packaging>pom</packaging>
Y
Yiming Liu 已提交
10 11
	<description>Ctrip Configuration Center</description>
	<url>https://github.com/ctripcorp/apollo</url>
Y
Yiming Liu 已提交
12 13
	<parent>
		<groupId>com.ctrip.framework</groupId>
Y
Yiming Liu 已提交
14
		<artifactId>framework-parent</artifactId>
Y
Yiming Liu 已提交
15
		<version>0.0.1-SNAPSHOT</version>
Y
Yiming Liu 已提交
16
		<relativePath>framework-parent</relativePath>
Y
Yiming Liu 已提交
17
	</parent>
Y
Yiming Liu 已提交
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
	<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>
	</scm>
	<developers>
		<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</role>
			</roles>
		</developer>
		<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>
	</developers>
	<properties>
		<java.version>1.8</java.version>
	</properties>
Y
Yiming Liu 已提交
66 67 68 69
	<modules>
		<module>apollo-core</module>
		<module>apollo-metaserver</module>
		<module>apollo-client</module>
Y
Yiming 已提交
70
		<module>apollo-configserver</module>
Y
Yiming Liu 已提交
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
		<module>apollo-portal</module>
		<module>apollo-assembly</module>
	</modules>
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>com.ctrip.apollo</groupId>
				<artifactId>apollo-core</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>com.dianping.cat</groupId>
				<artifactId>cat-client</artifactId>
				<version>1.4.4</version>
			</dependency>
			<!--third party -->
			<dependency>
				<groupId>mysql</groupId>
				<artifactId>mysql-connector-java</artifactId>
				<version>5.1.38</version>
			</dependency>
			<!--for test -->
			<dependency>
				<groupId>com.h2database</groupId>
				<artifactId>h2</artifactId>
				<version>1.4.191</version>
			</dependency>
Y
Yiming Liu 已提交
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
			<!-- declare Spring BOMs in order -->
			<dependency>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-starter-parent</artifactId>
				<version>1.3.3.RELEASE</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
			<dependency>
				<groupId>org.springframework.cloud</groupId>
				<artifactId>spring-cloud-config</artifactId>
				<version>1.1.0.M5</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
Y
Yiming Liu 已提交
113 114
		</dependencies>
	</dependencyManagement>
Y
Yiming Liu 已提交
115 116 117 118 119 120 121
	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>
Y
Yiming 已提交
122
	<build>
Y
Yiming Liu 已提交
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.springframework.boot</groupId>
					<artifactId>spring-boot-maven-plugin</artifactId>
					<version>1.3.3.RELEASE</version>
					<executions>
						<execution>
							<goals>
								<goal>repackage</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
			</plugins>
		</pluginManagement>
Y
Yiming 已提交
139
	</build>
Y
Yiming Liu 已提交
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
	<profiles>
		<profile>
			<id>travis</id>
			<activation>
				<property>
					<name>env.TRAVIS</name>
					<value>true</value>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>cobertura-maven-plugin</artifactId>
						<version>2.7</version>
						<configuration>
							<format>xml</format>
							<maxmem>256m</maxmem>
							<aggregate>true</aggregate>
						</configuration>
					</plugin>
					<plugin>
						<groupId>org.eluder.coveralls</groupId>
						<artifactId>coveralls-maven-plugin</artifactId>
Y
Yiming Liu 已提交
164
						<version>4.1.0</version>
Y
Yiming Liu 已提交
165 166 167 168 169
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
170 171 172 173 174 175 176 177 178 179
	<repositories>
		<repository>
			<id>spring-milestones</id>
			<name>Spring Milestones</name>
			<url>https://repo.spring.io/libs-milestone</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
	</repositories>
Y
Yiming Liu 已提交
180 181
</project>