You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org> on 2008/04/27 22:08:47 UTC
[jira] Created: (MNG-3552) ProfileManager not available as a
component
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
[jira] Closed: (MNG-3552) ProfileManager not available as a
component
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ 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