-
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
Fix "incompatible types: List<DependencyResource>
cannot be converted to java.util.List<Dependency>
" error
#154
Conversation
I integrated maven-jaxb2-plugin into Debian recently and had to add these two patches for it. Hope they are useful. |
|
As for using |
The internal version gave: "package com.sun.org.apache.xml.internal.resolver does not exist". Should we add org.apache.xml to the classpath, or what would you suggest? We can also leave this as a Debian only patch, if you would be ok with that. |
This is weird.
The artifact
I would like to understand, what's happening first of all. |
|
Another question: why is there a need in a special packaging for Debian? I don't know this story. |
Well, I don't trow it out but replace it with the apache version, which should be the same (apart from the package name). Debian requires to be self contained, i.e. all sources need to be in Debian as well. |
I'll think about how to fix this. |
I've pushed a patch to add the apache version to the classpath to make this working. |
com.sun.tools.xjc.CatalogUtil is using the apache version as well in Debian, if I'm not wrong: |
So I would propose to keep that patch in Debian and update this PR to only contain the Arrays fix, would you agree? |
I think we should keep that patch in Debian. Accepting it into the master will most definitely break things here. As for the |
I updated the PR to only contain the |
List<DependencyResource>
cannot be converted to java.util.List<Dependency>
" error
I'm not getting this error, but OK, it's a minor change. |
No description provided.