Skip to content

Jakarta Support #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

nebhale
Copy link
Contributor

@nebhale nebhale commented Nov 13, 2023

This change updates the project to support both the javax and jakarta namespaces for JEE projects. It does this by creating two separate Maven projects, one for each, which are then shaded into a single JAR used by everyone. The contents of META-INF/services and META-INF/spring.factories route to the correct implementation preventing class loading problems.

Copy link

linux-foundation-easycla bot commented Nov 13, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: nebhale / name: Ben Hale (070c09c, 209c8cd)
  • ✅ login: anthonydahanne / name: Anthony Dahanne (42024d3)

@nebhale nebhale force-pushed the jakarta-support branch 3 times, most recently from 005d3fd to 500447e Compare November 13, 2023 22:51
Copy link
Contributor

@anthonydahanne anthonydahanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much @nebhale for simplifying everything about Jakarta support!

Since we now deploy to Maven Central, we'll need a bit more XML to add developers, javadoc, licence, url and scm (like I did in the other PR)
But we'll add that with David when we test.

Please let me know about the PR comments I left! I'm curious to know your take on those.
Thanks again!

</plugin>
<plugin>
<groupId>org.jfrog.buildinfo</groupId>
<artifactId>artifactory-maven-plugin</artifactId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this plugin utilization is relevant / needed anymore.
With a slight change to deploy.sh and the concourse pipeline , we conform to other Java experience projects and don't rely on plugins not coming from central.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to remove as you desire.

This change updates the project to support both the javax and jakarta
namespaces for JEE projects.  It does this by creating two separate
Maven projects, one for each, which are then shaded into a single JAR
used by everyone.  The contents of META-INF/services and
META-INF/spring.factories route to the correct implementation preventing
class loading problems.

Signed-off-by: Ben Hale <[email protected]>
@nebhale
Copy link
Contributor Author

nebhale commented Nov 22, 2023

Nudge @anthonydahanne.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants