pom.xml 7.6 KB
Newer Older
K
kezhenxu94 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License.  You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  ~
  -->

<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>

    <groupId>org.apache.skywalking</groupId>
    <artifactId>apache-skywalking-e2e</artifactId>
    <version>1.0.0</version>

    <name>SkyWalking End to End Tests</name>

    <packaging>pom</packaging>

    <modules>
        <module>e2e-base</module>
        <module>e2e-single-service</module>
P
panjuan 已提交
37
        <module>e2e-mysql</module>
K
kezhenxu94 已提交
38
        <module>e2e-cluster</module>
39
        <module>e2e-agent-reboot</module>
K
kezhenxu94 已提交
40
        <module>e2e-ttl</module>
K
kezhenxu94 已提交
41 42 43 44 45 46 47 48 49 50
    </modules>

    <properties>
        <java.version>1.8</java.version>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

        <spring.boot.version>2.1.5.RELEASE</spring.boot.version>
51
        <spring.cloud.version>2.1.2.RELEASE</spring.cloud.version>
K
kezhenxu94 已提交
52 53 54
        <faster.jackson.version>2.9.7</faster.jackson.version>
        <junit.version>4.12</junit.version>
        <jackson.version>2.9.7</jackson.version>
K
kezhenxu94 已提交
55
        <guava.version>20.0</guava.version>
K
kezhenxu94 已提交
56 57 58
        <snake.version>1.23</snake.version>
        <gson.version>2.8.5</gson.version>
        <h2.version>1.4.199</h2.version>
P
panjuan 已提交
59
        <mysql.version>8.0.13</mysql.version>
K
kezhenxu94 已提交
60 61 62
        <elasticsearch.version>6.3.2</elasticsearch.version>
        <zookeeper.image.version>3.5</zookeeper.image.version>
        <lombok.version>1.18.4</lombok.version>
K
kezhenxu94 已提交
63 64 65 66

        <!-- build.id is an available environment variable in Jenkins to
             distinguish the different build jobs, once Jenkins job is aborted,
             we will use this build.id to stop all containers that are started
K
kezhenxu94 已提交
67
             during this specific build, see Jenkins-E2E (cleanup stage) for detail
K
kezhenxu94 已提交
68 69 70
         -->
        <build.id>local</build.id>

71
        <e2e.container.version>jdk8-1.0</e2e.container.version>
K
kezhenxu94 已提交
72 73 74 75

        <maven-failsafe-plugin.version>2.22.0</maven-failsafe-plugin.version>
        <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
        <docker-maven-plugin.version>0.30.0</docker-maven-plugin.version>
K
kezhenxu94 已提交
76 77 78
        <surefire.version>2.12.4</surefire.version>

        <skipSurefire>true</skipSurefire>
K
kezhenxu94 已提交
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 104 105 106
    </properties>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>${junit.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <version>${spring.boot.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <version>${spring.boot.version}</version>
        </dependency>
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>${gson.version}</version>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>${guava.version}</version>
        </dependency>
K
kezhenxu94 已提交
107 108 109 110 111 112
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <version>${lombok.version}</version>
            <scope>provided</scope>
        </dependency>
K
kezhenxu94 已提交
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
    </dependencies>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>${maven-failsafe-plugin.version}</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>verify</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>io.fabric8</groupId>
                    <artifactId>docker-maven-plugin</artifactId>
                    <version>${docker-maven-plugin.version}</version>
                    <configuration>
                        <sourceMode>all</sourceMode>
                        <showLogs>true</showLogs>
                        <logDate>default</logDate>
                        <imagePullPolicy>IfNotPresent</imagePullPolicy>
                    </configuration>
                    <executions>
                        <execution>
                            <id>start</id>
                            <phase>pre-integration-test</phase>
                            <goals>
                                <goal>start</goal>
                            </goals>
                        </execution>
                        <execution>
                            <id>stop</id>
                            <phase>post-integration-test</phase>
                            <goals>
                                <goal>stop</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </pluginManagement>

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>${maven-compiler-plugin.version}</version>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
K
kezhenxu94 已提交
171 172 173 174 175 176 177 178
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>${surefire.version}</version>
                <configuration>
                    <skip>${skipSurefire}</skip>
                </configuration>
            </plugin>
K
kezhenxu94 已提交
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-failsafe-plugin</artifactId>
                <version>${maven-failsafe-plugin.version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>