Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Thomas Broyer
Hi, On his blog, Lex Spoon makes some interesting points against most build systems, using Maven as an example: http://blog.lexspoon.org/2012/12/recursive-maven-considered-harmful.html In related news, I've heard people complain about “insanely long build times via building unnecessary things”

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Anders Hammar
Mark Struberg has started work to improve the incremental behavior of e.g. the compiler plugin. Version 3.0 of maven-compiler-plugin includes an early version of that new library. There was a thread about this, started by Mark, on the dev list some ago if you want to read about it. Mark has also

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Stephen Connolly
Current work on Maven compiler plugin version 3.0 is adding support for an incremental mode. It is a tricky balance to cut, as if incremental mode is too aggressive, you compile more than is strictly necessary... and if too lax, you compile less than is required and people end up having to run

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Mark Struberg
stephen.alan.conno...@gmail.com To: Maven Users List users@maven.apache.org Cc: Sent: Monday, December 17, 2012 12:36 PM Subject: Re: Seeking feedback on “Recursive Maven considered harmful” Current work on Maven compiler plugin version 3.0 is adding support for an incremental mode. It is a tricky

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Benson Margulies
with respect to 'the install hack': If I had a dollar for every occasion where a bug in a plugin or the core required me to use it, I'd be a richer man by a considerable amount. - To unsubscribe, e-mail:

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Stephen Connolly
And I try to remove such bugs as and when I find them... but yes I agree it's a pain... but people should be more aware that it is a hack and they would be better served by fixing the root cause... not applying the install hack On 17 December 2012 12:26, Benson Margulies bimargul...@gmail.com

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Arnaud Héritier
The problem is also with Java itself. Let's take a project with a war depending of a jar produced by another module or an ear relying on several war and you cannot use anymore something below install (it should be package to at least find the archive in the target dir and not to have to find it in

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Stephen Connolly
Reformatted and edited into something a bit more specific: http://developer-blog.cloudbees.com/2012/12/maven-and-hack.html On 17 December 2012 12:45, Stephen Connolly stephen.alan.conno...@gmail.com wrote: And I try to remove such bugs as and when I find them... but yes I agree it's a

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Thomas Broyer
On Mon, Dec 17, 2012 at 12:36 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Current work on Maven compiler plugin version 3.0 is adding support for an incremental mode. It is a tricky balance to cut, as if incremental mode is too aggressive, you compile more than is strictly

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Thomas Broyer
On Mon, Dec 17, 2012 at 12:47 PM, Mark Struberg strub...@yahoo.de wrote: I really like to pick up the work again, but currently busy with graduating another project. The next important points to do are * inter-project change detection. If you have a dependency to another project which

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Thomas Broyer
On Mon, Dec 17, 2012 at 2:08 PM, Arnaud Héritier aherit...@gmail.com wrote: But yes all plugins should have an update/incremental behavior but it's not easy to do because there are many factors that may require to rebuild some parts of your project (You may edit your settings.xml, a pom.xml

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Mark Struberg
strub...@yahoo.de Cc: Sent: Monday, December 17, 2012 3:16 PM Subject: Re: Seeking feedback on “Recursive Maven considered harmful” On Mon, Dec 17, 2012 at 12:47 PM, Mark Struberg strub...@yahoo.de wrote: I really like to pick up the work again, but currently busy with graduating

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Laird Nelson
On Mon, Dec 17, 2012 at 3:36 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Another issue is that people abuse the install hack far more often than they should... Hi; this is the first I've read anywhere about the install hack. Where can I find out more about it? In fact it

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Mark Struberg
://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html - Original Message - From: Laird Nelson ljnel...@gmail.com To: Maven Users List users@maven.apache.org Cc: Sent: Monday, December 17, 2012 4:34 PM Subject: Re: Seeking feedback on “Recursive Maven considered harmful

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Stephen Connolly
On 17 December 2012 15:34, Laird Nelson ljnel...@gmail.com wrote: On Mon, Dec 17, 2012 at 3:36 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Another issue is that people abuse the install hack far more often than they should... Hi; this is the first I've read anywhere

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Daniel Kulp
On Dec 17, 2012, at 11:02 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: On 17 December 2012 15:34, Laird Nelson ljnel...@gmail.com wrote: I am not saying that you only ever run it with clean verify I am not saying running with clean install is considered harmful. I am

Re: Seeking feedback on “Recursive Maven considered harmful”

2012-12-17 Thread Robert Scholte
Last month I head the idea to only show the -rf option if you ran Maven with at least the install goal. The next step was to fix this, either with serialization of the MavenProjects or xml-file which could be picked when continuing the build with the -rf argument. Hence, why not work on that