I updated the build plan on Bamboo to mvn package.

-----Original Message-----
From: amdatu-developers-bounces at amdatu.org 
[mailto:[email protected]] On Behalf Of Bram de Kruijff
Sent: maandag 11 oktober 2010 16:33
To: amdatu-developers at amdatu.org
Subject: Re: [Amdatu-developers] Bamboo does not do in reactor build?

> The Bamboo configuration executes a mvn install, no custom reactor
> builds or whatsoever. What do you mean exactly with an "in reactor
> build"? Stuff like 'mvn reactor:make -
> Dmake.artifacts=org.amdatu.application:dashboard'?
> I'm not a Maven expert... ;->

With in-reactor I mean a "mvn package" without any of the artifact in the 
reactor (org.amdatu.*) being in the local repository in use during build.

If you do not do this things may seem to work fine but actually Maven may be 
resolving dependencies against (potentially stale) artifacts in your local 
repository instead of against the actual artifact in the reactor. Things will 
break eventually though like when you are doing a release cycle.

So yes AFAIK, in your CI you must do a "mvn package" not a "mvn install" and 
make sure that there are not old artifact laying around in the local repository.

Grz
Bram


> -----Original Message-----
> From: amdatu-developers-bounces at amdatu.org [mailto:amdatu-developers-
> bounces at amdatu.org] On Behalf Of Ivo Ladage-van Doorn
> Sent: Monday, October 11, 2010 4:27 PM
> To: amdatu-developers at amdatu.org
> Subject: Re: [Amdatu-developers] Bamboo does not do in reactor build?
> 
> The Bamboo configuration executes a mvn install, no custom reactor
> builds or whatsoever. What do you mean exactly with an "in reactor
> build"? Stuff like 'mvn reactor:make -
> Dmake.artifacts=org.amdatu.application:dashboard'?
> I'm not a Maven expert... ;->
> 
> -----Original Message-----
> From: amdatu-developers-bounces at amdatu.org [mailto:amdatu-developers-
> bounces at amdatu.org] On Behalf Of Bram de Kruijff
> Sent: maandag 11 oktober 2010 12:36
> To: amdatu-developers at amdatu.org
> Subject: [Amdatu-developers] Bamboo does not do in reactor build?
> 
> Hi,
> 
> I just resolved AMDATU-102 enabling in reactor build. Thinking about it
> I am actually wondering why Bamboo did not catch this. I guess it is
> not doing an in reactor build, but I do not have the power to look into
> the configuration. I would like to get this solved as adding proper
> type is typically something people tend to forget.
> 
> Grz
> Bram
> 
> _______________________________________________
> Amdatu-developers mailing list
> Amdatu-developers at amdatu.org
> http://lists.amdatu.org/mailman/listinfo/amdatu-developers
> 
> _______________________________________________
> Amdatu-developers mailing list
> Amdatu-developers at amdatu.org
> http://lists.amdatu.org/mailman/listinfo/amdatu-developers

_______________________________________________
Amdatu-developers mailing list
Amdatu-developers at amdatu.org
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to