You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Carlos Alonso <ca...@unkasoft.com> on 2008/07/14 09:52:58 UTC
Cascade building if dependent
Hi all.
Is there any way of making automatically one project to be built if it's
parent has been changed
I mean, I have two projects, one of them is both parent and imported
from the other. My question is, supposing that the parent is updated and
built, if is it any way to make the child to know that his parent has
been updated and, therefore, the children builds.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Cascade building if dependent
Posted by Andreas Gies <an...@soa-knowledge.net>.
Hi again....
this is true for us as well. Whenever the master is buildt succesfully
it triggers the build
of the dependent projects. It's also the master pushing, not the
dependent projects pulling
for a change.
Andreas
Yanko, Curtis schrieb:
> We also use our CI (or Build Management System) to do this. Although we
> do 'push' style and not 'pull' dependencies). We're CI so I know we have
> a latest good build already but I can trigger a 'dependent' to build if
> it's 'dependency' has built successfully.
>
>
> ===
> -Curt
> W: 860.702.9059
> M: 860.881.2050
>
> -----Original Message-----
> From: Andreas Gies [mailto:andreas@soa-knowledge.net]
> Sent: Monday, July 14, 2008 4:10 PM
> To: Maven Users List
> Subject: Re: Cascade building if dependent
>
> Hi,
>
> it might not be the answer you are looking for, but we have placed that
> functionality in our CI platform, which is Hudson in that case.
> In fact it's a core feature of Hudson if you are defining Maven based
> jobs.
>
>
> HTH
> Andreas
>
> Carlos Alonso schrieb:
>
>> Hi all.
>>
>> Is there any way of making automatically one project to be built if
>> it's parent has been changed
>>
>> I mean, I have two projects, one of them is both parent and imported
>> from the other. My question is, supposing that the parent is updated
>> and built, if is it any way to make the child to know that his parent
>> has been updated and, therefore, the children builds.
>>
>> Thanks.
>>
>> ---------------------------------------------------------------------
>> 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
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity to
> which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
>
> ---------------------------------------------------------------------
> 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: Cascade building if dependent
Posted by "Yanko, Curtis" <cu...@uhc.com>.
We also use our CI (or Build Management System) to do this. Although we
do 'push' style and not 'pull' dependencies). We're CI so I know we have
a latest good build already but I can trigger a 'dependent' to build if
it's 'dependency' has built successfully.
===
-Curt
W: 860.702.9059
M: 860.881.2050
-----Original Message-----
From: Andreas Gies [mailto:andreas@soa-knowledge.net]
Sent: Monday, July 14, 2008 4:10 PM
To: Maven Users List
Subject: Re: Cascade building if dependent
Hi,
it might not be the answer you are looking for, but we have placed that
functionality in our CI platform, which is Hudson in that case.
In fact it's a core feature of Hudson if you are defining Maven based
jobs.
HTH
Andreas
Carlos Alonso schrieb:
> Hi all.
>
> Is there any way of making automatically one project to be built if
> it's parent has been changed
>
> I mean, I have two projects, one of them is both parent and imported
> from the other. My question is, supposing that the parent is updated
> and built, if is it any way to make the child to know that his parent
> has been updated and, therefore, the children builds.
>
> Thanks.
>
> ---------------------------------------------------------------------
> 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
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Cascade building if dependent
Posted by Andreas Gies <an...@soa-knowledge.net>.
Hi,
it might not be the answer you are looking for, but we have placed that
functionality in our CI platform, which is Hudson in that case.
In fact it's a core feature of Hudson if you are defining Maven based jobs.
HTH
Andreas
Carlos Alonso schrieb:
> Hi all.
>
> Is there any way of making automatically one project to be built if
> it's parent has been changed
>
> I mean, I have two projects, one of them is both parent and imported
> from the other. My question is, supposing that the parent is updated
> and built, if is it any way to make the child to know that his parent
> has been updated and, therefore, the children builds.
>
> Thanks.
>
> ---------------------------------------------------------------------
> 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: Cascade building if dependent
Posted by Clifton <cl...@gmail.com>.
Can you build from the parent project? That shold trigger the child project
to be built if you've set it up correctly. I haven't tested the idempontency
of Maven but I think it works like Ant, only building what needs to be
rebuilt unless you run a clean prior.
Carlos Alonso-2 wrote:
>
> Hi all.
>
> Is there any way of making automatically one project to be built if it's
> parent has been changed
>
> I mean, I have two projects, one of them is both parent and imported
> from the other. My question is, supposing that the parent is updated and
> built, if is it any way to make the child to know that his parent has
> been updated and, therefore, the children builds.
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
-----
Cliff
http://codeforfun.wordpress.com
http://www.nabble.com/file/u156847/Cliff-in-the-lab.png
--
View this message in context: http://www.nabble.com/Cascade-building-if-dependent-tp18439047p18442731.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org