śr., 13 wrz 2023 o 08:47 Hervé Boutemy <herve.bout...@free.fr> napisał(a):
> can you try plexus-xml 3.0.0 and confirm this works as you expected > initially, > please? > > plexus-utils 4.x and plexsu-xml 3.0.0 can be used on both Maven 3.x and 4.x So now it will be ok. https://github.com/apache/maven-enforcer/pull/291 Regards, > > Hervé > > Le mardi 25 juillet 2023, 20:56:04 CEST Slawomir Jaranowski a écrit : > > Hi > > > > I'm trying to update plexus-utils 3.5.x to plexus-utils/plexus-xml 4.x in > > maven-enforcer .... > > > > In maven-enforcer (and in many other plugins ...) is used, code like: > > > > Xpp3Dom enforcerRules = > Xpp3DomBuilder.build(descriptorStream, > > "UTF-8"); > > > > Xpp3Dom and Xpp3DomBuilder - has new implementation in plexus-xml .... > but > > Maven 3.x exports > > > > <!-- plexus-utils (for DOM-type fields in maven-model) --> > > > <exportedPackage>org.codehaus.plexus.util.xml.Xpp3Dom</exportedPackage> > > > > > <exportedPackage>org.codehaus.plexus.util.xml.pull.XmlPullParser</exportedPa > > ckage> > > > > > <exportedPackage>org.codehaus.plexus.util.xml.pull.XmlPullParserException</e > > xportedPackage> > > > > > <exportedPackage>org.codehaus.plexus.util.xml.pull.XmlSerializer</exportedPa > > ckage> > > > > It is very magical that we export classes but not export artifact > > which contains those classes ... > > > > so incompatibilite code for Xpp3Dom is used ... > > > > Any hints on how to process it. > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > -- Sławomir Jaranowski