pom.xml 1.6 KB
Newer Older
Y
Yiming Liu 已提交
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"
Y
Yiming Liu 已提交
3 4 5 6 7 8 9 10 11 12
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<parent>
		<groupId>com.ctrip.apollo</groupId>
		<artifactId>apollo</artifactId>
		<version>0.0.1-SNAPSHOT</version>
		<relativePath>../pom.xml</relativePath>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>apollo-portal</artifactId>
	<name>Apollo Portal</name>
Y
Yiming Liu 已提交
13 14 15
	<properties>
		<github.path>${project.artifactId}</github.path>
	</properties>
Y
Yiming Liu 已提交
16 17 18
	<dependencies>
		<dependency>
			<groupId>com.ctrip.apollo</groupId>
Y
Yiming Liu 已提交
19
			<artifactId>apollo-common</artifactId>
Y
Yiming Liu 已提交
20
		</dependency>
21 22 23 24 25
		<dependency>
			<groupId>com.ctrip.apollo</groupId>
			<artifactId>apollo-buildtools</artifactId>
			<scope>test</scope>
		</dependency>
Y
Yiming Liu 已提交
26
	</dependencies>
Y
Yiming Liu 已提交
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>
Y
Yiming Liu 已提交
56
</project>