I am having trouble with this via Pax Exam.
I have an artifact that is currently not available in Maven Central. So I
specify the appropriate repository in Pax Exam @Configuration method, using:
return options(
repositories(
repository(
"http://repository.jboss.org/nexus/content/groups/public/" )...
)
);
However, I keep getting errors that the artifact cannot be resolved:
shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Could not
find artifact org.jboss.logging:jboss-logging:jar:3.3.0.Final in central
(http://repo1.maven.org/maven2/)
Is this just a bad error message? Or is Karaf really only looking in Maven
Central even though I (thought I) told it to look in JBoss Nexus as well?
As you can see, the artifact is there...
https://repository.jboss.org/nexus/content/groups/public/org/jboss/logging/jboss-logging/3.3.0.Final/
--
View this message in context:
http://karaf.922171.n3.nabble.com/Add-additional-local-maven-repository-how-tp4028299p4040638.html
Sent from the Karaf - User mailing list archive at Nabble.com.