| <?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> |
| <module>e2e-mysql</module> |
| <module>e2e-cluster</module> |
| <module>e2e-cluster-with-gateway</module> |
| <module>e2e-agent-reboot</module> |
| <module>e2e-ttl</module> |
| </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> |
| <spring.cloud.version>2.1.2.RELEASE</spring.cloud.version> |
| <faster.jackson.version>2.9.7</faster.jackson.version> |
| <junit.version>4.12</junit.version> |
| <jackson.version>2.9.7</jackson.version> |
| <guava.version>20.0</guava.version> |
| <snake.version>1.23</snake.version> |
| <gson.version>2.8.5</gson.version> |
| <h2.version>1.4.199</h2.version> |
| <mysql.version>8.0.13</mysql.version> |
| <elasticsearch.version>6.3.2</elasticsearch.version> |
| <zookeeper.image.version>3.5</zookeeper.image.version> |
| <lombok.version>1.18.4</lombok.version> |
| |
| <!-- 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 |
| during this specific build, see Jenkins-E2E (cleanup stage) for detail |
| --> |
| <build.id>local</build.id> |
| |
| <e2e.container.version>jdk8-1.0</e2e.container.version> |
| |
| <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> |
| <surefire.version>2.12.4</surefire.version> |
| |
| <skipSurefire>true</skipSurefire> |
| </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> |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>${lombok.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| </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> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.version}</version> |
| <configuration> |
| <skip>${skipSurefire}</skip> |
| </configuration> |
| </plugin> |
| <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> |