Uh oh!
There was an error while loading. Please reload this page.
PHOENIX-6350: Fix build failure due to jakarta.xml.bind api - #1121
PHOENIX-6350: Fix build failure due to jakarta.xml.bind api#1121surnaik wants to merge 3 commits into
Conversation
stoty
commented
Jan 29, 2021
💔 -1 overall
This message was automatically generated. |
| <dependency> | ||
| <groupId>jakarta.xml.bind</groupId> | ||
| <artifactId>jakarta.xml.bind-api</artifactId> | ||
| <version>2.3.2</version> |
There was a problem hiding this comment.
Can you please define this dependency version on parent pom?
There was a problem hiding this comment.
We already depend on javax.xml.bind:bind-api.
We should probably replace that dependency, instead of adding a new one.
There was a problem hiding this comment.
Thanks for the review guys. Sure, I'll update the PR.
There was a problem hiding this comment.
Replacing the dependeny doesn't actually work, unfortunately.
There was a problem hiding this comment.
This is dependency-plugin getting even more confused than usual by multiple sources of jaxb-api.
As pulling in the same set of classes from two packages just to appease dependecy plugin is not the way to go, we should just ignore this.
There was a problem hiding this comment.
By ignore this, I mean tell dependeny-plugin to ignore these packages.
stoty
commented
Feb 3, 2021
Alternative fix with dependency-plugin ignore setting at #1127 |
surnaik
commented
Feb 3, 2021
@stoty, I added the jakarta xml bind to ignore used undeclared dependency |
surnaik
commented
Feb 3, 2021
Oh, didn't see your PR, should I close this? |
surnaik
commented
Feb 3, 2021
Please close this if not required. Thank you! |
surnaik
commented
Feb 3, 2021
Closing this, #1127 covers this. Thanks @virajjasani and @stoty |
stoty
commented
Feb 3, 2021
💔 -1 overall
This message was automatically generated. |
No description provided.