-
-
Notifications
You must be signed in to change notification settings - Fork 83
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 shading of isorelax
dependency (and other msv-core components)
#200
Comments
Also, I'm not sure if the shading of I noticed while browsing Maven Central that the I can submit a PR if that would help? |
@norrisjeremy I am 99% sure change is unintentional, and based on misunderstanding that the included Java packages were same between artifacts. Be all of that as it may, yes, a PR to make MSV and its dependencies properly shaded would be very helpful -- probably against |
Btw, sounds like #193 might be related? |
@cowtowncoder Do you have any sort of CLA that you would need from me to contribute a PR for this? There are no code related changes, it's simply a few changes to the |
On the other hand, looking at the newer
|
Unfortunately there was no reproducer for #193: one practical problem being that the JDK baseline for building things is JDK 8, and there is no good way (AFAIK) to test module-info before JDK 9 (where JPMS was introduced). As to |
@norrisjeremy One thing I did forget to ask -- why does this matter? As in, what problem is being fixed? I was assuming this is due to something breaking (validation not working); exception being thrown or so? But that would be good to include since inclusion of various components is only to support XML Schema / RelaxNG validation and nothing else. |
We routinely audit various library dependencies that we utilize for our internally built applications and noticed that the 6.6 Woodstox releases no longer included the shaded copy of I also completed an analysis and concluded that not shading
|
Ok that makes sense. I will add another question on PR itself then. |
isorelax
dependency (and other msv-core components)
Merged; I also released Woodstox 6.6.2 with just this one change. |
Great, thanks! |
Is it intended that
isorelax
is no longer shaded into the final artifact published to Maven Central?It appears this started with the
6.6.0
release, becausenet.java.dev.msv:msv-core:2022.7
now depends uponisorelax:isorelax:20030108
, unlike the previousnet.java.dev.msv:msv-core:2013.6.1
that instead depended uponcom.sun.xml.bind.jaxb:isorelax:20090621
.The
isorelax:isorelax:20030108
artifact no longer matches the artifactSet include declaration in the POM file here, therefore it is not processed by the relocation declarations, and thus is not shaded in the final artifact that is published to Maven Central.The text was updated successfully, but these errors were encountered: