You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2008/03/04 01:51:28 UTC

[jira] Created: (MSHADE-21) NPE when calling mvn shade:shade

NPE when calling mvn shade:shade
--------------------------------

                 Key: MSHADE-21
                 URL: http://jira.codehaus.org/browse/MSHADE-21
             Project: Maven 2.x Shade Plugin
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Vincent Siveton
         Attachments: MSHADE-20.diff

Take the take case for SHADE-20 and call mvn shade:shade
mvn install works fine

-- 
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: (MSHADE-21) NPE when calling mvn shade:shade

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHADE-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MSHADE-21.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1
         Assignee: Benjamin Bentmann

> NPE when calling mvn shade:shade
> --------------------------------
>
>                 Key: MSHADE-21
>                 URL: http://jira.codehaus.org/browse/MSHADE-21
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Vincent Siveton
>            Assignee: Benjamin Bentmann
>             Fix For: 1.1
>
>         Attachments: MSHADE-20.diff
>
>
> Take the take case for SHADE-20 and call mvn shade:shade
> mvn install works fine

-- 
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: (MSHADE-21) NPE when calling mvn shade:shade

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSHADE-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125989 ] 

Vincent Siveton commented on MSHADE-21:
---------------------------------------

Take care of the maven-shade-plugin version

> NPE when calling mvn shade:shade
> --------------------------------
>
>                 Key: MSHADE-21
>                 URL: http://jira.codehaus.org/browse/MSHADE-21
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Vincent Siveton
>         Attachments: MSHADE-20.diff
>
>
> Take the take case for SHADE-20 and call mvn shade:shade
> mvn install works fine

-- 
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] (MSHADE-21) NPE when calling mvn shade:shade

Posted by "Stephen Buergler (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSHADE-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=304775#comment-304775 ] 

Stephen Buergler commented on MSHADE-21:
----------------------------------------

Why does it have to be a different mojo? Can't this one just be changed?
                
> NPE when calling mvn shade:shade
> --------------------------------
>
>                 Key: MSHADE-21
>                 URL: https://jira.codehaus.org/browse/MSHADE-21
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Vincent Siveton
>            Assignee: Benjamin Bentmann
>             Fix For: 1.1
>
>         Attachments: MSHADE-20.diff
>
>
> Take the take case for SHADE-20 and call mvn shade:shade
> mvn install works fine

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSHADE-21) NPE when calling mvn shade:shade

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSHADE-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126593 ] 

Herve Boutemy commented on MSHADE-21:
-------------------------------------

why are you calling shade:shade explicitely?
this goal is bound to package phase, as explained in the doc http://maven.apache.org/plugins/maven-shade-plugin/
if the intent is to check if the shading works, without installing the artifact, you're supposed to do "mvn package"

> NPE when calling mvn shade:shade
> --------------------------------
>
>                 Key: MSHADE-21
>                 URL: http://jira.codehaus.org/browse/MSHADE-21
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Vincent Siveton
>         Attachments: MSHADE-20.diff
>
>
> Take the take case for SHADE-20 and call mvn shade:shade
> mvn install works fine

-- 
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: (MSHADE-21) NPE when calling mvn shade:shade

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSHADE-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129602#action_129602 ] 

Benjamin Bentmann commented on MSHADE-21:
-----------------------------------------

Adding a new mojo that uses {{@execute phase="package"}} to fork the build might be a solution.

Until then, I made the goal output a nice error message in [r644068|http://svn.apache.org/viewvc?view=rev&revision=644068] instead of crashing with the NPE.

> NPE when calling mvn shade:shade
> --------------------------------
>
>                 Key: MSHADE-21
>                 URL: http://jira.codehaus.org/browse/MSHADE-21
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Vincent Siveton
>         Attachments: MSHADE-20.diff
>
>
> Take the take case for SHADE-20 and call mvn shade:shade
> mvn install works fine

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