Skip to content

Commit

Permalink
spotless are executed by default - cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Feb 24, 2024
1 parent 6091788 commit ffdbbf2
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@
</dependencyManagement>

<build>

<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand All @@ -361,6 +360,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
<plugin>
<!-- multi module project - stage site -->
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -393,30 +396,4 @@
</plugin>
</plugins>
</reporting>

<profiles>
<profile>
<id>java11+</id>
<activation>
<jdk>[11,)</jdk>
</activation>

<build>
<!--- newer versions of plugins requires JDK 11 -->
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>${checkstyle.spotless.config}</configLocation>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit ffdbbf2

Please sign in to comment.