Did you add @releases tag on your repo in etc/org.ops4j.pax.url.mvn.cfg ?
RegardsJB





-------- Original message --------
From: David Leangen <[email protected]> 
Date: 24/05/2015  14:01  (GMT+01:00) 
To: [email protected] 
Subject: Provisioning Problem 


Hi,
I am trying to set up my Karaf in my new build+deploy process. I have never 
used Karaf before, other than playing around with it a little in the past.
I have added our company repository to the config, which I can validate by 
viewing the org.ops4j.pax.url.mvn file in the etc directory. The last line 
looks like this:
org.ops4j.pax.url.mvn.repositories = http://repo1.maven.org/maven2@id=central, 
http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, 
http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external,
 http://zodiac.springsource.com/maven/bundles/release@id=gemini, 
http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases,
 
https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases,
 
https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases,
 http://www.mycompany.com/artifactory/deployment-test@id=test
When I run the command “bundle:install mvn:my.test.bundle/test/1.0.0”, I get 
the error:
Bundle IDs:Error executing command: Error installing bundles:  Unable to 
install bundle mvn:my.test.bundle/test/1.0.0
When I check the log file, it is clear that Karaf is only checking in Maven 
Central, and none of the other repos.
Did I configure this incorrectly?

Cheers,=David

Reply via email to