Re: maven.test.skip.exec

2007-12-21 Thread nicolas de loof
2007/12/21, Stephen Connolly <[EMAIL PROTECTED]>: > > It's a hack when 95% of people have need for these changes On those 95% many use the allready available maven.test.skip.exec, that is ONLY a convenience way to skip tests, but this is NOT recommended. So what is discussed here is only a shortc

Re: maven.test.skip.exec

2007-12-21 Thread Ralph Goers
If you have a super pom that all your projects inherit from then this solution is workable. You probably want one so that your organization can configure things like the enforcer plugin to make sure all your projects follow the same rules. But if you can't do that then this solution doesn't wor

Re: maven.test.skip.exec

2007-12-21 Thread Stephen Connolly
It's a hack when 95% of people have need for these changes and everyone does it differently and then we're back to the bad parts of ANT... (IMHO what is wrong with ant is that everyone has a completely different build.xml and you need to figure it out every time.) On Dec 21, 2007 8:40 AM, nicolas

Re: maven.test.skip.exec

2007-12-21 Thread Stephen Connolly
Yeah, except when they move onto a different project and are wondering why it does not work any more... (so it's a hack and a hack is a hack. now we are just left arguing over how many angels can dance on the head of a pin) At least SUREFIRE-417 will cure that problem. If it walks like a duck, qu

Re: maven.test.skip.exec

2007-12-21 Thread nicolas de loof
I agree with brett. POM properties can be used as shortcut for plugins configuration, to enable profiles or for such use cases. They are not hacks. 2007/12/21, Brett Porter <[EMAIL PROTECTED]>: > > If you document it for the users of the build, I wouldn't consider > that a hack :) > > On 21/12/20

Re: maven.test.skip.exec

2007-12-21 Thread Brett Porter
If you document it for the users of the build, I wouldn't consider that a hack :) On 21/12/2007, at 7:34 PM, Stephen Connolly wrote: That's hacking your pom.xml, and hacks are bad ;-) On Dec 21, 2007 6:51 AM, Brett Porter <[EMAIL PROTECTED]> wrote: There's always the one shot: maven-surefi

Re: maven.test.skip.exec

2007-12-21 Thread Stephen Connolly
That's hacking your pom.xml, and hacks are bad ;-) On Dec 21, 2007 6:51 AM, Brett Porter <[EMAIL PROTECTED]> wrote: > There's always the one shot: > > maven-surefire-configuration > >${cheat} > > > ... > > >false > > > ... > > then: > mvn -Dcheat=true test > > > On 21/12/2007, at 5:46

Re: maven.test.skip.exec

2007-12-20 Thread Brett Porter
There's always the one shot: maven-surefire-configuration ${cheat} ... false ... then: mvn -Dcheat=true test On 21/12/2007, at 5:46 PM, Stephen Connolly wrote: cool. It's not just me, but hoards of developers who's hands will now be saved from RSI due to excessive typing ;-) On

Re: maven.test.skip.exec

2007-12-20 Thread Stephen Connolly
cool. It's not just me, but hoards of developers who's hands will now be saved from RSI due to excessive typing ;-) On Dec 21, 2007 3:35 AM, Dan Fabulich <[EMAIL PROTECTED]> wrote: > Stephen Connolly wrote: > > > Can we make the property shorter and easier to remember... > > > > that's what I li

Re: maven.test.skip.exec

2007-12-20 Thread Dan Fabulich
Stephen Connolly wrote: Can we make the property shorter and easier to remember... that's what I liked about the -Dtest=0 hack Just for you, I've filed SUREFIRE-417 (Make new "skipTests" parameter to replace skipExec). ;-) I've got to fix SUREFIRE-416 anyway, and I'd forgotten that this ha

Re: maven.test.skip.exec

2007-12-20 Thread Stephen Connolly
Can we make the property shorter and easier to remember... that's what I liked about the -Dtest=0 hack -Stephen On Dec 20, 2007 10:23 PM, Dan Fabulich <[EMAIL PROTECTED]> wrote: > Jason Chaffee wrote: > > > You can compile test classes and still use maven.test.skip=true if you > > have the compl