pom.xml 5.8 KB
Newer Older
wu-sheng's avatar
wu-sheng 已提交
1
<?xml version="1.0" encoding="UTF-8"?>
P
test  
pengys5 已提交
2 3 4
<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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
wu-sheng's avatar
wu-sheng 已提交
5

P
test  
pengys5 已提交
6 7 8
	<groupId>com.a.eye</groupId>
	<artifactId>skywalking</artifactId>
	<version>3.0-2017</version>
wu-sheng's avatar
wu-sheng 已提交
9

P
test  
pengys5 已提交
10 11 12 13 14 15
	<licenses>
		<license>
			<name>GNU GENERAL PUBLIC LICENSE V3</name>
			<url>https://github.com/wu-sheng/sky-walking/blob/master/LICENSE</url>
		</license>
	</licenses>
wu-sheng's avatar
wu-sheng 已提交
16

P
test  
pengys5 已提交
17 18 19 20 21 22 23 24 25 26 27
	<developers>
		<developer>
			<name>Wu Sheng</name>
			<email>wu.sheng@foxmail.com</email>
			<url>https://wu-sheng.github.io/me/</url>
		</developer>
		<developer>
			<name>Zhang Xin</name>
			<url>https://github.com/ascrutae</url>
		</developer>
	</developers>
wu-sheng's avatar
wu-sheng 已提交
28

P
test  
pengys5 已提交
29 30 31 32 33 34 35
	<modules>
		<module>skywalking-commons</module>
		<module>skywalking-sniffer</module>
		<module>skywalking-application-toolkit</module>
		<module>skywalking-collector</module>
	</modules>
	<packaging>pom</packaging>
wu-sheng's avatar
wu-sheng 已提交
36

P
test  
pengys5 已提交
37 38
	<name>skywalking</name>
	<url>https://github.com/wu-sheng/sky-walking</url>
wu-sheng's avatar
wu-sheng 已提交
39

P
test  
pengys5 已提交
40 41 42 43
	<issueManagement>
		<system>GitHub</system>
		<url>https://github.com/wu-sheng/sky-walking/issues</url>
	</issueManagement>
wu-sheng's avatar
wu-sheng 已提交
44

P
test  
pengys5 已提交
45 46 47 48
	<ciManagement>
		<system>travis</system>
		<url>https://travis-ci.org/wu-sheng/sky-walking</url>
	</ciManagement>
wu-sheng's avatar
wu-sheng 已提交
49

P
test  
pengys5 已提交
50 51 52 53 54 55 56
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<compiler.version>1.8</compiler.version>
		<scala.compiler.version>2.11.7</scala.compiler.version>
		<powermock.version>1.6.4</powermock.version>
		<docker.plugin.version>0.4.13</docker.plugin.version>
	</properties>
wu-sheng's avatar
wu-sheng 已提交
57

58 59
    <dependencies>
        <dependency>
60 61 62 63 64 65
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>2.8.0</version>
        </dependency>

        <dependency>
66 67 68 69 70 71 72
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
A
ascrutae 已提交
73
            <artifactId>mockito-all</artifactId>
74 75 76
            <version>1.10.19</version>
            <scope>test</scope>
        </dependency>
A
ascrutae 已提交
77 78 79 80 81 82 83 84 85 86 87 88
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-junit4</artifactId>
            <version>${powermock.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-mockito</artifactId>
            <version>${powermock.version}</version>
            <scope>test</scope>
        </dependency>
89
    </dependencies>
wu-sheng's avatar
wu-sheng 已提交
90

91 92 93 94 95
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
A
ascrutae 已提交
96 97
                    <source>${compiler.version}</source>
                    <target>${compiler.version}</target>
98 99 100 101 102 103 104 105 106 107 108
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.4.3</version>
                <configuration>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
A
ascrutae 已提交
109 110 111 112 113 114 115 116
            <plugin>
                <groupId>com.spotify</groupId>
                <artifactId>docker-maven-plugin</artifactId>
                <version>${docker.plugin.version}</version>
                <configuration>
                    <skipDocker>true</skipDocker>
                </configuration>
            </plugin>
A
ascrutae 已提交
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
            <plugin>
                <!-- 源码插件 -->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <!-- 发布时自动将源码同时发布的配置 -->
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
                <version>2.4</version>
            </plugin>
A
ascrutae 已提交
132 133 134 135 136
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>versions-maven-plugin</artifactId>
                <version>2.3</version>
            </plugin>
wu-sheng's avatar
wu-sheng 已提交
137 138 139
            <plugin>
                <groupId>org.eluder.coveralls</groupId>
                <artifactId>coveralls-maven-plugin</artifactId>
wu-sheng's avatar
wu-sheng 已提交
140
                <version>4.1.0</version>
wu-sheng's avatar
wu-sheng 已提交
141 142
                <configuration>
                    <repoToken>GGTAeHsfVql3x1BmTFaJvxC27f5sfcZNg</repoToken>
Z
zhangxin 已提交
143 144 145
                    <sourceDirectories>
                        <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
                    </sourceDirectories>
wu-sheng's avatar
wu-sheng 已提交
146 147 148 149 150 151
                </configuration>
            </plugin>
            <!-- 覆盖率 -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
wu-sheng's avatar
wu-sheng 已提交
152
                <version>2.7</version>
wu-sheng's avatar
wu-sheng 已提交
153
                <configuration>
Z
zhangxin 已提交
154
                    <check>true</check>
wu-sheng's avatar
wu-sheng 已提交
155 156 157 158 159 160 161
                    <encoding>UTF-8</encoding>
                    <aggregate>true</aggregate>
                    <formats>
                        <format>xml</format>
                        <format>html</format>
                    </formats>
                    <instrumentation>
Z
zhangxin 已提交
162 163 164
                        <excludes>
                            <exclude>com/a/eye/skywalking/trace/proto/*.class</exclude>
                        </excludes>
wu-sheng's avatar
wu-sheng 已提交
165 166 167
                    </instrumentation>
                </configuration>
            </plugin>
168 169
        </plugins>
    </build>
A
ascrutae 已提交
170
</project>