Skip to content

Commit

Permalink
Cleanup plugin configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Sep 27, 2023
1 parent 517c9a3 commit b6fdda9
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 404 deletions.
1 change: 0 additions & 1 deletion log4j-api-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<excludedGroups>performance,smoke</excludedGroups>
</configuration>
</plugin>
Expand Down
4 changes: 0 additions & 4 deletions log4j-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
5 changes: 0 additions & 5 deletions log4j-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,6 @@

<build>
<plugins>
<!-- RAT report -->
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
Expand Down
12 changes: 0 additions & 12 deletions log4j-core-its/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,18 +183,6 @@
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>test-compile</id>
<goals>
<goal>testCompile</goal>
</goals>
<phase>test-compile</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
Expand Down
68 changes: 0 additions & 68 deletions log4j-core-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -329,72 +329,4 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<goals>
<goal>add-source</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<sources>
<source>${project.build.directory}/log4j-core-java9</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<!-- disable annotation processing for first pass -->
<id>default-compile</id>
<configuration>
<excludes>
<exclude>module-info.java</exclude>
</excludes>
<proc>none</proc>
</configuration>
</execution>
<execution>
<!-- then do a processing-only pass to generate plugins .dat file -->
<id>process-plugins</id>
<goals>
<goal>compile</goal>
</goals>
<phase>process-classes</phase>
<configuration>
<excludes>
<exclude>module-info.java</exclude>
</excludes>
<proc>only</proc>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludedGroups>org.apache.logging.log4j.categories.PerformanceTests</excludedGroups>
<systemPropertyVariables>
<org.apache.activemq.SERIALIZABLE_PACKAGES>*</org.apache.activemq.SERIALIZABLE_PACKAGES>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>
7 changes: 0 additions & 7 deletions log4j-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</project>
26 changes: 0 additions & 26 deletions log4j-flume-ng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,30 +105,4 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Xms256m -Xmx1024m -XX:MaxPermSize=512m</argLine>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
</configuration>
</plugin>
-->
</plugins>
</build>
</project>
11 changes: 0 additions & 11 deletions log4j-taglib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,4 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit b6fdda9

Please sign in to comment.