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 <ibalas...@gmail.com> 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: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >