You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Geoffrey De Smet <ge...@gmail.com> on 2007/04/13 12:13:11 UTC
Analyze dependency tree without compiling
Hi all,
Is it possible to analyze the dependency tree without compiling?
Compiling gives a build failure, so the following commands don't work:
mvn dependency:analyze
mvn site
--
With kind regards,
Geoffrey De Smet
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Re: Analyze dependency tree without compiling
Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
If you grab the latest help plugin (2.0.2-SNAPSHOT), you can use
help:dependencies. This will be moved to the dependency plugin in the
near future (likely before help is released with it).
-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Geoffrey De Smet
Sent: Monday, April 16, 2007 5:37 AM
To: users@maven.apache.org
Subject: Re: Analyze dependency tree without compiling
A direct call on that contains a bug with skin resolving:
http://jira.codehaus.org/browse/MPIR-65
Once that's fixed, it would be the solution: a quick, nicely formatted
dependency report without compiling.
With kind regards,
Geoffrey De Smet
franz see schreef:
> Good day,
>
> Try project-info-reports:dependencies to generate the dependency
report (
> which you can only see from mvn site ). The generated report would be
in
> target\site\dependencies.html
>
> Cheers,
> Franz
>
>
> Jerome Lacoste-2 wrote:
>> On 4/13/07, Geoffrey De Smet <ge...@gmail.com> wrote:
>>> Hi all,
>>>
>>> Is it possible to analyze the dependency tree without compiling?
>>>
>>> Compiling gives a build failure, so the following commands don't
work:
>>> mvn dependency:analyze
>>> mvn site
>> I think the analyzer uses the class files to identify unused
>> dependencies...
>>
>> It is build on top of asm (http://asm.objectweb.org/).
>>
http://maven.apache.org/plugins/maven-dependency-plugin/dependencies.htm
l
>>
>> Not sure how this works with reflection though... But i guess the
>> relevant libs should be marked as runtime anyway.
>>
>> Jerome
>>
>> ---------------------------------------------------------------------
>> 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: Analyze dependency tree without compiling
Posted by Geoffrey De Smet <ge...@gmail.com>.
A direct call on that contains a bug with skin resolving:
http://jira.codehaus.org/browse/MPIR-65
Once that's fixed, it would be the solution: a quick, nicely formatted
dependency report without compiling.
With kind regards,
Geoffrey De Smet
franz see schreef:
> Good day,
>
> Try project-info-reports:dependencies to generate the dependency report (
> which you can only see from mvn site ). The generated report would be in
> target\site\dependencies.html
>
> Cheers,
> Franz
>
>
> Jerome Lacoste-2 wrote:
>> On 4/13/07, Geoffrey De Smet <ge...@gmail.com> wrote:
>>> Hi all,
>>>
>>> Is it possible to analyze the dependency tree without compiling?
>>>
>>> Compiling gives a build failure, so the following commands don't work:
>>> mvn dependency:analyze
>>> mvn site
>> I think the analyzer uses the class files to identify unused
>> dependencies...
>>
>> It is build on top of asm (http://asm.objectweb.org/).
>> http://maven.apache.org/plugins/maven-dependency-plugin/dependencies.html
>>
>> Not sure how this works with reflection though... But i guess the
>> relevant libs should be marked as runtime anyway.
>>
>> Jerome
>>
>> ---------------------------------------------------------------------
>> 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: Analyze dependency tree without compiling
Posted by franz see <fr...@gmail.com>.
Good day,
Try project-info-reports:dependencies to generate the dependency report (
which you can only see from mvn site ). The generated report would be in
target\site\dependencies.html
Cheers,
Franz
Jerome Lacoste-2 wrote:
>
> On 4/13/07, Geoffrey De Smet <ge...@gmail.com> wrote:
>> Hi all,
>>
>> Is it possible to analyze the dependency tree without compiling?
>>
>> Compiling gives a build failure, so the following commands don't work:
>> mvn dependency:analyze
>> mvn site
>
> I think the analyzer uses the class files to identify unused
> dependencies...
>
> It is build on top of asm (http://asm.objectweb.org/).
> http://maven.apache.org/plugins/maven-dependency-plugin/dependencies.html
>
> Not sure how this works with reflection though... But i guess the
> relevant libs should be marked as runtime anyway.
>
> Jerome
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Analyze-dependency-tree-without-compiling-tf3570832s177.html#a9976509
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Analyze dependency tree without compiling
Posted by Jerome Lacoste <je...@gmail.com>.
On 4/13/07, Geoffrey De Smet <ge...@gmail.com> wrote:
> Hi all,
>
> Is it possible to analyze the dependency tree without compiling?
>
> Compiling gives a build failure, so the following commands don't work:
> mvn dependency:analyze
> mvn site
I think the analyzer uses the class files to identify unused dependencies...
It is build on top of asm (http://asm.objectweb.org/).
http://maven.apache.org/plugins/maven-dependency-plugin/dependencies.html
Not sure how this works with reflection though... But i guess the
relevant libs should be marked as runtime anyway.
Jerome
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org