Skip to content

Commit

Permalink
[pinpoint-apm#10736] Remove dummy classes after install the plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
intr3p1d committed Mar 14, 2024
1 parent 8a73978 commit 99fc39a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions plugins/resttemplate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,26 @@
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>delete-springframework-files</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>rm</executable>
<arguments>
<argument>-rf</argument>
<argument>${project.build.directory}/classes/org/springframework</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
20 changes: 20 additions & 0 deletions plugins/spring-webflux/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,26 @@
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>delete-springframework-files</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>rm</executable>
<arguments>
<argument>-rf</argument>
<argument>${project.build.directory}/classes/org/springframework</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 99fc39a

Please sign in to comment.