pom.xml 2.02 KB
Newer Older
Yiming Liu committed
1 2
<?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"
3 4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<parent>
5
		<groupId>com.ctrip.framework.apollo</groupId>
6
		<artifactId>apollo</artifactId>
Jason Song committed
7
		<version>0.6.0-SNAPSHOT</version>
8 9 10 11 12
		<relativePath>../pom.xml</relativePath>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>apollo-portal</artifactId>
	<name>Apollo Portal</name>
Yiming Liu committed
13 14 15
	<properties>
		<github.path>${project.artifactId}</github.path>
	</properties>
16 17
	<dependencies>
		<dependency>
18
			<groupId>com.ctrip.framework.apollo</groupId>
Yiming Liu committed
19
			<artifactId>apollo-common</artifactId>
20
		</dependency>
lepdou committed
21 22 23 24 25
		<dependency>
			<groupId>com.h2database</groupId>
			<artifactId>h2</artifactId>
			<scope>test</scope>
		</dependency>
26
	</dependencies>
Yiming Liu committed
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
	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<configuration>
					<executable>true</executable>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<configuration>
							<finalName>${project.artifactId}-${project.version}-${package.environment}</finalName>
							<appendAssemblyId>false</appendAssemblyId>
							<descriptors>
								<descriptor>src/assembly/assembly-descriptor.xml</descriptor>
							</descriptors>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
lepdou committed
56 57 58 59 60
	<profiles>
		<profile>
			<id>ctrip</id>
			<dependencies>
				<dependency>
61 62
					<groupId>com.ctrip.framework.apollo-sso</groupId>
					<artifactId>apollo-sso-ctrip</artifactId>
lepdou committed
63
				</dependency>
64 65 66 67
				<dependency>
					<groupId>com.ctrip.framework.apollo-ctrip-service</groupId>
					<artifactId>apollo-email-service</artifactId>
				</dependency>
lepdou committed
68 69 70
			</dependencies>
		</profile>
	</profiles>
Yiming Liu committed
71
</project>