Overlapping -D's for surefire and failsafe make it hard to control combination
------------------------------------------------------------------------------

                 Key: SUREFIRE-646
                 URL: http://jira.codehaus.org/browse/SUREFIRE-646
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Failsafe Plugin, Maven Surefire Plugin
    Affects Versions: 2.6
            Reporter: Benson Margulies


I have a project with both surefire unit tests and failsafe integration tests. 
This works until I try to start controlling things from command line.

1. Both plugins respect -DskipTests. failsafe has skipITs, but surefire does 
not seem to have a corresponding property that just skips the unit tests, not 
the integration tests.

2. When I use -Dtest= and specify an integration test, SUREFIRE runs it before 
failsafe gets a chance, and of course it fails because the pre-integration-test 
phase hasn't set up.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to