karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Senior (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1512) enhancement: add self to generated feature in "features-generate-descriptor" goal
Date Fri, 04 Oct 2013 15:57:42 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13786275#comment-13786275

Richard Senior commented on KARAF-1512:

The feature descriptor, and the process of deploying features is more powerful than that used
to deploy individual bundles.

So for example, in the OSGi manifest you might be specifying a version range for a dependency.
If you deploy the bundle then you have no real control over exactly which version is pulled
down from Nexus.
If your POM build created a features xml for your bundle, you could fix the exact version
of each dependency and it's start level. Which leads me on.. I notice that if you do specify
a version range in your maven dependencies, then the generated features XML contains multiple
bundle declarations for that dependency. There should be a way (in the goal config in the
POM) of fixing the exact values for each dependency that is placed in the features XML.. etc.

> enhancement: add self to generated feature in "features-generate-descriptor" goal
> ---------------------------------------------------------------------------------
>                 Key: KARAF-1512
>                 URL: https://issues.apache.org/jira/browse/KARAF-1512
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-tooling
>            Reporter: Benjamin Reed
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>             Fix For: 2.4.0, 3.1.0
>         Attachments: KARAF-1512.patch
> When generating features in a pom that also creates a bundle artifact of it's own, it
would be useful for that generated feature XML to include the project's bundle in the list
of bundles for the purposes of publishing.

This message was sent by Atlassian JIRA

View raw message