don't forget to file the JIRA
On 31 May 2010 12:18, vanyatka <[email protected]> wrote:
>
> Thanks, Stephen
>
> Custom variable to skip surefire is fine for now.
>
>
> Stephen Connolly-2 wrote:
> >
> > file a JIRA for this enhancement
> >
> > until then the solution is to define a property in your pom with value
> > false
> >
> > <project>
> > ...
> > <properties>
> > <skipUnitTests>false</skipUnitTests>
> > </properties>
> > ...
> > <build>
> > ...
> > <plugins>
> > ...
> > <plugin>
> > <artifactId>maven-surefire-plugin</artifactId>
> > <configuration>
> > <skipExec>${skipUnitTests}</skipExec> <!-- use the legacy parameter
> so
> > that -DskipTests will still skip tests -->
> > </configuration>
> > </plugin>
> > </plugins>
> > </build>
> > </project>
> >
> > On 29 May 2010 11:24, vanyatka <[email protected]> wrote:
> >
> >>
> >> Hey,
> >>
> >> Could anyone suggest a command line switch that would disable surefire
> >> tests, but kept running failsafe?
> >> Currently <skipTests>true</skipTests> in the surefire plugin pom seems
> >> like
> >> the only option.
> >>
> >> There should be an easier way :-)
> >>
> >> Thanks,
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Easy-way-to-disable-surefire-during-failsafe--tp28715161p28715161.html
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Easy-way-to-disable-surefire-during-failsafe--tp28715161p28729919.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>