Just a short hint: Toolbox Mojos that have `gav-` prefix do not make
use (require) project, but as in gist above you usually need to direct
it to some resolvable gav as -Dgav=g:a:v
You may want to use the "gav-less" mojo instead inside your project
checkout (toolbox:dirty-tree).

mvn toolbox:help -Ddetail is your friend.

Full plugin coord (I have groupId in my settings):
eu.maveniverse.maven.plugins:toolbox:help

T

On Fri, Feb 14, 2025 at 7:33 PM Tamás Cservenák <ta...@cservenak.net> wrote:
>
> Howdy,
>
> per def, the "full dep tree" is ignoring optional on level 1+.
> What you want is "dirty tree" (not verbose!)
> See this: https://gist.github.com/cstamas/177753c2ca7ee30ca29f866ad6e42c06
>
> 2) whoever uses resolver API. If API user really want dirty tree, then
> the session needs to be modified due this:
> https://github.com/apache/maven/blob/maven-3.9.x/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java#L99
>
> On Fri, Feb 14, 2025 at 6:48 PM Gary Gregory <garydgreg...@gmail.com> wrote:
> >
> > HI All:
> >
> > There are two issues I'd like to ask about related to Apache Commons
> > Configuration and VFS for
> > https://github.com/moditect/moditect/issues/259
> >
> > 1) How do I ask Maven show me the full dependency tree?
> > Running 'mvn dependency:tree' does not dive into optional dependencies
> > of optional dependencies. The example at the link above shows the
> > result of 'dependency:tree' for Commons Configuration.
> >
> > 2) Is the main issue at the link is a "who's job is this" question?
> > - Can I configue the Dependency plugin when I run the Moditect plugin, or,
> > - Is this something the Moditect plugin should implement?
> >
> > TY!
> > Gary
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >

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

Reply via email to