pom.xml 3.8 KB
Newer Older
P
pengys5 已提交
1 2 3 4 5 6 7 8 9 10 11 12
<?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"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <artifactId>skywalking-collector</artifactId>
        <groupId>com.a.eye</groupId>
        <version>3.0-2017</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>skywalking-collector-worker</artifactId>
P
pengys5 已提交
13
    <packaging>jar</packaging>
P
pengys5 已提交
14

15 16
    <properties>
        <jetty.version>9.4.2.v20170220</jetty.version>
17
        <main.class>com.a.eye.skywalking.collector.worker.CollectorBootStartUp</main.class>
18 19
    </properties>

P
pengys5 已提交
20 21 22
    <dependencies>
        <dependency>
            <groupId>com.a.eye</groupId>
23
            <artifactId>skywalking-collector-cluster</artifactId>
P
pengys5 已提交
24 25
            <version>${project.version}</version>
        </dependency>
26 27
        <dependency>
            <groupId>com.a.eye</groupId>
28
            <artifactId>skywalking-collector-commons</artifactId>
29 30
            <version>${project.version}</version>
        </dependency>
31
        <dependency>
32 33 34
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-server</artifactId>
            <version>${jetty.version}</version>
35 36
        </dependency>
        <dependency>
37 38 39
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-servlet</artifactId>
            <version>${jetty.version}</version>
40
        </dependency>
P
pengys5 已提交
41 42 43 44 45
        <dependency>
            <groupId>org.elasticsearch.client</groupId>
            <artifactId>transport</artifactId>
            <version>5.2.2</version>
        </dependency>
P
pengys5 已提交
46 47 48 49
        <dependency>
            <groupId>com.a.eye</groupId>
            <artifactId>skywalking-sniffer-mock</artifactId>
            <version>${project.version}</version>
50 51 52 53 54 55
            <exclusions>
                <exclusion>
                    <groupId>org.apache.httpcomponents</groupId>
                    <artifactId>httpclient</artifactId>
                </exclusion>
            </exclusions>
P
pengys5 已提交
56 57
            <scope>test</scope>
        </dependency>
P
pengys5 已提交
58 59 60 61 62
        <dependency>
            <groupId>org.jetbrains</groupId>
            <artifactId>annotations</artifactId>
            <version>RELEASE</version>
        </dependency>
P
pengys5 已提交
63
    </dependencies>
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103

    <build>
        <finalName>skywalking-collector</finalName>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <excludes>
                        <exclude>*.xml</exclude>
                        <exclude>*.config</exclude>
                    </excludes>
                    <archive>
                        <manifest>
                            <mainClass>${main.class}</mainClass>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <id>assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>src/main/assembly/assembly.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
104
</project>