Skip to content

Commit 1794ebb

Browse files
committed
Issue #101: run bestPractices recipe with build
1 parent 85c5edb commit 1794ebb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@
172172
<artifactId>rewrite-maven-plugin</artifactId>
173173
<version>${rewrite.maven.plugin}</version>
174174
<configuration>
175+
<exportDatatables>true</exportDatatables>
175176
<activeRecipes>
177+
<recipe>org.checkstyle.recipes.OpenRewriteRecipeBestPractices</recipe>
176178
<recipe>CheckstyleAutoFixConfigured</recipe>
177179
</activeRecipes>
178180
<exclusions>
@@ -188,7 +190,7 @@
188190
<dependency>
189191
<groupId>org.openrewrite.recipe</groupId>
190192
<artifactId>rewrite-rewrite</artifactId>
191-
<version>RELEASE</version>
193+
<version>0.12.1</version>
192194
</dependency>
193195
</dependencies>
194196
<executions>

rewrite.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ recipeList:
5050
- org.openrewrite.java.recipes.NoMutableStaticFieldsInRecipes
5151
- org.openrewrite.java.recipes.RecipeEqualsAndHashCodeCallSuper
5252
- org.openrewrite.java.recipes.UseTreeRandomId
53-
- org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes
5453
- org.openrewrite.staticanalysis.NeedBraces
5554
- org.openrewrite.staticanalysis.RemoveSystemOutPrintln
5655
- org.openrewrite.java.RemoveAnnotation:

0 commit comments

Comments
 (0)