You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/10/09 03:55:00 UTC

[jira] [Deleted] (KARAF-3491) karaf-maven-plugin:install-kars ignores feature descriptors without classifier "features"

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

Jean-Baptiste Onofré deleted KARAF-3491:
----------------------------------------


> 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
>         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
(v8.3.4#803005)