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 saying that *if* you _need_ to use "clean install" then your build is > not the best it could be and you may have issues with your build that you > haven't noticed. To be fair, a lot of the "install hack" stuff I've seen is more historical and related to issues in Maven <=2.2.1. For example: build a few modules that result in some jars/classes/whatever build a maven plugin that uses those modules use that plugin in later modules That is likely one of the most common "install hack" cases as that never seemed to work correctly (or at all) without actually installing the jars and plugins. Honestly, until you mentioned it today, I hadn't even tested this case with 3.0.4 to see if it's now fixed. Seems like it is. Time to go update builds. :-) Dan > If you have a big multi-module build and are only working in one small > part, by all means do > > $ git pull > $ mvn clean install > $ mvn clean install -pl foo:bar -am (or -amd depending on your needs) > $ mvn clean install -pl foo:bar -am > ... > $ mvn clean install -pl foo:bar -am > > Just don't assume that you always have to run as far as install... and make > sure your build doesn't require it also > > >> >> Just another user trying to do things right, >> Best, >> Laird >> >>> >> -- >> http://about.me/lairdnelson >> -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org