Install odl-restconf in custom karaf distribution

asked 2016-02-27 08:11:45 -0800

anonymous user

Anonymous

I have a custom karaf installation. I want to do a feature:install odl-restconf. for doing this i have done a feature:repo-add of feature file available in the below location https://nexus.opendaylight.org/conten... After this i have made entries in karaf org.ops4j.pax.url.mvn.cfg file and added the below url as part of maven repo http://nexus.opendaylight.org/content... , \ http://nexus.opendaylight.org/content... , \

While doing a feature:install it is not checking this url. It tries to download it from some other location.

2016-02-27 21:21:19,451 | INFO | nsole user karaf | FeaturesServiceImpl | 9 - org.apache.karaf.features.core - 4.0.3 | Adding features: odl-restconf/[1.3.0.SNAPSHOT,1.3.0.SNAPSHOT] 2016-02-27 21:21:27,754 | WARN | ool-146-thread-1 | AetherBasedResolver | 5 - org.ops4j.pax.logging.pax-logging-api - 1.8.4 | Error resolving artifactorg.opendaylight.controller:sal-rest-connector:jar:1.3.0-SNAPSHOT:Could not find artifact org.opendaylight.controller:sal-rest-connector:jar:1.3.0-SNAPSHOT in apache ( http://repository.apache.org/content/... ) shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.opendaylight.controller:sal-rest-connector:jar:1.3.0-SNAPSHOT in apache ( http://repository.apache.org/content/... ) at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)[4:org.ops4j.pax.url.mvn:2.4.3] at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)[4:org.ops4j.pax.url.mvn:2.4.3] at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)[4:org.ops4j.pax.url.mvn:2.4.3] at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)[4:org.ops4j.pax.url.mvn:2.4.3] at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:573)[4:org.ops4j.pax.url.mvn:2.4.3] at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:528)[4:org.ops4j.pax.url.mvn:2.4.3] at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:506)[4:org.ops4j.pax.url.mvn:2.4.3] at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:481)[4:org.ops4j.pax.url.mvn:2.4.3] at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download(MavenDownloadTask.java:34)[9:org.apache.karaf.features.core:4.0.3] at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:58)[9:org.apache.karaf.features.core:4.0.3] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0 79] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.079] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.079] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.079] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.079] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.079] at java.lang.Thread.run(Thread.java:745)[:1.7.0 79] Caused ... (more)

edit retag flag offensive close merge delete