Skip to content
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

Using Eclipse Transformer plugin to create Jakarta JAR #799

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

jcputney
Copy link
Contributor

@jcputney jcputney commented Sep 8, 2023

This PR adds a Maven profile called "jakarta" that will generate a transformed JAR file, compatible with the jakarta.servlet changes for Jakarta EE 9+

I don't know how you public packages, and I doubt this is a full solution, but it at least gets you pointed in the right direction.

Copy link
Contributor

@kwwall kwwall left a comment

Choose a reason for hiding this comment

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

@jcputney - Looks good and works as expected, but I am concerned about the release details to Maven Central. Please see my 2nd comment associated with our pom.

.gitignore Show resolved Hide resolved
.gitignore Show resolved Hide resolved
@kwwall
Copy link
Contributor

kwwall commented Nov 20, 2023

@xeno6696 and @jeremiahjstacey - I will approve this after my PR #809 gets merged. If it gets merged now, I think it likely will cause merge conflicts.

@kwwall kwwall self-assigned this Nov 23, 2023
Copy link
Contributor

@kwwall kwwall left a comment

Choose a reason for hiding this comment

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

This at least seems to work up through the 'mvn compile install' step. It creates a esapi-<release>-jakarta.jar whose classes have references to the jakarta.servlet package namespace rather than the javax.servlet namespace. Whether it works when trying to upload to Maven Central, that remains to be seen, but it's worth is shot. If that part doesn't work, I'll back this change out and release 2.5.3.0 without this.

@kwwall kwwall merged commit 92d24f0 into ESAPI:develop Nov 23, 2023
@JLLeitschuh
Copy link

If this worked, it may be good to go update the README to reflect that this JAR now exists and is published to maven central?

@kwwall
Copy link
Contributor

kwwall commented Jan 30, 2024 via email

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