Re: improving incremental builds

2012-08-27 Thread Olivier Lamy
rebuild (mvn -amd) of this module. LieGrue, strub - Original Message - From: David Jencks david_jen...@yahoo.com To: Maven Developers List dev@maven.apache.org Cc: Sent: Sunday, August 26, 2012 8:34 AM Subject: Re: improving incremental builds Is what you want different

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
stuff? This contains some weirdo bugs which should get fixed... - Original Message - From: Olivier Lamy ol...@apache.org To: Maven Developers List dev@maven.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, August 27, 2012 9:13 AM Subject: Re: improving incremental

Re: improving incremental builds

2012-08-27 Thread Anders Hammar
Lamy ol...@apache.org To: Maven Developers List dev@maven.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, August 27, 2012 9:13 AM Subject: Re: improving incremental builds Hi, Sounds good idea trying to improve that. My question: on what is based the md5 calculation

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
: Anders Hammar and...@hammar.net To: Maven Developers List dev@maven.apache.org Cc: Sent: Monday, August 27, 2012 9:57 AM Subject: Re: improving incremental builds I already started tweaking the m-compiler-plugin and found quite scary issues. There is e.g. MCOMPILER-21 (open since 2005) which

Re: improving incremental builds

2012-08-27 Thread Olivier Lamy
: improving incremental builds I already started tweaking the m-compiler-plugin and found quite scary issues. There is e.g. MCOMPILER-21 (open since 2005) which prevents incremental build and would kick in in your scenario. This is interesting. I've looked a bit at Mojo's JAXB plugin

Re: improving incremental builds

2012-08-27 Thread Anders Hammar
LieGrue, strub - Original Message - From: Anders Hammar and...@hammar.net To: Maven Developers List dev@maven.apache.org Cc: Sent: Monday, August 27, 2012 9:57 AM Subject: Re: improving incremental builds I already started tweaking the m-compiler-plugin and found quite scary

Re: improving incremental builds

2012-08-27 Thread Romain Manni-Bucau
. /Anders LieGrue, strub - Original Message - From: Anders Hammar and...@hammar.net To: Maven Developers List dev@maven.apache.org Cc: Sent: Monday, August 27, 2012 9:57 AM Subject: Re: improving incremental builds I already started tweaking the m-compiler-plugin

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
@maven.apache.org Cc: Sent: Monday, August 27, 2012 12:28 PM Subject: Re: improving incremental builds Hi, The full invremental is great but not always possible (think to assembly plugin, some case xill be very hard to handle in snapshot mode i guess) Maybe it is time to get a maven

Re: improving incremental builds

2012-08-27 Thread Benson Margulies
- Original Message - From: Anders Hammar and...@hammar.net To: Maven Developers List dev@maven.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, August 27, 2012 12:24 PM Subject: Re: improving incremental builds +0 for auto detecting changed scenarios. If someone changes

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
PM Subject: Re: improving incremental builds On Mon, Aug 27, 2012 at 8:40 AM, Mark Struberg strub...@yahoo.de wrote: We might implement this by storing the list of all activated profiles + all resolved environment properties in a file in target/ somewhere. That would be part of a.) in my

Re: improving incremental builds

2012-08-27 Thread Benson Margulies
: Monday, August 27, 2012 5:07 PM Subject: Re: improving incremental builds On Mon, Aug 27, 2012 at 8:40 AM, Mark Struberg strub...@yahoo.de wrote: We might implement this by storing the list of all activated profiles + all resolved environment properties in a file in target/ somewhere

RE: improving incremental builds

2012-08-27 Thread Martin Gainty
2012 13:09:59 -0400 Subject: Re: improving incremental builds From: bimargul...@gmail.com To: dev@maven.apache.org; strub...@yahoo.de On Mon, Aug 27, 2012 at 12:07 PM, Mark Struberg strub...@yahoo.de wrote: build1 and build 2 are different modules or different mvn invocations with some time

Re: improving incremental builds

2012-08-27 Thread Stephen Connolly
technologies? LieGrue, strub - Original Message - From: Anders Hammar and...@hammar.net To: Maven Developers List dev@maven.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, August 27, 2012 12:24 PM Subject: Re: improving incremental builds

Re: improving incremental builds

2012-08-27 Thread Stephen Connolly
bimargul...@gmail.com To: Maven Developers List dev@maven.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, August 27, 2012 5:07 PM Subject: Re: improving incremental builds On Mon, Aug 27, 2012 at 8:40 AM, Mark Struberg strub...@yahoo.de wrote: We might implement

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
Developers List dev@maven.apache.org Cc: Mark Struberg strub...@yahoo.de Sent: Monday, August 27, 2012 8:11 PM Subject: Re: improving incremental builds On 27 August 2012 19:10, Stephen Connolly stephen.alan.conno...@gmail.com wrote: On 27 August 2012 18:09, Benson Margulies bimargul

