Skip to content

Commit

Permalink
Only run Checkstyle for JDK11+ to avoid build issues on JDK8
Browse files Browse the repository at this point in the history
  • Loading branch information
coheigea committed Aug 6, 2024
1 parent d1516a0 commit ededa6f
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,6 @@
<artifactId>maven-source-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
Expand Down Expand Up @@ -761,6 +756,20 @@
</reporting>

<profiles>
<profile>
<id>checkstyle-activation</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>apache-release</id>
<build>
Expand Down

0 comments on commit ededa6f

Please sign in to comment.