@@ -61,16 +61,16 @@ Clone your project to your local machine.
61
61
62
62
``` shell
63
63
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
64
- -Drewrite.recipeArtifactCoordinates=com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST, org.openrewrite.recipe:rewrite-migrate-java:RELEASE \
65
- -Drewrite.activeRecipes=com.oracle.weblogic.rewrite.UpgradeTo1412, org.openrewrite.java.migrate.UpgradeToJava21
64
+ -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE,com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST \
65
+ -Drewrite.activeRecipes=org.openrewrite.java.migrate.UpgradeToJava21,com.oracle.weblogic.rewrite.UpgradeTo1412
66
66
```
67
67
68
68
#### Upgrade applications to WebLogic 14.1.2 and Java 17
69
69
70
70
``` shell
71
71
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
72
- -Drewrite.recipeArtifactCoordinates=com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST, org.openrewrite.recipe:rewrite-migrate-java:RELEASE \
73
- -Drewrite.activeRecipes=com.oracle.weblogic.rewrite.UpgradeTo1412, org.openrewrite.java.migrate.UpgradeToJava17
72
+ -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE,com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST \
73
+ -Drewrite.activeRecipes=org.openrewrite.java.migrate.UpgradeToJava17,com.oracle.weblogic.rewrite.UpgradeTo1412
74
74
```
75
75
76
76
#### ** WebLogic Server 15.1.1 BETA recipes**
@@ -82,17 +82,17 @@ mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
82
82
83
83
``` shell
84
84
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
85
- -Drewrite.recipeArtifactCoordinates=com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST, org.openrewrite.recipe:rewrite-migrate-java:RELEASE \
86
- -Drewrite.activeRecipes=com.oracle.weblogic.rewrite.UpgradeTo1511 ,org.openrewrite.java.migrate.UpgradeToJava21,com.oracle.weblogic.rewrite.JakartaEE9_1 \
85
+ -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE,com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST \
86
+ -Drewrite.activeRecipes=,org.openrewrite.java.migrate.UpgradeToJava21,com.oracle.weblogic.rewrite.JakartaEE9_1,com.oracle.weblogic.rewrite.UpgradeTo1511 \
87
87
-Drewrite.exportDatatables=true
88
88
```
89
89
90
90
##### Upgrade applications to WebLogic Server 15.1.1 BETA, Jakarta EE 9.1, and Java 17
91
91
92
92
``` shell
93
93
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
94
- -Drewrite.recipeArtifactCoordinates=com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST, org.openrewrite.recipe:rewrite-migrate-java:RELEASE \
95
- -Drewrite.activeRecipes=com.oracle.weblogic.rewrite.UpgradeTo1511, org.openrewrite.java.migrate.UpgradeToJava17,com.oracle.weblogic.rewrite.JakartaEE9_1 \
94
+ -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE,com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST \
95
+ -Drewrite.activeRecipes=org.openrewrite.java.migrate.UpgradeToJava17,com.oracle.weblogic.rewrite.JakartaEE9_1,com.oracle.weblogic.rewrite.UpgradeTo1511 \
96
96
-Drewrite.exportDatatables=true
97
97
```
98
98
@@ -102,8 +102,8 @@ If your application is running with Spring Framework 5.x on WebLogic 12.x or 14.
102
102
103
103
``` shell
104
104
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
105
- -Drewrite.recipeArtifactCoordinates=com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST, org.openrewrite.recipe:rewrite-migrate-java:RELEASE,org.openrewrite.recipe:rewrite-spring:RELEASE \
106
- -Drewrite.activeRecipes=com.oracle.weblogic.rewrite.UpgradeTo1511, org.openrewrite.java.migrate.UpgradeToJava21,com.oracle.weblogic.rewrite.JakartaEE9_1,com.oracle.weblogic.rewrite.spring.framework.UpgradeToSpringFramework_6_2 \
105
+ -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE,com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST ,org.openrewrite.recipe:rewrite-spring:RELEASE \
106
+ -Drewrite.activeRecipes=org.openrewrite.java.migrate.UpgradeToJava21,com.oracle.weblogic.rewrite.JakartaEE9_1,com.oracle.weblogic.rewrite.UpgradeTo1511 ,com.oracle.weblogic.rewrite.spring.framework.UpgradeToSpringFramework_6_2 \
107
107
-Drewrite.exportDatatables=true
108
108
```
109
109
@@ -114,8 +114,8 @@ Example that includes the Hibernate recipe running with the WebLogic 15.1.1 BETA
114
114
115
115
``` shell
116
116
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
117
- -Drewrite.recipeArtifactCoordinates=com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST, org.openrewrite.recipe:rewrite-migrate-java:RELEASE,org.openrewrite.recipe:rewrite-spring:RELEASE,org.openrewrite.recipe:rewrite-hibernate:RELEASE \
118
- -Drewrite.activeRecipes=com.oracle.weblogic.rewrite.UpgradeTo1511, org.openrewrite.java.migrate.UpgradeToJava21,com.oracle.weblogic.rewrite.JakartaEE9_1,com.oracle.weblogic.rewrite.spring.framework.UpgradeToSpringFramework_6_2,com.oracle.weblogic.rewrite.hibernate.MigrateHibernate4JakartaEE9 \
117
+ -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE,com.oracle.weblogic.rewrite:rewrite-weblogic:LATEST ,org.openrewrite.recipe:rewrite-spring:RELEASE,org.openrewrite.recipe:rewrite-hibernate:RELEASE \
118
+ -Drewrite.activeRecipes=org.openrewrite.java.migrate.UpgradeToJava21,com.oracle.weblogic.rewrite.JakartaEE9_1,com.oracle.weblogic.rewrite.UpgradeTo1511 ,com.oracle.weblogic.rewrite.spring.framework.UpgradeToSpringFramework_6_2,com.oracle.weblogic.rewrite.hibernate.MigrateHibernate4JakartaEE9 \
119
119
-Drewrite.exportDatatables=true
120
120
```
121
121
@@ -128,25 +128,25 @@ mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
128
128
<plugin >
129
129
<groupId >org.openrewrite.maven</groupId >
130
130
<artifactId >rewrite-maven-plugin</artifactId >
131
- <version >5.43.0 </version >
131
+ <version >6.3.1 </version >
132
132
<configuration >
133
133
<exportDatatables >true</exportDatatables >
134
134
<activeRecipes >
135
- <recipe >com.oracle.weblogic.rewrite.UpgradeTo1412</recipe >
136
135
<recipe >org.openrewrite.java.migrate.UpgradeToJava21</recipe >
136
+ <recipe >com.oracle.weblogic.rewrite.UpgradeTo1412</recipe >
137
137
</activeRecipes >
138
138
</configuration >
139
139
<dependencies >
140
+ <dependency >
141
+ <groupId >org.openrewrite.recipe</groupId >
142
+ <artifactId >rewrite-migrate-java</artifactId >
143
+ <version >3.4.0</version >
144
+ </dependency >
140
145
<dependency >
141
146
<groupId >com.oracle.weblogic.rewrite</groupId >
142
147
<artifactId >rewrite-weblogic</artifactId >
143
148
<version >[0.4.5,)</version >
144
149
</dependency >
145
- <dependency >
146
- <groupId >org.openrewrite.recipe</groupId >
147
- <artifactId >rewrite-migrate-java</artifactId >
148
- <version >2.28.0</version >
149
- </dependency >
150
150
</dependencies >
151
151
</plugin >
152
152
```
0 commit comments