maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason van Zyl (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNG-3902) Remove visibility MavenProjectBuilder#buildStandaloneSuperProject
Date Thu, 29 Jan 2009 20:00:22 GMT

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

Jason van Zyl updated MNG-3902:
-------------------------------

    Fix Version/s:     (was: 3.0-alpha-3)
                   3.0-alpha-4

> Remove visibility MavenProjectBuilder#buildStandaloneSuperProject
> -----------------------------------------------------------------
>
>                 Key: MNG-3902
>                 URL: http://jira.codehaus.org/browse/MNG-3902
>             Project: Maven 2
>          Issue Type: Task
>    Affects Versions: 3.0-alpha-1
>            Reporter: Jason van Zyl
>             Fix For: 3.0-alpha-4
>
>
> This method does not need to be exposed beyond the project building code. It's used currently
in two places:
> 1) To provide a default model when you execute a goal that has no POM. Here we have to
deal gracefully without its presence because there may actually be times we need to know when
there is no POM available. The null pattern here cause the exposure of this method and propagated
lots of internal logic that can no longer differentiate when a project is present or not.
> 2) To get the default remote repositories. These should be placed somewhere else as simple
values so that we don't have to invoke such a big piece of machinery just to extract those
values.
> Need to find all the plugins that may rely on this method, as almost every method in
the project builder is being misused in one plugin or another.

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