-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic Extensions Gradle plugin fails with java.lang.NoClassDefFoundError: aQute/bnd/osgi/Builder
#258
Labels
Comments
This issue is caused by a bug in the publish process of the bnd plugin that is used under the covers: bndtools/bnd#3174 You can work around it by adding this snippet to pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
} Or by adding this snippet to your buildscript {
repositories {
mavenCentral()
}
} |
To work around it from the plugin side, we can
|
kerkhofsd
pushed a commit
to xenit-eu/example-dynamic-extension
that referenced
this issue
May 21, 2019
vierbergenlars
added a commit
that referenced
this issue
May 21, 2019
vierbergenlars
added a commit
that referenced
this issue
May 21, 2019
kerkhofsd
added a commit
that referenced
this issue
May 21, 2019
Add workaround for #258 by manually adding dependencies of bnd
kerkhofsd
pushed a commit
that referenced
this issue
May 21, 2019
kerkhofsd
pushed a commit
to xenit-eu/example-dynamic-extension
that referenced
this issue
May 21, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the dynamic extensions gradle plugin fails while running the
jar
task with aNoClassDefFoundError
foraQute.bnd.osgi.Builder
.I'm submitting a ... (check one with "x")
Expected Behavior
Running the
jar
task creates a dynamic extensions jar.Current Behavior
Running the
jar
task fails with an exceptionSteps to Reproduce (for bugs)
eu.xenit.de
gradle plugin (make sure the mavenCentral or jcenter repositories are not used for plugin resolution)./gradlew assemble
Context
Building the example project fails on travis: https://travis-ci.org/xenit-eu/example-dynamic-extension/builds/535161122
Your Environment
The text was updated successfully, but these errors were encountered: