aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (ARIES-1650) Maven plugin no longer includes non-bundle artifacts
Date Mon, 06 Mar 2017 12:22:32 GMT


ASF subversion and git services commented on ARIES-1650:

Commit 1785640 from [~bosschaert] in branch 'aries/trunk'
[ ]

ARIES-1650 Maven plugin no longer includes non-bundle artifacts

Patch applied on behalf of Wouter Bancken and Tom de Wolf with many thanks!
This closes

> Maven plugin no longer includes non-bundle artifacts
> ----------------------------------------------------
>                 Key: ARIES-1650
>                 URL:
>             Project: Aries
>          Issue Type: Improvement
>          Components: ESA Maven Plugin
>    Affects Versions: esa-maven-plugin-1.0.0
>            Reporter: Wouter Bancken
>            Assignee: David Bosschaert
> The ESA Maven plugin currently includes artifacts in the ESA Archive regardless of whether
these artifacts are OSGi bundles. Non-bundle artifacts included in the ESA Archive cause issues
while installing the subsystem. 
> The ESA Maven Plugin should be adapted to either log warnings or fail when trying to
include a non-bundle artifact in the archive. Detecting whether an artifact is a bundle can
be done by checking if the Bundle-SymbolicName header is present in the manifest.
> Example error when trying to install an archive containing a non-bundle artifact:
> Caused by: java.lang.NullPointerException
> 	at org.apache.aries.subsystem.core.archive.FragmentHostCapability.initializeAttributes(
> 	at org.apache.aries.subsystem.core.archive.FragmentHostCapability.<init>(
> 	at org.apache.aries.subsystem.core.internal.BundleResource.computeOsgiWiringHostCapability(
> 	at org.apache.aries.subsystem.core.internal.BundleResource.computeRequirementsOtherThanService(
> 	at org.apache.aries.subsystem.core.internal.BundleResource.computeRequirementsAndCapabilities(
> 	at org.apache.aries.subsystem.core.internal.BundleResource.<init>(
> 	at org.apache.aries.subsystem.core.internal.RawSubsystemResource.addResource(
>  	at org.apache.aries.subsystem.core.internal.RawSubsystemResource.computeResources(
> 	at org.apache.aries.subsystem.core.internal.RawSubsystemResource.<init>(
> 	at org.apache.aries.subsystem.core.internal.SubsystemResource.<init>(
> 	at
> 	... 37 more

This message was sent by Atlassian JIRA

View raw message