Closed hantsy closed 2 years ago
fixes #52
@pelletier197 Thanks for reviewing my PRs.
But I need more help to polish this PR to make it more mature, as the check list in the original post.
Personally I hope to build a special jakarta version for Jakarta EE 9 , and keep the default version for Jakarta EE 8, but it seems the MavenPublishPlugin can not set the artifactId
dynamically.
And if possible to add a new archive(jakarta) for Jakarta EE 9 besides the default archives(src, docs, jar, and a new jar with jakarta postfix in the name).
Is there any update on this PR? So we can unblock: https://github.com/Netflix/dgs-framework/pull/659
Another possible solution is maintaining a branch for Jakarta EE 8,and make the main/master for Jakarta EE 9. This is maybe the most common options to maintain multi versions.
@pelletier197 @sbilello Tried to create two branches(jakartaee8, jakartaee9) on my fork(not created PRs yet), the build.gradle
looks more clear.
jakartaee8
branch will need to sync to upstream jakartaee8
, and this upstream project will maintain a jakartaee8
branch in future.( I need help to create such a jakartaee8
branch on this upstream)jakartaee9
branch just add postfix jakarta the artifact name to indicate the new namespace, which will be merged into the upstream master.Looks more clear?
Hope the maintainer of this project can work together and decide the final solution. If this is acceptable, I will create two smaller PRs instead of this one to avoid the source code transforming process.
If we can make a change that would make it clear and keep jakartaee8
working: it should allow any project to avoid dealing with runtime dependency conflicts. I guess it is a good workaround to avoid to upgrade jakartaee8
in the Spring Framework
I'm personally completely okay with this and I would merge as is.
Unfortunately I'm not a maintainer of this repo, so even if we can merge it, I cannot deploy it. And the maintainers of the repo are not really reactive to PRs. I have not had any update on my recent PRs as well for a while.
I was personally able to use the library with Jakarta in spring. Adding Jakarta to your classpath should resolve this, but it is indeed a dirty workaround.
Another possible solution is maintaining a branch for Jakarta EE 8,and make the main/master for Jakarta EE 9. This is maybe the most common options to maintain multi versions.
I think this is a much better option that gradle config that edits files at runtime. I think a branch is a much better option
I think this is a much better option that gradle config that edits files at runtime. I think a branch is a much better option
@bbakerman Described in this comment https://github.com/graphql-java/graphql-java-extended-validation/pull/53#issuecomment-957146265 This is ready in my side, there is a jakartaee8 branch required to be created on this project,, thus I can create new PRs for different branches.
I ended up making a PR and branch and released a new version
https://github.com/graphql-java/graphql-java-extended-validation/pull/54
So we should be right to go. Please test that release (its in Maven now) and tell me if there are any problems
see https://github.com/graphql-java/graphql-java-extended-validation/pull/53#issuecomment-957122700 and https://github.com/graphql-java/graphql-java-extended-validation/pull/53#issuecomment-957146265