maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <>
Subject Re: Multiple single-module projects vs one multi-module project
Date Wed, 28 Sep 2011 15:15:25 GMT
We have aggregation projects that build a jar file containing all the 
dependencies for that set of libraries.
We exclude anything that is being provided in another library so we know 
exactly what version of transitive dependencies are being used.

I finally wrote up a description on our technical blog.

It really cleaned up our application and made the war files really small 
and relieved the developers from a lot of dependency specification. One 
dependency gets all the Apache utilities that we use. Another single 
reference gets everything needed for MySQL, Hibernate, Spring and Tomcat.

If you want some clean jokes

On 28/09/2011 12:52 AM, Behrang Saeedzadeh wrote:
> Thanks for affirming this Ron. By the way, how do you ensure that all
> those projects depend on the same set of external dependences without
> duplicating the information for each POM?
> Cheers,
> Behrang Saeedzadeh
> On Tue, Sep 27, 2011 at 2:17 AM, Ron Wheeler
> <>  wrote:
>> I agree.
>> 4- better visibility into the project for the manager. You know which
>> modules are being changed and which ones are supposed to remain unchanged.
>> You also get a bit of a warning about scope issues or potential problems
>> when a new module gets added to the list of things that need changing after
>> the development plan has been set.
>> 5- more sense of responsibility for testing and the deploying of new
>> SNAPSHOTs and releases. The functional definition of the module tends to be
>> clearer if it is deployed to the team even if it is only a SNAPSHOT. The
>> team expects a personal guaranty to go with a deploy.
>> This tends to make programmers more careful about testing and documenting
>> functionality of stubs and SNAPSHOTs with partial functionality as well as
>> fully functional modules.
>> Ron
>> On 26/09/2011 11:48 AM, Behrang Saeedzadeh wrote:
>>> Hi,
>>> For large projects, wouldn't multiple single module projects work better
>>> than one multi-module project, because:
>>> 1- when using a dvcs, the repositories tend to become very large and when
>>> the project is divided into multiple single module projects, each project
>>> can have a small dvcs repository compared to one large monolithic repo.
>>> 2- new developers can be exposed only to the subset of projects that they
>>> need to work with
>>> 3- finer grained security over which developers can see which parts of the
>>> project
>>> Thanks in advance,
>>> Behrang
>> --
>> Ron Wheeler
>> President
>> Artifact Software Inc
>> email:
>> skype: ronaldmwheeler
>> phone: 866-970-2435, ext 102
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:

Ron Wheeler
Artifact Software Inc
skype: ronaldmwheeler
phone: 866-970-2435, ext 102

View raw message