pom.xml 4.1 KB
Newer Older
wu-sheng's avatar
wu-sheng 已提交
1
<?xml version="1.0" encoding="UTF-8"?>
A
ascrutae 已提交
2 3
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 5
         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 已提交
6

7 8
    <groupId>com.a.eye</groupId>
    <artifactId>skywalking</artifactId>
9
    <version>2.1-2017</version>
wu-sheng's avatar
wu-sheng 已提交
10

11
    <modules>
12
        <module>skywalking-commons</module>
13
        <module>skywalking-alarm</module>
14
        <module>skywalking-webui</module>
wu-sheng's avatar
wu-sheng 已提交
15
        <module>skywalking-sniffer</module>
16
        <module>skywalking-storage-center</module>
17
        <module>skywalking-application-toolkit</module>
18 19
    </modules>
    <packaging>pom</packaging>
wu-sheng's avatar
wu-sheng 已提交
20

21 22
    <name>skywalking</name>
    <url>http://maven.apache.org</url>
wu-sheng's avatar
wu-sheng 已提交
23

24 25
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
A
ascrutae 已提交
26
        <compiler.version>1.8</compiler.version>
A
ascrutae 已提交
27
        <powermock.version>1.6.4</powermock.version>
A
ascrutae 已提交
28
        <docker.plugin.version>0.4.13</docker.plugin.version>
A
ascrutae 已提交
29
        <skywalking.version>2.1-2017</skywalking.version>
30
    </properties>
wu-sheng's avatar
wu-sheng 已提交
31

32 33 34 35 36 37 38 39 40
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
A
ascrutae 已提交
41
            <artifactId>mockito-all</artifactId>
42 43 44
            <version>1.10.19</version>
            <scope>test</scope>
        </dependency>
A
ascrutae 已提交
45 46 47 48 49 50 51 52 53 54 55 56
        <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>
57
    </dependencies>
wu-sheng's avatar
wu-sheng 已提交
58

59 60 61 62 63
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
A
ascrutae 已提交
64 65
                    <source>${compiler.version}</source>
                    <target>${compiler.version}</target>
66 67 68 69 70 71 72 73 74 75 76
                    <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 已提交
77 78 79 80 81 82 83 84
            <plugin>
                <groupId>com.spotify</groupId>
                <artifactId>docker-maven-plugin</artifactId>
                <version>${docker.plugin.version}</version>
                <configuration>
                    <skipDocker>true</skipDocker>
                </configuration>
            </plugin>
A
ascrutae 已提交
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
            <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 已提交
100 101 102 103 104
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>versions-maven-plugin</artifactId>
                <version>2.3</version>
            </plugin>
105 106
        </plugins>
    </build>
107 108 109 110 111 112

    <repositories>
        <repository>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
wu-sheng's avatar
wu-sheng 已提交
113
            <id>bintray</id>
114 115 116 117
            <name>bintray</name>
            <url>https://jcenter.bintray.com</url>
        </repository>
    </repositories>
wu-sheng's avatar
wu-sheng 已提交
118 119


A
ascrutae 已提交
120
</project>