-
Notifications
You must be signed in to change notification settings - Fork 9
Fix duplicate jaxb-core dependency issue (#187) #188
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
base: master
Are you sure you want to change the base?
Conversation
Exclude jaxb-code transitive dependency to avoid duplicate problem Fixes #187
WalkthroughThis pull request adds two new entries ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🪛 GitHub Actions: Java CI with Mavenpom.xml[error] 1-1: Command failed: mvn -B package --file pom.xml. There are test failures in the grid-exporter-addon module (Surefire) causing build failure. 🔇 Additional comments (2)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
javier-godoy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Please follow the Conventional Commits specification in the PR title
-
Don't include issue or PR numbers in the title
https://github.com/FlowingCode/AddonsInternal/blob/main/pr-process.md#conventions-on-pull-request-titles -
Use
Closes #187instead ofFixes #187
https://github.com/FlowingCode/DevelopmentConventions/blob/main/conventional-commits.md#5-footer



Fixes #187
This PR resolves the duplicate
jaxb-core-4.0.6.jardependency issue that prevented users from upgrading to version 2.5.x when building WAR files with Gradle. The problem occurred because bothdocx4j-JAXB-ReferenceImplanddocx4j-JAXB-MOXytransitively included different implementations of the same JAXB core library under different Maven group IDs (org.glassfish.jaxb:jaxb-coreandcom.sun.xml.bind:jaxb-core).The fix adds a Maven exclusion to the
docx4j-JAXB-MOXydependency, excludingcom.sun.xml.bind:jaxb-corewhile keeping the GlassFish reference implementation. This change has been verified with a clean dependency tree, successful build, all unit tests passing and also manual testing of the demo.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.