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 Mon, 14 Oct 2013 16:54:45 GMT

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

Richard Senior commented on KARAF-1512:

All, This is possible with the current 3.0.0-RC1 karaf-maven-plugin

Simply create a template features.xml in /main/feature and add your bundle with wildcards

<bundle start-level="80">mvn:${project.groupId}/${project.artifactId}/${project.version}</bundle>

I've noticed that the XMLNS version number is being set to 1.2.0 which is incompatible with
earlier versions of Karaf though. That needs a search and replace through your completed features.xml

> 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