To reduce dependency from maven to plexus, we could keep the xml api and
implementation which are used by maven 4 inside maven, and update
plexus-utils (or the new plexus-xml) to be compatible with the new
immutable DOM api from maven.

So this would mean:
  * move the two re-implemented plexus classes from maven to a new
plexus-xml project:
https://github.com/apache/maven/tree/master/maven-xml-impl/src/main/java/org/codehaus/plexus/util/xml

  * plexus-xml would depend on maven-api-xml and maven-xml-impl (or
whatever it will be renamed)
  * modify plexus-utils to depend on plexus-xml
One plexus-xml and plexus-utils are released, this would allow to remove
from maven:
  * the two xml classes
  * the repackaged plexus-utils

Le ven. 30 déc. 2022 à 16:21, Benjamin Marwell <bmarw...@apache.org> a
écrit :

> +1 to what Romain said. Let's reduce dependencies to other orgs where
> possible and feasible. It is, in this case.
>
>
>
>
> On Fri, 30 Dec 2022, 10:27 Romain Manni-Bucau, <rmannibu...@gmail.com>
> wrote:
>
> > Hi Hervé,
> >
> > As mentionned in the thread I think it makes sense to freeze plexus and
> > slowly import to maven the related code so I'd be to import the parts we
> > need (guess some abstraction can be dropped at the same time).
> > So +1 to split, -0 to do it at plexus, +1 to do it in maven.
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <https://rmannibucau.metawerx.net/> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github <
> > https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > <
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
> >
> >
> > Le ven. 30 déc. 2022 à 10:22, Hervé Boutemy <herve.bout...@free.fr> a
> > écrit :
> >
> > > while working on the XML side of Maven 4 immutable API, we had the idea
> > of
> > > extracting the XML code from plexus-utils to a new separate plexus-xml
> > > artifact
> > > that could be done for version 4
> > >
> > > see https://github.com/codehaus-plexus/plexus-utils/issues/228
> > >
> > > any  objection?
> > >
> > > Regards,
> > >
> > > Hervé
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > > For additional commands, e-mail: dev-h...@maven.apache.org
> > >
> > >
> >
>


-- 
------------------------
Guillaume Nodet

Reply via email to