2020-05-30 00:28:07 +08:00
|
|
|
<?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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2020-07-25 19:06:17 +08:00
|
|
|
<groupId>com.alibaba.testable</groupId>
|
2020-10-22 09:43:52 +08:00
|
|
|
<artifactId>testable-agent</artifactId>
|
2020-10-31 18:39:38 +08:00
|
|
|
<version>0.2.2-SNAPSHOT</version>
|
2020-05-30 00:28:07 +08:00
|
|
|
<packaging>jar</packaging>
|
2020-10-19 09:46:54 +08:00
|
|
|
<name>testable-agent</name>
|
2020-05-30 00:28:07 +08:00
|
|
|
|
2020-07-21 22:02:05 +08:00
|
|
|
<properties>
|
2020-10-22 21:05:17 +08:00
|
|
|
<java.version>1.6</java.version>
|
|
|
|
<project.compiler.level>1.6</project.compiler.level>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2020-10-19 09:46:54 +08:00
|
|
|
<asm.lib.version>8.0.1</asm.lib.version>
|
2020-10-27 06:54:36 +08:00
|
|
|
<junit.version>5.6.2</junit.version>
|
2020-10-31 18:39:38 +08:00
|
|
|
<testable.version>0.2.2-SNAPSHOT</testable.version>
|
2020-10-22 21:05:17 +08:00
|
|
|
<plugin.compiler.version>3.8.1</plugin.compiler.version>
|
2020-11-01 09:02:00 +08:00
|
|
|
<plugin.surefire.version>3.0.0-M5</plugin.surefire.version>
|
2020-10-19 09:46:54 +08:00
|
|
|
<plugin.jar.version>3.2.0</plugin.jar.version>
|
|
|
|
<plugin.shade.version>3.2.4</plugin.shade.version>
|
2020-07-21 22:02:05 +08:00
|
|
|
</properties>
|
|
|
|
|
2020-05-30 00:28:07 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ow2.asm</groupId>
|
2020-07-21 22:02:05 +08:00
|
|
|
<artifactId>asm-tree</artifactId>
|
2020-10-19 09:46:54 +08:00
|
|
|
<version>${asm.lib.version}</version>
|
2020-05-30 00:28:07 +08:00
|
|
|
</dependency>
|
2020-07-21 23:23:56 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
2020-10-27 06:54:36 +08:00
|
|
|
<version>${junit.version}</version>
|
2020-07-21 23:23:56 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-10-25 20:40:44 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.testable</groupId>
|
|
|
|
<artifactId>testable-core</artifactId>
|
|
|
|
<version>${testable.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-05-30 00:28:07 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2020-07-25 19:06:17 +08:00
|
|
|
<finalName>testable-agent</finalName>
|
2020-05-30 00:28:07 +08:00
|
|
|
<plugins>
|
2020-10-22 21:05:17 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${plugin.compiler.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${project.compiler.level}</source>
|
|
|
|
<target>${project.compiler.level}</target>
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-05-30 00:28:07 +08:00
|
|
|
<plugin>
|
2020-10-19 09:46:54 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2020-05-30 00:28:07 +08:00
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2020-10-19 09:46:54 +08:00
|
|
|
<version>${plugin.jar.version}</version>
|
2020-05-30 00:28:07 +08:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
2020-07-25 22:04:13 +08:00
|
|
|
<Premain-Class>com.alibaba.testable.agent.PreMain</Premain-Class>
|
2020-05-30 00:28:07 +08:00
|
|
|
<Can-Retransform-Classes>true</Can-Retransform-Classes>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
2020-10-19 09:46:54 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2020-05-30 00:28:07 +08:00
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2020-10-19 09:46:54 +08:00
|
|
|
<version>${plugin.shade.version}</version>
|
2020-05-30 00:28:07 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.objectweb.asm</pattern>
|
|
|
|
<shadedPattern>agent.org.objectweb.asm</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-11-01 09:02:00 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${plugin.surefire.version}</version>
|
|
|
|
</plugin>
|
2020-05-30 00:28:07 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|