pom.xml 3.5 KB
Newer Older
Z
zhangxin10 已提交
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
wu-sheng's avatar
wu-sheng 已提交
2 3
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
A
ascrutae 已提交
4 5 6
    <parent>
        <artifactId>skywalking</artifactId>
        <groupId>com.a.eye</groupId>
A
ascrutae 已提交
7
        <version>2.2-2017</version>
A
ascrutae 已提交
8
    </parent>
Z
zhangxin10 已提交
9

wu-sheng's avatar
wu-sheng 已提交
10 11
	<artifactId>skywalking-alarm</artifactId>
	<packaging>jar</packaging>
Z
zhangxin10 已提交
12

wu-sheng's avatar
wu-sheng 已提交
13 14
	<name>skywalking-alarm</name>
	<url>http://maven.apache.org</url>
Z
zhangxin10 已提交
15

wu-sheng's avatar
wu-sheng 已提交
16 17 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 66 67 68 69 70 71 72
	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.logging.log4j</groupId>
			<artifactId>log4j-core</artifactId>
			<version>2.4.1</version>
		</dependency>
		<dependency>
			<groupId>redis.clients</groupId>
			<artifactId>jedis</artifactId>
			<version>2.8.0</version>
		</dependency>
		<dependency>
			<groupId>com.sun.mail</groupId>
			<artifactId>javax.mail</artifactId>
			<version>1.5.4</version>
		</dependency>
		<dependency>
			<groupId>org.freemarker</groupId>
			<artifactId>freemarker</artifactId>
			<version>2.3.23</version>
		</dependency>
		<dependency>
			<groupId>org.apache.curator</groupId>
			<artifactId>curator-framework</artifactId>
			<version>2.8.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.zookeeper</groupId>
			<artifactId>zookeeper</artifactId>
			<version>3.4.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.curator</groupId>
			<artifactId>curator-recipes</artifactId>
			<version>2.8.0</version>
		</dependency>
		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
			<version>2.2.2</version>
		</dependency>
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>5.1.37</version>
		</dependency>
		<dependency>
			<groupId>com.zaxxer</groupId>
			<artifactId>HikariCP</artifactId>
			<version>2.4.3</version>
		</dependency>
73 74 75
		<dependency>
			<groupId>com.a.eye</groupId>
			<artifactId>skywalking-util</artifactId>
A
ascrutae 已提交
76
			<version>2.2-2017</version>
77
		</dependency>
wu-sheng's avatar
wu-sheng 已提交
78 79
	</dependencies>
	<build>
A
ascrutae 已提交
80
		<finalName>skywalking-alarm</finalName>
wu-sheng's avatar
wu-sheng 已提交
81 82 83
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
A
ascrutae 已提交
84
				<artifactId>maven-assembly-plugin</artifactId>
wu-sheng's avatar
wu-sheng 已提交
85 86
				<executions>
					<execution>
A
ascrutae 已提交
87
						<id>make-zip</id>
wu-sheng's avatar
wu-sheng 已提交
88 89
						<phase>package</phase>
						<goals>
A
ascrutae 已提交
90
							<goal>single</goal>
wu-sheng's avatar
wu-sheng 已提交
91 92
						</goals>
						<configuration>
A
ascrutae 已提交
93 94 95
							<descriptors>
								<descriptor>src/main/assembly/assembly.xml</descriptor>
							</descriptors>
wu-sheng's avatar
wu-sheng 已提交
96 97 98 99 100 101 102 103 104 105 106 107 108
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
					<excludes>
						<exclude>*.properties</exclude>
						<exclude>*.xml</exclude>
					</excludes>
				</configuration>
			</plugin>
A
ascrutae 已提交
109 110 111 112 113
			<plugin>
				<groupId>com.spotify</groupId>
				<artifactId>docker-maven-plugin</artifactId>
				<version>${docker.plugin.version}</version>
				<configuration>
A
ascrutae 已提交
114 115 116 117
					<skipDocker>false</skipDocker>
					<dockerDirectory>${project.basedir}/docker</dockerDirectory>
					<imageName>skywalking/skywalking-alarm</imageName>
					<imageTags>
A
ascrutae 已提交
118
						<imageTag>2.2-2017</imageTag>
A
ascrutae 已提交
119 120 121 122 123 124 125 126
					</imageTags>
					<resources>
						<resource>
							<targetPath>/</targetPath>
							<directory>${project.build.directory}</directory>
							<include>${build.finalName}.tar</include>
						</resource>
					</resources>
A
ascrutae 已提交
127 128
				</configuration>
			</plugin>
wu-sheng's avatar
wu-sheng 已提交
129 130
		</plugins>
	</build>
Z
zhangxin10 已提交
131
</project>