[ 
https://issues.apache.org/jira/browse/KARAF-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Pieber resolved KARAF-1449.
-----------------------------------

    Resolution: Fixed

Committed r1335532
        M       
tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
r1335532 = d432ff5dd2cf40c819b6c0d23e0b83fd57bc72f1 (refs/remotes/origin/trunk)

                
> The InstallKarMojo fails with a nullpointer if an artifact could not be 
> retrieved
> ---------------------------------------------------------------------------------
>
>                 Key: KARAF-1449
>                 URL: https://issues.apache.org/jira/browse/KARAF-1449
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-tooling
>    Affects Versions: 3.0.0
>            Reporter: Andreas Pieber
>            Assignee: Andreas Pieber
>             Fix For: 3.0.0
>
>
> Well, for gods sake it fails at least :-) Still, a null pointer might not be 
> the best error to show to a user who is quite of glueless what's the problem 
> seeing the null pointer. Instead a MojoFailureException should be thrown 
> (which should be thrown, according to it's jdoc in kind of compilation, 
> built, ... error) which fits fine our situation I think. This won't change 
> the behavior (which is a pretty good one IMHO; at least what do you want to 
> do with an assembly missing half the artifacts), but make the result better 
> to read.

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

        

Reply via email to