Hi,
I wonder how to use maven central from bndtools (not jpm4j for the moment, I tried jpm4j, it works, but for now, I would like to only use maven central).
-plugin:\
aQute.bnd.deployer.repository.LocalIndexedRepo; \
name = Local; \
pretty = true; \
local = ${build}/local; \
, \
aQute.bnd.repository.maven.provider.MavenBndRepository; \
index=${.}/central.maven; \
name="Central"; \
, \
aQute.bnd.deployer.repository.wrapper.Plugin; \
location = "${build}/cache/wrapper"; \
reindex = true;
then I defined a dependency like this from a sample project:
-buildpath: org.osgi:org.osgi.core:6.0.0
but the project did not build, and I'm having the following error:
org.osgi:org.osgi.core:6.0.0;version=0 Not found in [bnd-cache, Local, MavenBndRepository [localRepo=/home/nxuser/.m2/repository, storage=Central, inited=true]]
Notice that before, I was using the following plugin, which was working except when you had to use a corporate http proxy:
# aQute.bnd.deployer.repository.aether.AetherRepository; \
# name=Maven Central; \
# cache=${build}/cache;
(since I'm not able to use the aether plugin using an http proxy, I'm trying to use the new aQute.bnd.repository.maven.provider.MavenBndRepository ...)
thanks for your help;
/Pierre