[
https://issues.apache.org/jira/browse/KARAF-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Gardiner updated KARAF-1024:
---------------------------------
Attachment: NoManifest2.patch
Fixes the bug when there is no manifest in the artifact.
> 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
> Assignee: Jean-Baptiste Onofré
> Fix For: 3.0.0
>
> Attachments: NoManifest2.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