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 <[email protected]>: > 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
