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:
>
> <artifactId>maven-surefire-configuration</artifactId>
> <configuration>
>    <skipExec>${cheat}</skipExec>
> </configuration>
>
> ...
>
> <properties>
>    <cheat>false</cheat>
> </properties>
>
> ...
>
> 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 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 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 has
> >> always bothered me. :-)
> >>
> >> "mvn -DskipTests" is short enough, right?  I thought about making it
> >> "skipTest" but I thought it might sound like we were skipping the
> >> entire
> >> "test" lifecycle phase...?
> >>
> >>
> >> -Dan
> >>
> >> ---------------------------------------------------------------------
> >> 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]
> >
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to