Provide compliance with both javax.servlet and jakarta.servlet #379
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Temporary workaround for #349, tested on tomcat 10.
Instead of forking java-saml-toolkit classes or using Eclipse transformer on client side, this PR allows to create 2 jar:
<classifier>jakarta<classifier>
To build :
mvn clean install
(mvn clean install -Pjavax
)mvn clean install -Pjakarta
I'm not sure how the artifacts are deployed within the release process, i think it should look like this? :
mvn release:prepare mvn release:perform mvn clean install deploy -Prelease mvn clean install deploy -Prelease,jakarta (may be without release profile here to avoid overwriting sources/javadoc jars?) mvn release:clean
The compliance is achieved within pom.xml metadata and do not modify the original java sources, so you will need to continue using javax to debug with sources.
The javax vs jakarta dependencies are moved under dedicated maven profiles.
Let me know if there is a more efficient way to publish a jakarta compliant jar on central repo.