RE: plexus-utils 4.x and Xpp3DomBuilder

2023-09-22 Thread Jeremy Landis
LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw > iLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=eNPNaJm%2FfYf2cP9avC0fCJxHU0GSHT > ByUiUvYL9fwMs%3D&reserved=0> > > From: Slawomir Jaranowski > Sent: Saturday, September 16, 2023 9:50:51 AM > To: Maven Developers

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-16 Thread Slawomir Jaranowski
Get Outlook for Android<https://aka.ms/AAb9ysg> > > From: Slawomir Jaranowski > Sent: Saturday, September 16, 2023 9:50:51 AM > To: Maven Developers List > Subject: Re: plexus-utils 4.x and Xpp3DomBuilder > > śr., 13 wrz 2023 o 08:47 Hervé

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-16 Thread Jeremy Landis
9:50:51 AM To: Maven Developers List Subject: Re: plexus-utils 4.x and Xpp3DomBuilder śr., 13 wrz 2023 o 08:47 Hervé Boutemy 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

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-16 Thread Slawomir Jaranowski
śr., 13 wrz 2023 o 08:47 Hervé Boutemy 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

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-12 Thread Hervé Boutemy
can you try plexus-xml 3.0.0 and confirm this works as you expected initially, please? 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-enf

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-11 Thread Hervé Boutemy
plexus-xml 3.0.0 released, compatible with Maven 3 Maven Archetype upgraded as a proof of work: https://issues.apache.org/jira/browse/ARCHETYPE-648 = upgrading plexus-utils 3 to plexus-utils 4 + plexus-xml 3 (when XML APIs required) is a breeze what has to be avoided is upgrading plexus-xml 3 t

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-10 Thread Hervé Boutemy
working on it, I created a branch for plexus-xml 3.x: https://github.com/codehaus-plexus/plexus-xml/tree/3.x we should probably release such plexus-xml 3 that is the "normal" usual XML code that we used for years, extracted from plexus-utils 3 plexus-xml 4 is currently only for Maven 4 FYI, I

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-10 Thread Sylwester Lachiewicz
And looks like this apply not only to plugins but also to shared libs for maven (ASF also plexus and mojohous) Sylwester niedz., 10 wrz 2023, 09:00 użytkownik Hervé Boutemy napisał: > Le samedi 9 septembre 2023, 19:33:51 CEST Václav Haisman a écrit : > > On 25. 07. 23 20:56, Slawomir Jaranowski

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-10 Thread Hervé Boutemy
Le samedi 9 septembre 2023, 19:33:51 CEST Václav Haisman a écrit : > On 25. 07. 23 20:56, Slawomir Jaranowski wrote: > > 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,

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-09 Thread Václav Haisman
On 25. 07. 23 20:56, Slawomir Jaranowski wrote: 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, "UT

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-09 Thread Hervé Boutemy
now that plexus-xml has more details, I see the key point causing the most issues: it uses not only maven-xml-api but also maven-xml-impl maven-xml-impl is the Maven 4-specific reimplementation of XML parsing that is causing the incompatibility probably that this Maven XML Implementation compon

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-09 Thread Hervé Boutemy
ok, I updated plexus-utils and plexus-xml sites and added a few key aspects about how these relate to old Plexus Utils 3 https://codehaus-plexus.github.io/plexus-utils/ https://codehaus-plexus.github.io/plexus-xml/ I hope this will help Le samedi 9 septembre 2023, 11:14:52 CEST Hervé Boutemy a é

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-09 Thread Hervé Boutemy
> o.c.p:p-u 4.x that depends on > -> o.c.p:p-xml 4 that depends on notice this dependency is *optional* it's useful only for ReaderFactory/WriterFactory, for XmlReader/Writer fully removing the dependency would have broken full compatibility by removing a few methods: it was preferred to mark the

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-09 Thread Hervé Boutemy
yes notice p-u site is broken https://codehaus-plexus.github.io/plexus-utils/ and we should probably also find a way to publish also latest p-u 3 javadoc in parallel I'll see what I can do also to help on this Le vendredi 8 septembre 2023, 10:53:11 CEST Slawomir Jaranowski a écrit : > Thanks, I

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-08 Thread Tamás Cservenák
Howdy, Basil's issue is made me realize: o.c.p:p-u 4.x that depends on -> o.c.p:p-xml 4 that depends on -> o.a.m:m-api-xml that depends on -> o.a.m:m-api-meta This means that p-u pulls in new Maven4 API bits. Hence, Maven 3 plugin, that is built against maven-plugin-api 3.x, if switched to p-u 4,

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-08 Thread Basil Crow
I raised this issue in https://github.com/jenkinsci/maven-hpi-plugin/pull/490#issuecomment-1557970717 but did not receive a response. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-08 Thread Tamás Cservenák
Adding my last 5 cents and will stop here: - as you know, my goal is to push through the door latest Maven 3.x (3.9.5) and Resolver 1.x (1.9.16) - in a moment that happens, declare Maven 3.x and Resolver 1.x "bugfix only" -- and we should focus on Maven 4 - hence, for this, simplest would be to de

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-08 Thread Tamás Cservenák
I disagree here (or would like to have us be very cautious here): - the reason why p-u XML bits are exported are Modello generated models only (as they may have fiels like Xpp3Dom and generated IO classes uses XML bits as well) - plugins should remain capable to interact with Modello generated mod

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-08 Thread Tamás Cservenák
On Tue, Jul 25, 2023 at 8:57 PM Slawomir Jaranowski wrote: > It is very magical that we export classes but not export artifact > which contains those classes ... > > So, just to clear up: For ref http://takari.io/book/91-maven-classloading.html In relation to https://github.com/apache/maven/blo

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-08 Thread Slawomir Jaranowski
Thanks, I will create an IT for it. Good idea to describe the migration from plexus 3.x to 4.x. pt., 8 wrz 2023 o 10:26 Guillaume Nodet napisał(a): > I've raised MNG-7873. > Slawomir, do you think you could create an IT for that ? > I'll try to provide a fix asap, but a clean IT would make sure

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-08 Thread Guillaume Nodet
I've raised MNG-7873. Slawomir, do you think you could create an IT for that ? I'll try to provide a fix asap, but a clean IT would make sure the problem is actually fixed. I think we should also update the plexus-utils release notes with some more information about the migration to 4.x when using

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-07 Thread Hervé Boutemy
right conclusion Le mercredi 26 juillet 2023, 06:55:10 CEST Christoph Läubrich a écrit : > I tried the same with Tycho and the conclusion was that a maven plugin > can currently not upgrade to plexus-xml4 if you still want to support > maven 3.x > > Am 25.07.23 um 20:56 schrieb Slawomir Jaranowsk

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-09-04 Thread Guillaume Nodet
I think the decision to not export plexus-utils was taken some time ago. Unfortunately, the xml bits still have to be provided by the maven core class loader. I think in this case, Maven 3.9.x should also expose the builder class org.codehaus.plexus.util.xml.Xpp3DomBuilder I think this should wor

Re: plexus-utils 4.x and Xpp3DomBuilder

2023-07-29 Thread Christoph Läubrich
I tried the same with Tycho and the conclusion was that a maven plugin can currently not upgrade to plexus-xml4 if you still want to support maven 3.x Am 25.07.23 um 20:56 schrieb Slawomir Jaranowski: Hi I'm trying to update plexus-utils 3.5.x to plexus-utils/plexus-xml 4.x in maven-enforcer