define a property with value true. use that property as the value of skip, then the CLI can override the property value
2009/4/28 aldana <[email protected]> > > Hi, > > by default my integration tests should not be run implicitly, so I set > <skip>true</skip>. Is there a way to tell surefire plugin to switch the > skip > test flag for the integration-test phase by passing a command-line? Maybe > by > passing the execution-id? > > I know it can be done by profiles, but I would like to avoid profiles. > > Here the standard-configruation: > <execution> > <id>integration-tests</id> > <phase>integration-test</phase> > <configuration> > <skip>true</skip> > <includes> > <include>**/itest/**/*Test.java</include> > </includes> > </configuration> > <goals> > <goal>test</goal> > </goals> > </execution> > > thanks. > > ----- > manuel aldana > aldana((at))gmx.de > software-engineering blog: http://www.aldana-online.de > -- > View this message in context: > http://www.nabble.com/Easy-way-to-switch-skipTests-flag-for-integration-test-phase-tp23279114p23279114.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] > >
