karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Gardiner (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-1024) Bug generating feature.xml when dependency has no manifest
Date Fri, 18 Nov 2011 20:06:51 GMT

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

Mike Gardiner updated KARAF-1024:
---------------------------------

    Attachment: NoManifest.patch

Fixes bug when an artifact has no manifest when generating the feature.xml.
                
> Bug generating feature.xml when dependency has no manifest
> ----------------------------------------------------------
>
>                 Key: KARAF-1024
>                 URL: https://issues.apache.org/jira/browse/KARAF-1024
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 3.0.0
>         Environment: Ubuntu 10.x, JDK6, Maven 3.0.x
>            Reporter: Mike Gardiner
>             Fix For: 3.0.0
>
>         Attachments: NoManifest.patch
>
>
> When using the karaf-maven-plugin and during the feature generation phase if a dependency
does not have a manifest the process aborts because it throws an exception thus preventing
the KAR from being built. This occurs in the code that generates the wrap prefix I submitted.
 I have attached a patch that slightly modifies the code to just log a warning that the given
artifact doesn't have a manifest and since there is not manifest make the determination that
the artifact is also not a bundle since there's no manifest. 

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

        

Mime
View raw message