<?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/maven-v4_0_0.xsd"> <parent> <artifactId>components</artifactId> <groupId>io.fabric8</groupId> <version>2.2.57</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>fabric8-apm</artifactId> <name>Fabric8 :: APM Agent</name> <build> <plugins> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>2.3</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer> <manifestEntries> <Main-Class>io.fabric8.apmagent.ApmAgent</Main-Class> <Premain-Class>io.fabric8.apmagent.ApmAgent</Premain-Class> <Agent-Class>io.fabric8.apmagent.ApmAgent</Agent-Class> <Can-Redefine-Classes>true</Can-Redefine-Classes> <Can-Retransform-Classes>true</Can-Retransform-Classes> </manifestEntries> </transformer> </transformers> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${exec-maven-plugin.version}</version> <executions> <execution> <goals> <goal>exec</goal> </goals> </execution> </executions> <configuration> <classpathScope>test</classpathScope> <executable>java</executable> <arguments> <argument>-javaagent:${basedir}/target/fabric8-apm-2.3-SNAPSHOT.jar=startJolokiaAgent=true</argument> <argument>-classpath</argument> <classpath /> <argument>io.fabric8.testApp.TestApp</argument> </arguments> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.12</version> <scope>test</scope> </dependency> <dependency> <groupId>io.fabric8</groupId> <artifactId>fabric8-apt</artifactId> <version>2.2.57</version> <scope>provided</scope> <exclusions> <exclusion> <artifactId>deltaspike-core-api</artifactId> <groupId>org.apache.deltaspike.core</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>hamcrest-core</artifactId> <groupId>org.hamcrest</groupId> </exclusion> </exclusions> </dependency> </dependencies> </project>
<dependency> <groupId>io.fabric8</groupId> <artifactId>fabric8-apm</artifactId> <version>2.2.57</version> </dependency>
io.fabric8:fabric8-apm:2.2.57