Perhaps. I use git.

On Fri, Jan 24, 2025 at 1:47 PM Guillaume Nodet <gno...@apache.org> wrote:
>
> Le ven. 24 janv. 2025 à 11:25, Mark Raynsford <
> org.apache.maven.u...@io7m.com> a écrit :
>
> > On 22/01/2025 15:25, Tamás Cservenák wrote:
> > > Howdy,
> > >
> > > Lately, we get this question quite often.
> > >
> > > Today Guillaume assembled this very informative presentation:
> > > https://gnodet.github.io/maven4-presentation/
> > >
> > > There is also ongoing effort to assemble a page on Maven site as well:
> > > https://github.com/apache/maven-site/pull/598
> >
> > Hello!
> >
> > Are there details somewhere on the dependency "inference"?
> >
>
> This goes back to https://issues.apache.org/jira/browse/MNG-6656
> To summarize (and it has changed since the original commit), if your pom
> uses model 4.1.0, for each dependency that has no version directly
> specified,
> Maven will look in the whole project (from the root project and all child
> subprojects)
> for a matching groupId:artifactId.  If there's only one, it will use that
> version.
> So you don't have to manage that version in the root pom as it's usually
> done.
> The groupId can also be inferred, so you can only specify the artifactId.
>
>
> >
> > --
> > Mark Raynsford | https://www.io7m.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org
> >
> >
>
> --
> ------------------------
> Guillaume Nodet



-- 
Elliotte Rusty Harold
elh...@ibiblio.org

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

Reply via email to