You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vinod Panicker <vi...@gmail.com> on 2006/09/01 06:44:22 UTC

Seeing the dependency tree

Hi,

When I create an assembly for my project, I get a lot of unwanted jars
in the output directory which are being pulled in by some dependencies
of my project. I want to avoid having those jars going along with my
release.

I was wondering if there's a way to print the entire dependency tree
for a given project, so that I know what dependencies I have to
exclude.

Regards,
Vinod.

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


Re: Seeing the dependency tree

Posted by Barrie Treloar <ba...@gmail.com>.
Go into the module sub-directory and either re-run mvn site or look at
the target/site/dependency.html file there.  These reports are not
aggregated.

On 9/1/06, Vinod Panicker <vi...@gmail.com> wrote:
> Thanks for the help, but the dependency graph is being shown only for
> the main project and not the modules.  Is there anything I'm missing?

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


Re: Seeing the dependency tree

Posted by Vinod Panicker <vi...@gmail.com>.
Thanks for the help, but the dependency graph is being shown only for
the main project and not the modules.  Is there anything I'm missing?

Regards,
Vinod.

On 9/1/06, Barrie Treloar <ba...@gmail.com> wrote:
> Run mvn site, which by default will include the dependency report.
>
> You can see a hierarchical view of all the dependencies of your project.
>
> The file will be in target/site/dependencies.html
>
> See the nabble archives at
> http://www.nabble.com/forum/ViewPost.jtp?post=5496323&framed=y for how
> to configure the exclusion of unwanted jars.
>
> On 9/1/06, Vinod Panicker <vi...@gmail.com> wrote:
> > Hi,
> >
> > When I create an assembly for my project, I get a lot of unwanted jars
> > in the output directory which are being pulled in by some dependencies
> > of my project. I want to avoid having those jars going along with my
> > release.
> >
> > I was wondering if there's a way to print the entire dependency tree
> > for a given project, so that I know what dependencies I have to
> > exclude.
> >
> > Regards,
> > Vinod.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: Seeing the dependency tree

Posted by Barrie Treloar <ba...@gmail.com>.
Run mvn site, which by default will include the dependency report.

You can see a hierarchical view of all the dependencies of your project.

The file will be in target/site/dependencies.html

See the nabble archives at
http://www.nabble.com/forum/ViewPost.jtp?post=5496323&framed=y for how
to configure the exclusion of unwanted jars.

On 9/1/06, Vinod Panicker <vi...@gmail.com> wrote:
> Hi,
>
> When I create an assembly for my project, I get a lot of unwanted jars
> in the output directory which are being pulled in by some dependencies
> of my project. I want to avoid having those jars going along with my
> release.
>
> I was wondering if there's a way to print the entire dependency tree
> for a given project, so that I know what dependencies I have to
> exclude.
>
> Regards,
> Vinod.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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