Skip to content

Commit

Permalink
Migrate AgentRule to SpecialAgent (#4)
Browse files Browse the repository at this point in the history
* Migrate AgentRule to SpecialAgent
  • Loading branch information
safris authored and jam01 committed Jun 14, 2019
1 parent 50e7e57 commit df64402
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 208 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
# Build / maven artifacts
*.class
target/
bin/
pom.xml.versionsBackup

# Mobile Tools for Java (J2ME)
Expand Down
56 changes: 14 additions & 42 deletions pom.xml
Expand Up @@ -79,7 +79,6 @@
<version.maven-surefire-plugin>2.22.1</version.maven-surefire-plugin>
<version.maven-surefire-plugin>2.22.1</version.maven-surefire-plugin>
<version.opentracing-api>0.32.0</version.opentracing-api>
<version.specialagent>1.2.0</version.specialagent>
</properties>

<dependencies>
Expand All @@ -96,12 +95,6 @@
<version>${version.opentracing-api}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.opentracing.contrib.specialagent</groupId>
<artifactId>opentracing-specialagent-api</artifactId>
<version>${version.specialagent}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>net.bytebuddy</groupId>
Expand All @@ -120,7 +113,6 @@
<artifactId>grizzly-http-client</artifactId>
<version>${version.grizzly-http-client}</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>io.opentracing</groupId>
Expand All @@ -129,13 +121,6 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.opentracing.contrib.specialagent</groupId>
<artifactId>opentracing-specialagent</artifactId>
<version>${version.specialagent}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down Expand Up @@ -175,33 +160,6 @@
<target>${java.version}</target>
</configuration>
</plugin>
<!--Start special agent plugins-->
<plugin>
<groupId>io.opentracing.contrib.specialagent</groupId>
<artifactId>agentrule-maven-plugin</artifactId>
<version>${version.specialagent}</version>
<executions>
<execution>
<goals>
<goal>fingerprint</goal>
</goals>
<phase>process-classes</phase>
<configuration>
<name>grizzly-ahc</name>
</configuration>
</execution>
</executions>
</plugin>
<!--End special agent plugins-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.maven-surefire-plugin}</version>
<configuration>
<trimStackTrace>false</trimStackTrace>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
Expand Down Expand Up @@ -241,6 +199,7 @@
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
<version>2.10.0</version>
<configuration>
<createBackupFile>false</createBackupFile>
<expandEmptyElements>false</expandEmptyElements>
Expand Down Expand Up @@ -269,6 +228,19 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.2</version>
<executions>
<execution>
<id>test-jar</id>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions src/main/resources/otarules.mf

This file was deleted.

This file was deleted.

0 comments on commit df64402

Please sign in to comment.