Skip to content

Commit

Permalink
Use pluginManagement section for config only, redirect test output to…
Browse files Browse the repository at this point in the history
… files
  • Loading branch information
gnodet committed Jun 26, 2024
1 parent 0853c45 commit 6d328f5
Showing 1 changed file with 37 additions and 28 deletions.
65 changes: 37 additions & 28 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,34 +188,43 @@ under the License.
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<configuration>
<java>
<includes>
<include>src/**/*.java</include>
</includes>
</java>
<pom>
<includes>
<include>**/pom.xml</include>
</includes>
</pom>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes combine.children="append">
<exclude>src/it/reproducible/src/main/resources/**/*.txt</exclude>
<exclude>.github/*.md</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<configuration>
<java>
<includes>
<include>src/**/*.java</include>
</includes>
</java>
<pom>
<includes>
<include>**/pom.xml</include>
</includes>
</pom>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes combine.children="append">
<exclude>src/it/reproducible/src/main/resources/**/*.txt</exclude>
<exclude>.github/*.md</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
Expand Down

0 comments on commit 6d328f5

Please sign in to comment.