@@ -807,9 +807,66 @@ under the License.</licenseText>
807807 </dependency >
808808 </dependencies >
809809 </plugin >
810+ <plugin >
811+ <groupId >org.openrewrite.maven</groupId >
812+ <artifactId >rewrite-maven-plugin</artifactId >
813+ <version >6.8.1</version >
814+ <configuration >
815+ <activeRecipes >
816+ <recipe >org.openrewrite.java.format.AutoFormat</recipe >
817+ <recipe >org.openrewrite.java.recipes.JavaRecipeBestPractices</recipe >
818+ <recipe >org.openrewrite.java.recipes.RecipeNullabilityBestPractices</recipe >
819+ <recipe >org.openrewrite.java.recipes.RecipeTestingBestPractices</recipe >
820+ <recipe >org.openrewrite.java.testing.assertj.SimplifyAssertJAssertion</recipe >
821+ <recipe >org.openrewrite.java.testing.junit5.JUnit5BestPractices</recipe >
822+ <recipe >org.openrewrite.staticanalysis.CodeCleanup</recipe >
823+ <recipe >org.openrewrite.staticanalysis.CommonStaticAnalysis</recipe >
824+ <recipe >org.openrewrite.staticanalysis.RemoveUnusedLocalVariables</recipe >
825+ <recipe >org.openrewrite.staticanalysis.RemoveUnusedPrivateFields</recipe >
826+ <recipe >org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods</recipe >
827+ </activeRecipes >
828+ <exclusions >
829+ <exclusion >src/mdo/java/WrapperList.java</exclusion >
830+ <exclusion >src/mdo/java/WrapperProperties.java</exclusion >
831+ </exclusions >
832+ <exportDatatables >true</exportDatatables >
833+ <failOnDryRunResults >false</failOnDryRunResults >
834+ </configuration >
835+ <dependencies >
836+ <dependency >
837+ <groupId >org.openrewrite.recipe</groupId >
838+ <artifactId >rewrite-rewrite</artifactId >
839+ <version >0.6.0</version >
840+ </dependency >
841+ <dependency >
842+ <groupId >org.openrewrite.recipe</groupId >
843+ <artifactId >rewrite-static-analysis</artifactId >
844+ <version >2.9.0</version >
845+ </dependency >
846+ <dependency >
847+ <groupId >org.openrewrite.recipe</groupId >
848+ <artifactId >rewrite-testing-frameworks</artifactId >
849+ <version >3.8.0</version >
850+ </dependency >
851+ </dependencies >
852+ <executions >
853+ <execution >
854+ <id >rewrite-maven-plugin</id >
855+ <goals >
856+ <goal >dryRun</goal >
857+ </goals >
858+ <phase >verify</phase >
859+ </execution >
860+ </executions >
861+ </plugin >
810862 </plugins >
811863 </pluginManagement >
812864 <plugins >
865+ <!-- undo-->
866+ <plugin >
867+ <groupId >org.openrewrite.maven</groupId >
868+ <artifactId >rewrite-maven-plugin</artifactId >
869+ </plugin >
813870 <plugin >
814871 <groupId >io.github.olamy.maven.plugins</groupId >
815872 <artifactId >jacoco-aggregator-maven-plugin</artifactId >
@@ -1170,5 +1227,19 @@ under the License.</licenseText>
11701227 </plugins >
11711228 </build >
11721229 </profile >
1230+ <profile >
1231+ <id >rewrite</id >
1232+ <activation >
1233+ <activeByDefault >true</activeByDefault >
1234+ </activation >
1235+ <build >
1236+ <plugins >
1237+ <plugin >
1238+ <groupId >org.openrewrite.maven</groupId >
1239+ <artifactId >rewrite-maven-plugin</artifactId >
1240+ </plugin >
1241+ </plugins >
1242+ </build >
1243+ </profile >
11731244 </profiles >
11741245</project >
0 commit comments