aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (ARIES-1650) Maven plugin no longer includes non-bundle artifacts
Date Wed, 04 Jan 2017 14:24:58 GMT


ASF GitHub Bot commented on ARIES-1650:

GitHub user WouterBanckenACA opened a pull request:

    ARIES-1650 Optionally exclude non bundle artifacts in ESA maven plugin

    Implementation for ARIES-1650
    Made the new feature optional (by default disabled)

You can merge this pull request into a Git repository by running:

    $ git pull ARIES-1650_ESA_plugin_no_longer_includes_non-bundle_artifacts

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #63
commit 73410a244dd371018ba120af62382af21c38997c
Author: Wouter Bancken <wouter@wouters-macbook-pro-2.local>
Date:   2017-01-04T14:16:17Z

    ARIES-1650 Optionally exclude non bundle artifacts in ESA maven plugin


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