Thanks a lot Wayne

                        Wouldn't it be a good feature to be able to specify
that all dependencies for a particular project needs to be rebuilt or not
according to the requirements? That way we do not have to worry about a
dependent project being modified and us not having the latest version when
our project is being built. 

Wayne Fay wrote:
> 
> If they share a parent, and are declared as  in the parent
> pom, then you can build from the parent directory and it will build,
> package, install etc all modules.
> 
> If they are simply 2 projects in 2 different directories, then no.
> Maven will simply use the latest deployed artifact in your local repo
> cache.
> 
> Wayne
> 
> On 11/21/07, LinaTomy  wrote:
>>
>> Maven dependency plugin has a goal copy-dependencies which has this
>> parameter
>> overWriteIfNewer Overwrite artifacts that don't exist or are older than
>> the
>> source.
>>
>> Similarly I was wondering whether it would be able to compare project
>> with
>> latest source and if modified recompile it. If not just a property that
>> can
>> be set so as to force an install of dependencies for a project.
>>
>>
>> Juven Xu wrote:
>> >
>> > I'm wondering how can Maven konw project B has been modified or
>> updated.
>> >
>> > Juven
>> >
>> > On Nov 22, 2007 8:29 AM, LinaTomy  wrote:
>> >
>> >>
>> >> I have a project A that is Dependant on project B. When i build and
>> >> package
>> >> project A I want it to recompile and package project B if it has been
>> >> modified or updated. Is this possible?
>> >>
>> >> Thanks a lot
>> >> Lina
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/maven-rebuild-dependency-tf4853620s177.html#a13888849
>> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/maven-rebuild-dependency-tf4853620s177.html#a13889529
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/maven-rebuild-dependency-tf4853620s177.html#a13953566
Sent from the Maven - Users mailing list archive at Nabble.com.

Reply via email to