You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/06/13 03:49:12 UTC

[jira] Closed: (MNG-3552) ProfileManager not available as a component

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

Brett Porter closed MNG-3552.
-----------------------------

    Resolution: Won't Fix

it's not a component. Unfortunately you must construct it manually (which you can do).

I'll defer any decisions about this to the maven-project refactoring.

> ProfileManager not available as a component
> -------------------------------------------
>
>                 Key: MNG-3552
>                 URL: http://jira.codehaus.org/browse/MNG-3552
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Profiles
>    Affects Versions: 2.0.9
>            Reporter: Kohsuke Kawaguchi
>
> ProfileManager is currently not available as a component in plexus, so plugins cannot get hold of it, unlike other components.
> IOW, the following code won't work from Mojo.
> {noformat}
>     /**
>      * @component
>      */
>     private ProfileManager profileManager;
> {noformat}

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