Skip to content

Commit dd6f8d6

Browse files
author
Vincent Potucek
committed
rewrite-maven-plugin: RemoveUnusedPrivateMethods
1 parent 6019307 commit dd6f8d6

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

pom.xml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,63 @@ under the License.</licenseText>
799799
</plugins>
800800
</pluginManagement>
801801
<plugins>
802+
<plugin>
803+
<groupId>org.openrewrite.maven</groupId>
804+
<artifactId>rewrite-maven-plugin</artifactId>
805+
<version>6.8.0</version>
806+
<configuration>
807+
<exportDatatables>true</exportDatatables>
808+
<activeRecipes>
809+
<!-- https://github.com/apache/maven/pull/2307 -->
810+
<!-- <recipe>org.openrewrite.java.testing.assertj.JUnitToAssertj</recipe> -->
811+
<!-- <recipe>org.openrewrite.java.testing.assertj.SimplifyAssertJAssertion</recipe> -->
812+
<!-- https://github.com/apache/maven/pull/2320 -->
813+
<!-- <recipe>org.openrewrite.java.testing.junit5.JUnit5BestPractices</recipe> -->
814+
<!-- <recipe>org.openrewrite.staticanalysis.CodeCleanup</recipe> -->
815+
<!-- <recipe>org.openrewrite.staticanalysis.CommonStaticAnalysis</recipe> -->
816+
<!-- <recipe>org.openrewrite.staticanalysis.RemoveUnusedLocalVariables</recipe> -->
817+
<!-- https://github.com/apache/maven/pull/2317 -->
818+
<!-- <recipe>org.openrewrite.staticanalysis.RemoveUnusedPrivateFields</recipe> -->
819+
<!-- https://github.com/apache/maven/pull/2310 -->
820+
<recipe>org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods</recipe>
821+
</activeRecipes>
822+
</configuration>
823+
<dependencies>
824+
<dependency>
825+
<groupId>org.openrewrite.recipe</groupId>
826+
<artifactId>rewrite-static-analysis</artifactId>
827+
<version>2.9.0</version>
828+
</dependency>
829+
</dependencies>
830+
<executions>
831+
<execution>
832+
<id>rewrite-maven-plugin</id>
833+
<goals>
834+
<goal>run</goal>
835+
</goals>
836+
<phase>verify</phase>
837+
</execution>
838+
</executions>
839+
</plugin>
840+
<plugin>
841+
<groupId>org.ec4j.maven</groupId>
842+
<artifactId>editorconfig-maven-plugin</artifactId>
843+
<version>0.1.3</version>
844+
<configuration>
845+
<excludes>
846+
<exclude>.github/**</exclude>
847+
</excludes>
848+
</configuration>
849+
<executions>
850+
<execution>
851+
<id>editorconfig-check</id>
852+
<goals>
853+
<goal>check</goal>
854+
</goals>
855+
<phase>verify</phase>
856+
</execution>
857+
</executions>
858+
</plugin>
802859
<plugin>
803860
<groupId>io.github.olamy.maven.plugins</groupId>
804861
<artifactId>jacoco-aggregator-maven-plugin</artifactId>

0 commit comments

Comments
 (0)