Skip to content

Commit

Permalink
Adding all org.glassfish.main migrations to jakarta (#517)
Browse files Browse the repository at this point in the history
* Added javax.ejb:javax.ejb to jakarta mig

* Added all com.glassfish.main migrations

* Update src/main/resources/META-INF/rewrite/jakarta-ee-9.yml

Co-authored-by: Tim te Beek <timtebeek@gmail.com>

* Changed jsf impl

---------

Co-authored-by: Tim te Beek <timtebeek@gmail.com>
  • Loading branch information
sgartner03 and timtebeek authored Jul 29, 2024
1 parent 8d15935 commit 8376fac
Showing 1 changed file with 50 additions and 2 deletions.
52 changes: 50 additions & 2 deletions src/main/resources/META-INF/rewrite/jakarta-ee-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ recipeList:
newGroupId: jakarta.annotation
newArtifactId: jakarta.annotation-api
newVersion: latest.release
- org.openrewrite.java.dependencies.ChangeDependency:
oldGroupId: org.glassfish.main
oldArtifactId: javax.annotation
newGroupId: jakarta.annotation
newArtifactId: jakarta.annotation-api
newVersion: latest.release
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: javax.annotation.Generated
newFullyQualifiedTypeName: jakarta.annotation.Generated
Expand Down Expand Up @@ -192,6 +198,12 @@ recipeList:
newGroupId: jakarta.authentication
newArtifactId: jakarta.authentication-api
newVersion: latest.release
- org.openrewrite.java.dependencies.ChangeDependency:
oldGroupId: org.glassfish.main
oldArtifactId: javax.security.auth.message
newGroupId: jakarta.authentication
newArtifactId: jakarta.authentication-api
newVersion: latest.release
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.authentication
artifactId: jakarta.authentication-api
Expand All @@ -218,6 +230,12 @@ recipeList:
newGroupId: jakarta.authorization
newArtifactId: jakarta.authorization-api
newVersion: latest.release
- org.openrewrite.java.dependencies.ChangeDependency:
oldGroupId: org.glassfish.main
oldArtifactId: javax.security.jacc
newGroupId: jakarta.authorization
newArtifactId: jakarta.authorization-api
newVersion: latest.release
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.authorization
artifactId: jakarta.authorization-api
Expand Down Expand Up @@ -313,6 +331,12 @@ recipeList:
newGroupId: jakarta.ejb
newArtifactId: jakarta.ejb-api
newVersion: latest.release
- org.openrewrite.java.dependencies.ChangeDependency:
oldGroupId: org.glassfish.main
oldArtifactId: javax.ejb
newGroupId: jakarta.ejb
newArtifactId: jakarta.ejb-api
newVersion: latest.release
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.ejb
artifactId: jakarta.ejb-api
Expand Down Expand Up @@ -376,8 +400,8 @@ recipeList:
- org.openrewrite.java.dependencies.ChangeDependency:
oldGroupId: org.glassfish
oldArtifactId: javax.faces
newGroupId: jakarta.faces
newArtifactId: jakarta.faces-api
newGroupId: org.glassfish
newArtifactId: jakarta.faces
newVersion: latest.release
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.faces
Expand Down Expand Up @@ -449,6 +473,12 @@ recipeList:
newGroupId: jakarta.jms
newArtifactId: jakarta.jms-api
newVersion: latest.release
- org.openrewrite.java.dependencies.ChangeDependency:
oldGroupId: org.glassfish.main
oldArtifactId: javax.jms
newGroupId: jakarta.jms
newArtifactId: jakarta.jms-api
newVersion: latest.release
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.jms
artifactId: jakarta.jms-api
Expand Down Expand Up @@ -489,6 +519,12 @@ recipeList:
newGroupId: jakarta.jws
newArtifactId: jakarta.jws-api
newVersion: latest.release
- org.openrewrite.java.dependencies.ChangeDependency:
oldGroupId: org.glassfish.main
oldArtifactId: javax.jws
newGroupId: jakarta.jws
newArtifactId: jakarta.jws-api
newVersion: latest.release
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.jws
artifactId: jakarta.jws-api
Expand Down Expand Up @@ -555,6 +591,12 @@ recipeList:
newGroupId: jakarta.resource
newArtifactId: jakarta.resource-api
newVersion: latest.release
- org.openrewrite.java.dependencies.ChangeDependency:
oldGroupId: org.glassfish.main
oldArtifactId: javax.resource
newGroupId: jakarta.resource
newArtifactId: jakarta.resource-api
newVersion: latest.release
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.resource
artifactId: jakarta.resource-api
Expand Down Expand Up @@ -619,6 +661,12 @@ recipeList:
newGroupId: jakarta.transaction
newArtifactId: jakarta.transaction-api
newVersion: latest.release
- org.openrewrite.java.dependencies.ChangeDependency:
oldGroupId: org.glassfish.main
oldArtifactId: javax.transaction
newGroupId: jakarta.transaction
newArtifactId: jakarta.transaction-api
newVersion: latest.release
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: jakarta.transaction
artifactId: jakarta.transaction-api
Expand Down

0 comments on commit 8376fac

Please sign in to comment.