L.S., That URL does look correct at first glance: the syntax is mvn:<groupId>/<artifactId>/<version>/<type>/<classifier>. Could you post the full path of the features.xml file in your local repository as well as the exact URL you're trying to use to fetch that file?
Thanks, Gert On Tue, Jun 24, 2014 at 9:47 PM, Sana <[email protected]> wrote: > Hi, > > I have removed http://oss.sonatype.org/content/repositories/releases/, from > org.ops4j.pax.url.mvn.cfg file. > > And I tried the maven coordinate features:addurl > mvn:groupId/artifactID/version/xml/features but it still fails to add. > > Getting error: Could not add Feature Repository: > java.lang.RuntimeException: URL > [mvn:groupId/artifactID/version/xml/features] could not be resolved. > Please verify that the feature repository URL is correct and that your > network connection works fine. > > > When I do cat, I got the below error > > cat mvn:groupId/artifactID/version/xml/features > Error executing command: URL [mvn:groupId/artifactID/version/xml/features] > could not be resolved. > > I am just wondering how the above maven coordinate will work, when the xml > file is not embedded in a jar.. > > What should be the right maven coordinate for a file which is not embedded > in a jar. > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/feature-installer-does-not-work-with-mvn-tp5721001p5721046.html > Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
