You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marcos Lois Bermúdez <ma...@gmail.com> on 2009/09/24 14:14:07 UTC

Maven 1.x dependency graph

Hi,

I'm involved in a migration of a big maven 1 multiproject project, so 
now it's planning to migrate to Maven 2, so i use Maven 2 for some of my 
projects, but never used Maven 1, so my question is, are there a plugin 
or tool to create a dependency graph using graphviz similar to some 
plugins that exists for Maven 2?

This will help to start the migration, and know the interdependencies in 
artifacts.

Regards.

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


Re: Maven 1.x dependency graph

Posted by Marcos Lois Bermúdez <ma...@gmail.com>.
Brett Porter escribió:
>
> On 24/09/2009, at 10:14 PM, Marcos Lois Bermúdez wrote:
>
>> Hi,
>>
>> I'm involved in a migration of a big maven 1 multiproject project, so 
>> now it's planning to migrate to Maven 2, so i use Maven 2 for some of 
>> my projects, but never used Maven 1, so my question is, are there a 
>> plugin or tool to create a dependency graph using graphviz similar to 
>> some plugins that exists for Maven 2?
>>
>> This will help to start the migration, and know the interdependencies 
>> in artifacts.
>
> It would be a very flat graph :)
>
> Maven 1 doesn't have transitive dependencies, so what you see is what 
> you get. The trick is actually appropriately culling the list of the 
> dependencies once you migrate to Maven 2: for that, you can use mvn 
> dependency:analyze.
>
Hi,

Thanks for your fast reply, :). Yes the project is a very large 
multiproject, a graph with only splicit dependencies will be great, the 
project have more than 60 artifacts that i want check their 
interdependences.

For your reply i suspect that this kind of pluging only exists for 
maven2, i see that maven 2 have great plugins for that:

http://el4j.sourceforge.net/plugins/maven-depgraph-plugin/index.html
http://www.waltercedric.com/java-j2ee-mainmenu-53/361-maven-build-system/1637-maven-dependencies-graph-plugin-in-teamcity-and-eclipse.html

So again thaks for your reply.

Regards.
> - Brett
>
>
> ---------------------------------------------------------------------
> 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: Maven 1.x dependency graph

Posted by Brett Porter <br...@apache.org>.
On 24/09/2009, at 10:14 PM, Marcos Lois Bermúdez wrote:

> Hi,
>
> I'm involved in a migration of a big maven 1 multiproject project,  
> so now it's planning to migrate to Maven 2, so i use Maven 2 for  
> some of my projects, but never used Maven 1, so my question is, are  
> there a plugin or tool to create a dependency graph using graphviz  
> similar to some plugins that exists for Maven 2?
>
> This will help to start the migration, and know the  
> interdependencies in artifacts.

It would be a very flat graph :)

Maven 1 doesn't have transitive dependencies, so what you see is what  
you get. The trick is actually appropriately culling the list of the  
dependencies once you migrate to Maven 2: for that, you can use mvn  
dependency:analyze.

- Brett


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