You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rodrigo Gonçalves <rm...@criticalsoftware.com> on 2007/02/21 11:35:45 UTC
unused dependencies
hi !
i'm migrating a big project from ant to maven2, i'm using maven 2.0.5.
i wrote the pom.xml with the dependencies that we had on our lib
directory, but i know that some of the dependencies are no longer being
used, would like to know if there is a way to check automatically what
are the unused dependencies.
thx in advance.
Rodrigo Gonçalves
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: unused dependencies
Posted by Rodrigo Gonçalves <rm...@criticalsoftware.com>.
THX Mark this tool will help me a lot on the migration !
Mark Hobson wrote:
> On 21/02/07, Rodrigo Gonçalves <rm...@criticalsoftware.com> wrote:
>> hi !
>>
>> i'm migrating a big project from ant to maven2, i'm using maven 2.0.5.
>> i wrote the pom.xml with the dependencies that we had on our lib
>> directory, but i know that some of the dependencies are no longer being
>> used, would like to know if there is a way to check automatically what
>> are the unused dependencies.
>
> There's dependency-analyzer:analyze in the sandbox:
>
> https://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-dependency-analyzer-plugin/
>
>
> which can provide this information. It requires:
>
> https://svn.apache.org/repos/asf/maven/sandbox/shared/maven-dependency-analyzer/
>
>
> You'll have to build from source, but it's pretty easy to do.
>
> Mark
>
> ---------------------------------------------------------------------
> 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: unused dependencies
Posted by Mark Hobson <ma...@gmail.com>.
On 22/02/07, Tony Ambrozie <to...@gmail.com> wrote:
> I believe the correct locations are:
> https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-dependency-analyzer-plugin/
>
> and
> https://svn.apache.org/repos/asf/maven/sandbox/trunk/shared/maven-dependency-analyzer/
Thanks, it was correct at the time of writing ;)
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: unused dependencies
Posted by Tony Ambrozie <to...@gmail.com>.
I believe the correct locations are:
https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-dependency-analyzer-plugin/
and
https://svn.apache.org/repos/asf/maven/sandbox/trunk/shared/maven-dependency-analyzer/
Thanks'
On 2/21/07, Mark Hobson <ma...@gmail.com> wrote:
>
> On 21/02/07, Rodrigo Gonçalves <rm...@criticalsoftware.com> wrote:
> > hi !
> >
> > i'm migrating a big project from ant to maven2, i'm using maven 2.0.5.
> > i wrote the pom.xml with the dependencies that we had on our lib
> > directory, but i know that some of the dependencies are no longer being
> > used, would like to know if there is a way to check automatically what
> > are the unused dependencies.
>
> There's dependency-analyzer:analyze in the sandbox:
>
>
> https://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-dependency-analyzer-plugin/
>
> which can provide this information. It requires:
>
>
> https://svn.apache.org/repos/asf/maven/sandbox/shared/maven-dependency-analyzer/
You'll have to build from source, but it's pretty easy to do.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: unused dependencies
Posted by Mark Hobson <ma...@gmail.com>.
On 21/02/07, Rodrigo Gonçalves <rm...@criticalsoftware.com> wrote:
> hi !
>
> i'm migrating a big project from ant to maven2, i'm using maven 2.0.5.
> i wrote the pom.xml with the dependencies that we had on our lib
> directory, but i know that some of the dependencies are no longer being
> used, would like to know if there is a way to check automatically what
> are the unused dependencies.
There's dependency-analyzer:analyze in the sandbox:
https://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-dependency-analyzer-plugin/
which can provide this information. It requires:
https://svn.apache.org/repos/asf/maven/sandbox/shared/maven-dependency-analyzer/
You'll have to build from source, but it's pretty easy to do.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org