You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Milos Kleint (JIRA)" <ji...@codehaus.org> on 2006/03/11 18:17:31 UTC

[jira] Created: (MNG-2146) [maven-embedder-refactor] DefaultPluginRegistryBuilder gives NPE when maven.home system property is not available.

[maven-embedder-refactor] DefaultPluginRegistryBuilder gives NPE when maven.home system property is not available.
------------------------------------------------------------------------------------------------------------------

         Key: MNG-2146
         URL: http://jira.codehaus.org/browse/MNG-2146
     Project: Maven 2
        Type: Bug

  Components: Embedding  
    Versions: 2.1    
 Environment: jason's maven-embedder-refactor branch
    Reporter: Milos Kleint
 Attachments: DefaultPluginRegistryBuilder.patch

patch attached, the problem is the initialization of default global plugin registry which claim to be maven CLI independent but initializes only when invoked by the CLI.



-- 
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] Commented: (MNG-2146) [maven-embedder-refactor] DefaultPluginRegistryBuilder gives NPE when maven.home system property is not available.

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2146?page=comments#action_60918 ] 

John Casey commented on MNG-2146:
---------------------------------

This is fixed on the trunk and the maven-2.0.x branch, but needs to be propagated to the embedder-refactor branch.

> [maven-embedder-refactor] DefaultPluginRegistryBuilder gives NPE when maven.home system property is not available.
> ------------------------------------------------------------------------------------------------------------------
>
>          Key: MNG-2146
>          URL: http://jira.codehaus.org/browse/MNG-2146
>      Project: Maven 2
>         Type: Bug

>   Components: Embedding
>     Versions: 2.1
>  Environment: jason's maven-embedder-refactor branch
>     Reporter: Milos Kleint
>  Attachments: DefaultPluginRegistryBuilder.patch
>
>
> patch attached, the problem is the initialization of default global plugin registry which claim to be maven CLI independent but initializes only when invoked by the CLI.

-- 
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-2146) [maven-embedder-refactor] DefaultPluginRegistryBuilder gives NPE when maven.home system property is not available.

Posted by "Milos Kleint (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2146?page=all ]
     
Milos Kleint closed MNG-2146:
-----------------------------

     Resolution: Fixed
    Fix Version: 2.1

mave-refactor-branch now in trunk, both trees are merged.

> [maven-embedder-refactor] DefaultPluginRegistryBuilder gives NPE when maven.home system property is not available.
> ------------------------------------------------------------------------------------------------------------------
>
>          Key: MNG-2146
>          URL: http://jira.codehaus.org/browse/MNG-2146
>      Project: Maven 2
>         Type: Bug

>   Components: Embedding
>     Versions: 2.1
>  Environment: jason's maven-embedder-refactor branch
>     Reporter: Milos Kleint
>      Fix For: 2.1
>  Attachments: DefaultPluginRegistryBuilder.patch
>
>
> patch attached, the problem is the initialization of default global plugin registry which claim to be maven CLI independent but initializes only when invoked by the CLI.

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