On Jun 15, 2012, at 7:58 AM, Thorsten Heit wrote:

> Hi Chris,
> 
>> Is there a neat way I could get Maven to perform a recursive build 
>> that looks on the filesystem to find -SNAPSHOT dependency projects 
>> and builds them?
>> I'm familiar with Maven plugin development, but haven't yet found 
>> any clues toward a solution in the Maven / Aether documentation.
> 
> I'd suggest you use a CI system such as Jenkins for that purpose:
> 
> Jenkins parses the pom.xml files on Maven projects and automatically 
> detects dependencies between jobs. If you start a certain job, Jenkins 
> automatically triggers builds on all dependent subjobs, quite similar to 
> what you want to achieve.

I believe that there's a checkbox in the project's config you have to check for 
this (auto-rebuilding if a dependency changes) to happen.  You'll also want to 
turn on the option that blocks building the user of the dependencies while the 
dependencies are being built.


Honestly.  I'm the only person working on the projects I was talking about, but 
I love using Jenkins.  It means that after I commit, I find out within 10 
minutes if the commit I made actually works.  Often I find I forgot a file, or 
else I find a test only worked on the computer I wrote it on due to assumptions.

I figure it'll take between 1-2 hours to setup if you have no experience, and 
if so, it'll probably be time well spent.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to