|
117 | 117 | <groupId>com.hubspot.maven.plugins</groupId> |
118 | 118 | <artifactId>prettier-maven-plugin</artifactId> |
119 | 119 | <version>${plugin.prettier.version}</version> |
| 120 | + <configuration> |
| 121 | + <skip>${plugin.prettier.skip}</skip> |
| 122 | + <prettierJavaVersion>2.6.8</prettierJavaVersion> |
| 123 | + <inputGlobs> |
| 124 | + <inputGlob>src/main/java/**/*.java</inputGlob> |
| 125 | + <inputGlob>src/test/java/**/*.java</inputGlob> |
| 126 | + <inputGlob>src/test-fixtures/java/**/*.java</inputGlob> |
| 127 | + </inputGlobs> |
| 128 | + </configuration> |
| 129 | + <executions> |
| 130 | + <execution> |
| 131 | + <id>prettier-format</id> |
| 132 | + <phase>validate</phase> |
| 133 | + <goals> |
| 134 | + <goal>${plugin.prettier.goal}</goal> |
| 135 | + </goals> |
| 136 | + </execution> |
| 137 | + </executions> |
120 | 138 | </plugin> |
121 | 139 | </plugins> |
122 | 140 | </pluginManagement> |
|
334 | 352 | <version>2.22.0</version> |
335 | 353 | </dependency> |
336 | 354 | </dependencies> |
337 | | - <executions> |
338 | | - <execution> |
339 | | - <phase>validate</phase> |
340 | | - <goals> |
341 | | - <goal>run</goal> |
342 | | - </goals> |
343 | | - </execution> |
344 | | - </executions> |
345 | 355 | </plugin> |
346 | 356 | <plugin> |
347 | 357 | <groupId>org.apache.maven.plugins</groupId> |
|
376 | 386 | </execution> |
377 | 387 | </executions> |
378 | 388 | </plugin> |
379 | | - |
380 | | - <plugin> |
381 | | - <groupId>com.hubspot.maven.plugins</groupId> |
382 | | - <artifactId>prettier-maven-plugin</artifactId> |
383 | | - <configuration> |
384 | | - <skip>${plugin.prettier.skip}</skip> |
385 | | - <prettierJavaVersion>2.6.8</prettierJavaVersion> |
386 | | - <inputGlobs> |
387 | | - <inputGlob>src/main/java/**/*.java</inputGlob> |
388 | | - <inputGlob>src/test/java/**/*.java</inputGlob> |
389 | | - <inputGlob>src/test-fixtures/java/**/*.java</inputGlob> |
390 | | - </inputGlobs> |
391 | | - </configuration> |
392 | | - <executions> |
393 | | - <execution> |
394 | | - <phase>validate</phase> |
395 | | - <goals> |
396 | | - <goal>${plugin.prettier.goal}</goal> |
397 | | - </goals> |
398 | | - </execution> |
399 | | - </executions> |
400 | | - </plugin> |
401 | 389 | <plugin> |
402 | 390 | <groupId>com.google.cloud.tools</groupId> |
403 | 391 | <artifactId>jib-maven-plugin</artifactId> |
|
630 | 618 | <activation> |
631 | 619 | <property> |
632 | 620 | <!-- |
633 | | - This works as a short alias to enable this from the command line. To skip |
634 | | - rewrite, set the 'rw' system property with the '-D rw' parameter. |
| 621 | + This works as a short alias to enable this from the command line. |
| 622 | + To run rewrite, set the 'rw' system property with the '-Drw' parameter. |
635 | 623 | --> |
636 | 624 | <name>rw</name> |
637 | 625 | <value/> |
|
641 | 629 | <plugin.rewrite.skip>false</plugin.rewrite.skip> |
642 | 630 | <plugin.checkstyle.skip>true</plugin.checkstyle.skip> |
643 | 631 | </properties> |
| 632 | + <build> |
| 633 | + <plugins> |
| 634 | + <plugin> |
| 635 | + <groupId>org.openrewrite.maven</groupId> |
| 636 | + <artifactId>rewrite-maven-plugin</artifactId> |
| 637 | + <executions> |
| 638 | + <execution> |
| 639 | + <id>rewrite-run</id> |
| 640 | + <phase>validate</phase> |
| 641 | + <goals> |
| 642 | + <goal>run</goal> |
| 643 | + </goals> |
| 644 | + </execution> |
| 645 | + </executions> |
| 646 | + </plugin> |
| 647 | + </plugins> |
| 648 | + </build> |
644 | 649 | </profile> |
645 | 650 | <profile> |
646 | 651 | <id>clean-test-snapshots</id> |
|
0 commit comments