Hi, it is possible, but the maven coordinate is not correct, the coordinate you gave is the default for a jar, that why it worked with an embedded feature.xml. You'll need to add a "fully qualified" maven coordinate for the feature file. mvn:groupID/artifactID/version/xml/features
regards, Achim 2014-06-21 3:42 GMT+02:00 Sana <[email protected]>: > Thanks! It worked if the feature.xml file is inside the jar. > > However, I am still not able to add a feature.xml file which is located > outside a jar with mvn handler. > > For instance, features:addurl > mvn:{group-id}/{artifact-id}/{version}/{artifact-Id}-{version}-features.xml > > or > > features:addurl mvn:{group-id}/{artifact-id}/{version}/ > > does not work. There is no jar available at this location as the pom has > packaging type as "pom". > > file protocol works perfectly fine. I want to use mvn to do it. Please let > me know if it is possible. > > Thanks! > > > > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/feature-installer-does-not-work-with-mvn-tp5721001p5721025.html > Sent from the ServiceMix - Dev mailing list archive at Nabble.com. > -- 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/> Software Architect / Project Manager / Scrum Master
