Skip to content

Commit

Permalink
fix: [CO-1442] remove Log4J2Plugins.dat from common (#575)
Browse files Browse the repository at this point in the history
* fix: [CO-1442] merge log4j plugins

- merge log4j plugins file Log4J2Plugins.dat

* fix: [CO-1442] remove Log4J2Plugins.dat from common jar

- log4j will be a little slower scanning classes to find annotation, but we won't have other issues at least
  • Loading branch information
frisonisland authored Sep 2, 2024
1 parent db45a41 commit d3d5bab
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,18 @@

<build>
<plugins>
<!-- Fix for log4j: https://issues.apache.org/jira/browse/LOG4J2-673 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<configuration>
<excludes>
<exclude>**/Log4j2Plugins.dat</exclude>
</excludes>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
Expand Down

0 comments on commit d3d5bab

Please sign in to comment.