Re: improving incremental builds

2012-08-27 Thread Benson Margulies
__ ..place long-winded disclaimer here.. Date: Mon, 27 Aug 2012 13:09:59 -0400 Subject: Re: improving incremental builds From: bimargul...@gmail.com To: dev@maven.apache.org; strub...@yahoo.de On Mon, Aug 27, 2012 at 12:07 PM, Mark Struberg strub...@yahoo.de wrote: build1 and build 2

Re: improving incremental builds

2012-08-27 Thread Stephen Connolly
, strub From: Stephen Connolly stephen.alan.conno...@gmail.com To: Maven Developers List dev@maven.apache.org Cc: Mark Struberg strub...@yahoo.de Sent: Monday, August 27, 2012 8:11 PM Subject: Re: improving incremental builds On 27 August 2012 19:10

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
From: Stephen Connolly stephen.alan.conno...@gmail.com To: Maven Developers List dev@maven.apache.org; Mark Struberg strub...@yahoo.de Sent: Monday, August 27, 2012 9:53 PM Subject: Re: improving incremental builds The issue (for benson) is when the shade plugin

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
trunk - Original Message - From: Mark Struberg strub...@yahoo.de To: Maven Developers List dev@maven.apache.org Cc: Sent: Monday, August 27, 2012 10:04 PM Subject: Re: improving incremental builds t he shade plugin would just need to store a local status file with the md5

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
To: Maven Developers List dev@maven.apache.org Cc: Sent: Monday, August 27, 2012 10:33 PM Subject: Re: improving incremental builds I've wrote up some stuff in our Wiki: https://cwiki.apache.org/confluence/display/MAVEN/Incremental+Builds Feel free to add more info/ideas. LieGrue

Re: improving incremental builds

2012-08-27 Thread Benson Margulies
From: Stephen Connolly stephen.alan.conno...@gmail.com To: Maven Developers List dev@maven.apache.org; Mark Struberg strub...@yahoo.de Sent: Monday, August 27, 2012 9:53 PM Subject: Re: improving incremental builds The issue (for benson) is when the shade plugin modifies after

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
...@gmail.com To: Maven Developers List dev@maven.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, August 27, 2012 11:13 PM Subject: Re: improving incremental builds Mark, I don't see how this helps. If the jar plugin hasn't rebuilt the jar, the shade plugin can't rebuild the jar, even

Re: improving incremental builds

2012-08-27 Thread Benson Margulies
Margulies bimargul...@gmail.com To: Maven Developers List dev@maven.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, August 27, 2012 11:13 PM Subject: Re: improving incremental builds Mark, I don't see how this helps. If the jar plugin hasn't rebuilt the jar, the shade plugin can't

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
, 2012 11:58 PM Subject: Re: improving incremental builds On Mon, Aug 27, 2012 at 5:56 PM, Mark Struberg strub...@yahoo.de wrote: It's a chain. The maven-compiler-plugin sees that there are stale sources or changed dependencies and compiles the sources. The jar plugin sees

Re: improving incremental builds

2012-08-27 Thread Mark Struberg
proposed. LieGrue, strub - Original Message - From: Mark Struberg strub...@yahoo.de To: Maven Developers List dev@maven.apache.org Cc: Sent: Tuesday, August 28, 2012 12:10 AM Subject: Re: improving incremental builds Hi Benson! However, a dependency *has* changed, Yea, thanks

Re: improving incremental builds

2012-08-26 Thread David Jencks
Is what you want different from what mvn -amd moduleA does? So your idea is to find the list of changed modules and then build that list with -amd? thanks david jencks On Aug 25, 2012, at 1:32 PM, Mark Struberg wrote: Hi folks! After a short discussion with Kristian, I've created a

Re: improving incremental builds

2012-08-26 Thread Mark Struberg
. LieGrue, strub - Original Message - From: David Jencks david_jen...@yahoo.com To: Maven Developers List dev@maven.apache.org Cc: Sent: Sunday, August 26, 2012 8:34 AM Subject: Re: improving incremental builds Is what you want different from what mvn -amd moduleA does?  So

improving incremental builds

2012-08-25 Thread Mark Struberg
Hi folks! After a short discussion with Kristian, I've created a small app with 2 modules which shows a few problems with mavens incremental build logic. And since incremental builds do not work well, people use $ mvn _clean_ install all the time. We could speed up the development effort