-
Notifications
You must be signed in to change notification settings - Fork 99
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
Catalog resolution failure after upgrade to 0.15.1 #244
Comments
Overriding jaxb-xjc's version to version 2.3.3 seems to fix this (plugin uses 2.3.6) |
Can you try with v2.3.5? There was a big gap b/w those versions. Also-- might be good to open a ticket with xjc (v2.3.6 was released in Jan' of 2022) jaxb project: https://github.com/eclipse-ee4j/jaxb-ri |
I've tried to do just that, but as I said, I haven't been able to create a minimal reproducible test.
Although I would agree that the problem probably lies within a bug in xjc, it may be triggered from some extra configuration maven-jaxb2-plugin is using or perhaps an interaction with some other dependency. I can see this with all versions > 2.3.3. I added the sample project to a repo: https://github.com/gigermocas/catalog-test |
We are also using After a few iterations of |
Thanks! That helped. I think I've narrowed it down to the plugin's usage of a |
@gigermocas if you can narrow down the fix and make a PR, I'll cut a new release. I have been swamped lately and am running a few weeks behind on my planned jaxb work. Thx |
Sorry, I'm not sure how a solution for this would actually look like. I don't think I'm seeing the full picture. |
Heads up... got pulled away on some things. Still planning to swing back to this |
About to release 0.15.2 with updated jaxb 2.3.7 (which has some upstream fixes) and better jaxb dependency alignment |
Is this supposed to be fixed since I have upgraded to 0.15.2 with this CP:
and it is still broken for me? |
@michael-o Yes, the failure is still there. I tried it with 0.15.2 and 0.15.3. For me it works with 0.14.0 |
@mattrpav : found a way to fix this issue with small change and added a test project on local build that failed without the fix and succeded with the fix. |
Fix version candidate will be 2.0.4. Stay tuned 😄 |
@michael-o @sepe81 @gigermocas |
@laurentschoelens, I cannot say that it works for me now:
I need to analyze tomorrow what is happening here. With 0.14.0 it did work. |
Could you share more context about this error you have ? |
I will create a reproducer tomorrow since my project is too complex for this to analyze. 2.0.3 fails with a completely different error since catalog resolution from dependency artifact does not work:
I wil report a separate issue as soon as I have a sample project. |
Thanks for your quick reply |
Feel free to open new issue since error is different now |
Done: #306 |
Hello,
I have a fairly complex project with vendor supplied schemas and I use an XML Catalog.
After I upgraded to 0.15.1, xjc isn't able to find some schema files and breaks compilation.
I've attached a sample project that shows this: catalog-test.zip
The plugin's binding configuration seems to influence this behavior, as it only manifests if a bindings.xjb file is found.
The text was updated successfully, but these errors were encountered: