Sorry for the noise on this.  After further looking, in our super pom, we were 
overriding plexus utils on multiple plugins, one of which was the site plugin.  
Since those did not have the override on plexus xml set to 3 and the fact we 
override back to plexus utils 4 using same property value, it caused the 
conflict.  After resolving that it seems fine now.  Thanks for the adjustments 
done on this effort!

Thanks,

Jeremy

-----Original Message-----
From: Slawomir Jaranowski <s.jaranow...@gmail.com> 
Sent: Saturday, September 16, 2023 2:55 PM
To: Maven Developers List <dev@maven.apache.org>
Subject: Re: plexus-utils 4.x and Xpp3DomBuilder

sob., 16 wrz 2023 o 16:19 Jeremy Landis <jeremylan...@hotmail.com>
napisał(a):

> Site plugin on maven release doesn't like if this was used this way.
> Using the site 3 series.
>

Can you provide more details or reproduce for the site plugin?


>
> Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for 
> Android<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F
> %2Faka.ms%2FAAb9ysg&data=05%7C01%7C%7C740d82224eff4fd9e67e08dbb6e66dde
> %7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638304873032160179%7CUnk
> nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw
> iLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=eNPNaJm%2FfYf2cP9avC0fCJxHU0GSHT
> ByUiUvYL9fwMs%3D&reserved=0>
> ________________________________
> From: Slawomir Jaranowski <s.jaranow...@gmail.com>
> Sent: Saturday, September 16, 2023 9:50:51 AM
> To: Maven Developers List <dev@maven.apache.org>
> Subject: Re: plexus-utils 4.x and Xpp3DomBuilder
>
> ś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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
> b.com%2Fapache%2Fmaven-enforcer%2Fpull%2F291&data=05%7C01%7C%7C740d822
> 24eff4fd9e67e08dbb6e66dde%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7
> C638304873032160179%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIj
> oiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hbZ%2BJ
> vidhx2643PZW2AKmGBQjP%2B4uKLo43iG1L2qB%2F8%3D&reserved=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> ub.com%2Fapache%2Fmaven-enforcer%2Fpull%2F291&data=05%7C01%7C%7C740d82
> 224eff4fd9e67e08dbb6e66dde%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%
> 7C638304873032160179%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQI
> joiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hbZ%2B
> Jvidhx2643PZW2AKmGBQjP%2B4uKLo43iG1L2qB%2F8%3D&reserved=0>
>
> 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</exportedPacka
> > ge>
> > >
> > >
> >
> <exportedPackage>org.codehaus.plexus.util.xml.pull.XmlPullParser</expo
> rtedPa
> > > ckage>
> > >
> > >
> >
> <exportedPackage>org.codehaus.plexus.util.xml.pull.XmlPullParserExcept
> ion</e
> > > xportedPackage>
> > >
> > >
> >
> <exportedPackage>org.codehaus.plexus.util.xml.pull.XmlSerializer</expo
> rtedPa
> > > 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
>


--
Sławomir Jaranowski

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to