Skip to content

Commit 632f5ac

Browse files
1 parent a35ebf1 commit 632f5ac

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/main/resources/META-INF/rewrite/examples.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -999,29 +999,26 @@ examples:
999999
<groupId>com.mycompany.app</groupId>
10001000
<artifactId>my-app</artifactId>
10011001
<version>1</version>
1002+
<properties>
1003+
<wro4j.version>1.8.0</wro4j.version>
1004+
</properties>
10021005
<build>
10031006
<plugins>
10041007
<plugin>
1005-
<groupId>org.codehaus.mojo</groupId>
1006-
<artifactId>jaxb2-maven-plugin</artifactId>
1007-
<version>2.3.1</version>
1008+
<groupId>ro.isdc.wro4j</groupId>
1009+
<artifactId>wro4j-maven-plugin</artifactId>
1010+
<version>${wro4j.version}</version>
10081011
</plugin>
10091012
</plugins>
10101013
</build>
10111014
</project>
1012-
path: pom.xml
1013-
language: xml
1014-
- before: project
1015-
language: mavenProject
1016-
- description: ''
1017-
sources:
1018-
- before: |
1015+
after: |
10191016
<project>
10201017
<groupId>com.mycompany.app</groupId>
10211018
<artifactId>my-app</artifactId>
10221019
<version>1</version>
10231020
<properties>
1024-
<wro4j.version>1.8.0</wro4j.version>
1021+
<wro4j.version>1.10.1</wro4j.version>
10251022
</properties>
10261023
<build>
10271024
<plugins>
@@ -1033,26 +1030,29 @@ examples:
10331030
</plugins>
10341031
</build>
10351032
</project>
1036-
after: |
1033+
path: pom.xml
1034+
language: xml
1035+
- description: ''
1036+
sources:
1037+
- before: |
10371038
<project>
10381039
<groupId>com.mycompany.app</groupId>
10391040
<artifactId>my-app</artifactId>
10401041
<version>1</version>
1041-
<properties>
1042-
<wro4j.version>1.10.1</wro4j.version>
1043-
</properties>
10441042
<build>
10451043
<plugins>
10461044
<plugin>
1047-
<groupId>ro.isdc.wro4j</groupId>
1048-
<artifactId>wro4j-maven-plugin</artifactId>
1049-
<version>${wro4j.version}</version>
1045+
<groupId>org.codehaus.mojo</groupId>
1046+
<artifactId>jaxb2-maven-plugin</artifactId>
1047+
<version>2.3.1</version>
10501048
</plugin>
10511049
</plugins>
10521050
</build>
10531051
</project>
10541052
path: pom.xml
10551053
language: xml
1054+
- before: project
1055+
language: mavenProject
10561056
---
10571057
type: specs.openrewrite.org/v1beta/example
10581058
recipeName: org.openrewrite.java.migrate.UpgradeToJava17

0 commit comments

Comments
 (0)