Avoid duplicate code in SurefirePlugin and IntegrationTestMojo
--------------------------------------------------------------

                 Key: SUREFIRE-695
                 URL: http://jira.codehaus.org/browse/SUREFIRE-695
             Project: Maven Surefire
          Issue Type: Improvement
          Components: Maven Failsafe Plugin, Maven Surefire Plugin
    Affects Versions: 2.7
            Reporter: Stefan Birkner
         Attachments: SUREFIRE-verifyParameters.patch

The methods verifyParameters() and execute() have much code in common. 
Therefore I moved these parts of the code to the AbstractSurefireMojo and 
created two abstract methods executeAfterPreconditionsChecked() and 
isSkipExecution(). For the sake of not changing the API, I didn't change the 
visibility of verifyParameters() from public to private.

-- 
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