maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (SUREFIRE-695) Avoid duplicate code in SurefirePlugin and IntegrationTestMojo
Date Thu, 03 Mar 2011 21:18:22 GMT

     [ http://jira.codehaus.org/browse/SUREFIRE-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kristian Rosenvold updated SUREFIRE-695:
----------------------------------------

    Fix Version/s:     (was: 2.7.3)
                   2.8

> 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
>            Assignee: Kristian Rosenvold
>             Fix For: 2.8
>
>         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

        

Mime
View raw message