maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Heinz Marbaise <>
Subject Re: Duplicated dependency in repository
Date Mon, 24 Sep 2012 12:41:39 GMT

 > There is a project called Apache James, it has sub modules.
> Both the root project and sub modules have pom.xml s.
> When i delete all the repositories in my /home/.m2/repository and run one
> sub module's pom.xml, i get duplicated dependencies.


It looks like you didn't realize that the project james contains several 
sub module (Maven term: multi-module build) which is represented by the 
folder structure of the project....

You have to checkout the full source tree from this location.

and this is usuall put under a folder let us call it james:

Inside that you will find many sub folders etc.

To compile and install the project you simply call from the root folder 

mvn install

nothing more... There is no need to call every sub module separately 
this is handled already by Maven.

Furthermore the question is why you'd like to build from sources instead 
of using dependencies ...cause all this modules are already in maven 


Kind regards
Karl-Heinz Marbaise
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl-Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 W├╝rselen                 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message