karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-3491) karaf-maven-plugin:install-kars ignores feature descriptors without classifier "features"
Date Wed, 12 Aug 2015 04:36:46 GMT

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

Jean-Baptiste Onofré updated KARAF-3491:
----------------------------------------
    Fix Version/s:     (was: 4.0.1)
                       (was: 3.0.5)

> karaf-maven-plugin:install-kars ignores feature descriptors without classifier "features"
> -----------------------------------------------------------------------------------------
>
>                 Key: KARAF-3491
>                 URL: https://issues.apache.org/jira/browse/KARAF-3491
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 3.0.2, 3.0.3
>         Environment: Windows 7 64Bit, Java 8, Maven 3
>            Reporter: Matthias Jeschke
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> When building a custom distribution using the karaf-assemble archetype, it seems like
the install-kars goal ignores features descriptors defined in the dependency section that
do not have a classifier "features". This can be seen, e.g, when adding the feature descriptor
for ipojo:
> {code:xml}
> <dependency>
>   <groupId>org.apache.felix</groupId>
>   <artifactId>org.apache.felix.ipojo.features</artifactId>
>   <version>1.12.1</version>
>   <type>xml</type>
>   <scope>runtime</scope>
> </dependency>
> {code}
> When Maven runs, the dependency is ignored / not resolved:
> {noformat}
> [INFO] --- karaf-maven-plugin:3.0.3:install-kars (default-install-kars) @ pcbnxt-karaf3
---
> [INFO] Creating system directory
> [INFO] Creating startup.properties
> [INFO] Loading kar and features repositories dependencies with compile or runtime scopes
> [INFO] The startup.properties file is updated using kar and features dependency with
a scope different from runtime, or defined in the <startupFeatures/> plugin configuration
> [INFO] Extracting org.apache.karaf.features:framework:kar:3.0.3:compile kar
> [INFO] Resolving /C:/Users/mj/Development/Workspace/Java/pcbnxt/pcbnxt-karaf3/target/assembly/system/org/apache/karaf/features/framework/3.0.3/framework-3.0.3-features.xml
features repository
> [INFO] Resolving org.apache.karaf.features:standard:xml:features:3.0.3:runtime features
repository
> [INFO] Resolving mvn:org.apache.karaf.features/standard/3.0.3/xml/features features repository
> [INFO] Resolving mvn:org.ops4j.pax.web/pax-web-features/3.1.4/xml/features features repository
> [INFO] Checking features resolution
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message