karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Tuning start= on a bundle in a feature
Date Mon, 31 Aug 2015 11:57:06 GMT
yes,
if it is a maven property.

The karaf and other features.xml also use this.
I added a link to the pax-web features project as example [1]

regards, Achim

[1] -
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-features/src/main/resources/features.xml

2015-08-31 13:54 GMT+02:00 Benson Margulies <benson@basistech.com>:

> Here's a start/main/feature/feature.xml. Note the use of my particular
> Maven property: rosette-osgi-version. Is there a way to get the Karaf
> plugin to use the version from the dependency tree?
>
>
> <features name="${project.artifactId}-${project.version}"
> xmlns="http://karaf.apache.org/xmlns/features/v1.3.0">
>     <feature name='${project.artifactId}'
> description='${project.name}' version='${project.version}' >
>         <details>${project.description}</details>
>         <bundle
>
> start="false">mvn:com.basistech.osgi.template.component/template-component-osgi/${rosette-osgi-version}/jar/fragment-bundle</bundle>
>     </feature>
> </features>
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Mime
View raw message