-
Notifications
You must be signed in to change notification settings - Fork 2
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
Duplicated classes org.codehaus.plexus.util.xml.Xpp3Dom and org.codehaus.plexus.util.xml.Xpp3DomBuilder from maven-xml-impl #17
Comments
same package name too? |
Yes, same package name too. |
I don't see that in the maven-xml-impl source code. Is it getting shaded into the jar somehow? Can you please post the command and output that leads you to believe that these classes are in maven-xml-impl? |
You can see that simply by opening the maven-xml-impl JAR from https://repo1.maven.org/maven2/org/apache/maven/maven-xml-impl/4.0.0-alpha-5/maven-xml-impl-4.0.0-alpha-5.jar for example. |
2nd Xpp3Dom come from transitive dependency to old plexus-utils 3.x |
I just tried to upgrade to plexus-utils 4 which means adding plexus-xml as dependency here and there, but I had the surprise to notice that both plexus-xml and its direct dependency maven-xml-impl contain 2 classes with the same name and extremely similar code. I was wondering if this is really on purpose since it's not very clean.
I checked Xpp3Dom source and both versions seems very similar, the only changes I noticed are on the final static constants.
The text was updated successfully, but these errors were encountered: