BndPomRepository plugin not found by gradle

50 views
Skip to first unread message

Bryan Hunt

unread,
May 26, 2017, 3:16:23 PM5/26/17
to bndtool...@googlegroups.com
I’m trying to switch to the BndPomRepository plugin and I have it working just fine in the IDE, but when I run gradle on the command line, I get:

Error : Failed to load plugin aQute.bnd.repository.maven.pom.provider.BndPomRepository;name=Central;releaseUrls="https://repo1.maven.org/maven2/";pom="/Users/bhunt/Documents/Nvidia/Code/NVNotificationService/cnf/ext/pom.xml", error: aQute.bnd.repository.maven.pom.provider.BndPomRepository not found, parent: org.gradle.api.internal.initialization.loadercache.DefaultClassLoaderCache$HashedMutableURLClassLoader@8ad313f urls:[] exception:java.lang.ClassNotFoundException: aQute.bnd.repository.maven.pom.provider.BndPomRepository
Error : Cannot load the plugin aQute.bnd.repository.maven.pom.provider.BndPomRepository
Error : Cannot find /error/osgi.annotation;version=6.0.1 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : Cannot find /error/osgi.core;version=6.0 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : Cannot find /error/osgi.cmpn;version=6.0 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : Cannot find /error/com.github.jknack.handlebars;version=4.0 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : osgi.annotation;version=6.0.1 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : osgi.core;version=6.0 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : osgi.cmpn;version=6.0 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : com.github.jknack.handlebars;version=4.0 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : Cannot find /error/org.objenesis;version=2.4.0 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : Cannot find /error/biz.aQute.bndlib;version=0 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : org.objenesis;version=2.4.0 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : biz.aQute.bndlib;version=0 Not found in [bnd-cache, Release, Local, Rest, Web, NVServiceUtils, Libs, eUnit, eMeta, eMongo]
Error : NVNotificationService :Failed to load plugin aQute.bnd.repository.maven.pom.provider.BndPomRepository;name=Central;releaseUrls="https://repo1.maven.org/maven2/";pom="/Users/bhunt/Documents/Nvidia/Code/NVNotificationService/cnf/ext/pom.xml", error: aQute.bnd.repository.maven.pom.provider.BndPomRepository not found, parent: org.gradle.api.internal.initialization.loadercache.DefaultClassLoaderCache$HashedMutableURLClassLoader@8ad313f urls:[] exception:java.lang.ClassNotFoundException: aQute.bnd.repository.maven.pom.provider.BndPomRepository
Error : NVNotificationService :Cannot load the plugin aQute.bnd.repository.maven.pom.provider.BndPomRepository


Any idea on what I’m missing?

BJ Hargrave

unread,
May 26, 2017, 5:41:06 PM5/26/17
to bndtool...@googlegroups.com
You need to use a later version of the Bnd Gradle plugin. Like 3.3.0. 

--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
BJ

Bryan Hunt

unread,
May 27, 2017, 6:01:07 PM5/27/17
to bndtool...@googlegroups.com
That fixed it.  Thanks!

Bryan
Reply all
Reply to author
Forward
0 new messages