# Latest

**URL:** https://bnd.discourse.group/latest.md?page=5

[Latest](https://bnd.discourse.group/latest.md) · [Categories](https://bnd.discourse.group/categories.md)

**Page:** 6

---

## [biz.aQute.tester - unresolved requirement](https://bnd.discourse.group/t/biz-aqute-tester-unresolved-requirement/327)

<div class="topic-metadata">

**Author:** [@ArvidGroesser](https://bnd.discourse.group/u/ArvidGroesser)\
**Replies:** 7\
**Last updated:** [August 16, 2023, 5:18pm UTC](https://bnd.discourse.group/t/biz-aqute-tester-unresolved-requirement/327 "2023-08-16T17:18:38Z")

</div>

Hello, in my application, which is quite comprehensive, I have replaced the embedded javax http server with the jetty server (felix). Now I get an error message while running (not testing): ! could not resolve the bun…

---

## [Difference between runproperties and runvm?](https://bnd.discourse.group/t/difference-between-runproperties-and-runvm/330)

<div class="topic-metadata">

**Author:** [@chrisrueger](https://bnd.discourse.group/u/chrisrueger)\
**Replies:** 1\
**Last updated:** [August 15, 2023, 7:53pm UTC](https://bnd.discourse.group/t/difference-between-runproperties-and-runvm/330 "2023-08-15T19:53:47Z")

</div>

Today I was asked what is the difference between the parameters runproperties and runvm: E.g. for jetty it seems I can write both: -runproperties: \\ org.osgi.service.http.port=8082 or -runvm: -Dorg.osgi.service.htt…

---

## [Bndtools and baselining](https://bnd.discourse.group/t/bndtools-and-baselining/322)

<div class="topic-metadata">

**Author:** [@rimmeraj](https://bnd.discourse.group/u/rimmeraj)\
**Replies:** 1\
**Last updated:** [July 23, 2023, 5:43pm UTC](https://bnd.discourse.group/t/bndtools-and-baselining/322 "2023-07-23T17:43:31Z")

</div>

When using bndtools and baselining if the project bnd file has to have a version bump the only way to see why is going into the problems tab and hover over the error item. The project itself has the red x but the bnd fil…

---

## [Use Weka Library in bnd](https://bnd.discourse.group/t/use-weka-library-in-bnd/321)

<div class="topic-metadata">

**Author:** [@Majidniko](https://bnd.discourse.group/u/Majidniko)\
**Replies:** 1\
**Last updated:** [July 12, 2023, 9:26am UTC](https://bnd.discourse.group/t/use-weka-library-in-bnd/321 "2023-07-12T09:26:14Z")

</div>

Hi all I have a problem with a class in weka when I use it on bnd in openems , most of class found in resolve and run but classification not defined in build and I get this error: org.osgi.framework.BundleException: U…

---

## [How do I create a "greedy" requirement?](https://bnd.discourse.group/t/how-do-i-create-a-greedy-requirement/319)

<div class="topic-metadata">

**Author:** [@chrisr3](https://bnd.discourse.group/u/chrisr3)\
**Replies:** 2\
**Last updated:** [July 10, 2023, 12:43am UTC](https://bnd.discourse.group/t/how-do-i-create-a-greedy-requirement/319 "2023-07-10T00:43:04Z")

</div>

Hi, I am trying to write an OSGi requirement for -runrequires that will match every candidate on the runtime classpath. I thought that adding cardinality:=multiple would do the trick, but even that still stops after onl…

---

## [ClassNotFoundException when using JUnit 5 ParametrizedTest with MethodSource on Java 11 with bnd](https://bnd.discourse.group/t/classnotfoundexception-when-using-junit-5-parametrizedtest-with-methodsource-on-java-11-with-bnd/314)

<div class="topic-metadata">

**Author:** [@rec](https://bnd.discourse.group/u/rec)\
**Replies:** 3\
**Last updated:** [June 26, 2023, 5:34am UTC](https://bnd.discourse.group/t/classnotfoundexception-when-using-junit-5-parametrizedtest-with-methodsource-on-java-11-with-bnd/314 "2023-06-26T05:34:43Z")

</div>

Has anybody already tried running JUnit 5 Parametrized tests that use a @MethodSource in Java 11 with bnd? My tests ran fine with Java 8. However, switching to Java 11, I got a ClassNotFoundException for the class und…

---

## [Supporting the 'class' modifier in the Workspace Projects](https://bnd.discourse.group/t/supporting-the-class-modifier-in-the-workspace-projects/312)

<div class="topic-metadata">

**Author:** [@pkriens](https://bnd.discourse.group/u/pkriens)\
**Replies:** 4\
**Last updated:** [June 12, 2023, 1:15pm UTC](https://bnd.discourse.group/t/supporting-the-class-modifier-in-the-workspace-projects/312 "2023-06-12T13:15:45Z")

</div>

If you’re using the bnd Workspace model, releasing to a Maven Repository becomes remarkably simple. You can even release multiple JARs from a single project using sub bundles. However, one missing feature was the ability…

---

## [Bnd 6.4.1 released to maven central](https://bnd.discourse.group/t/bnd-6-4-1-released-to-maven-central/313)

<div class="topic-metadata">

**Author:** [@pkriens](https://bnd.discourse.group/u/pkriens)\
**Replies:** 8\
**Last updated:** [June 12, 2023, 8:54am UTC](https://bnd.discourse.group/t/bnd-6-4-1-released-to-maven-central/313 "2023-06-12T08:54:01Z")

</div>

I just released bnd 6.4.1 to Maven central. This fixes some problems with the launcher. This is a classic release that we will only update for serious stuff. It does not support bndtools nor maven plugins. The only purp…

---

## [Org.osgi.service.prefs unresolvable even though available](https://bnd.discourse.group/t/org-osgi-service-prefs-unresolvable-even-though-available/310)

<div class="topic-metadata">

**Author:** [@A7exSchin](https://bnd.discourse.group/u/A7exSchin)\
**Replies:** 4\
**Last updated:** [June 8, 2023, 2:19pm UTC](https://bnd.discourse.group/t/org-osgi-service-prefs-unresolvable-even-though-available/310 "2023-06-08T14:19:52Z")

</div>

Hello bnd community, I am currently wondering about multiple very weird errors, while using bndtools 6.4.0 with Eclipse 2023-03. First, when I try to create a new workspace in an empty folder I just created using the b…

---

## [MultiRelease jar and resolution](https://bnd.discourse.group/t/multirelease-jar-and-resolution/308)

<div class="topic-metadata">

**Author:** [@scottslewis](https://bnd.discourse.group/u/scottslewis)\
**Replies:** 14\
**Last updated:** [June 6, 2023, 7:15am UTC](https://bnd.discourse.group/t/multirelease-jar-and-resolution/308 "2023-06-06T07:15:05Z")

</div>

I am using a couple of jars (not developed or maintained by me) that have MultiRelease: true in them. I’m also using a locally-built copy of bndtools on the 7.0.0 stream. When I try to get the resolver to resolve a bn…

---

## [AI Experiments by a Curmudgeon](https://bnd.discourse.group/t/ai-experiments-by-a-curmudgeon/301)

<div class="topic-metadata">

**Author:** [@pkriens](https://bnd.discourse.group/u/pkriens)\
**Replies:** 2\
**Last updated:** [May 11, 2023, 1:58pm UTC](https://bnd.discourse.group/t/ai-experiments-by-a-curmudgeon/301 "2023-05-11T13:58:19Z")

</div>

We recently had a discussion here about Java, OSGi, and the meaning of life. This made me a bit melancholic. Clearly the Large Language Models (LLM) like for example OpenAI’s gpt and Midjourney will make drastic changes …

---

## [How to override a Require-Capability generated by Bnd?](https://bnd.discourse.group/t/how-to-override-a-require-capability-generated-by-bnd/303)

<div class="topic-metadata">

**Author:** [@chrisr3](https://bnd.discourse.group/u/chrisr3)\
**Replies:** 4\
**Last updated:** [April 14, 2023, 2:01pm UTC](https://bnd.discourse.group/t/how-to-override-a-require-capability-generated-by-bnd/303 "2023-04-14T14:01:08Z")

</div>

Hi, I am trying to add some @ServiceProvider annotations to a project, but need to make the osgi.serviceloader.registrar requirement optional. My initial attempt involved setting @ServiceProvider(value = MyProvider.cla…

---

## [Exclude Package imports of Java Module Packages when Library wrapping](https://bnd.discourse.group/t/exclude-package-imports-of-java-module-packages-when-library-wrapping/297)

<div class="topic-metadata">

**Author:** [@peterkir](https://bnd.discourse.group/u/peterkir)\
**Replies:** 3\
**Last updated:** [April 6, 2023, 2:30pm UTC](https://bnd.discourse.group/t/exclude-package-imports-of-java-module-packages-when-library-wrapping/297 "2023-04-06T14:30:56Z")

</div>

Hi everybody, I wonder if there is a efficient way/best practice to exclude all the imports of a specific java module from the target JRE of a library wrapping project. e.g. exclude java.xml module imports. If e.g. Req…

---

## [Stop gradle from stepping on Eclipse's (long) toes](https://bnd.discourse.group/t/stop-gradle-from-stepping-on-eclipses-long-toes/295)

<div class="topic-metadata">

**Author:** [@pkriens](https://bnd.discourse.group/u/pkriens)\
**Replies:** 13\
**Last updated:** [March 20, 2023, 2:41pm UTC](https://bnd.discourse.group/t/stop-gradle-from-stepping-on-eclipses-long-toes/295 "2023-03-20T14:41:50Z")

</div>

In the default setup of the workspace, the gradle build tool & eclipse share the same output directories. In general, this means you always have to clean in each tool and in the case of Eclipse stop the incremental build…

---

## [When you're left behind](https://bnd.discourse.group/t/when-youre-left-behind/296)

<div class="topic-metadata">

**Author:** [@pkriens](https://bnd.discourse.group/u/pkriens)\
**Replies:** 1\
**Last updated:** [March 10, 2023, 9:28am UTC](https://bnd.discourse.group/t/when-youre-left-behind/296 "2023-03-10T09:28:51Z")

</div>

bnd took the brave step to Java 17 and things seem to flow smoothly, we finally have the var keyword I always dreamed of! For desktops and & server farms Java 17 is not in any way complicated, the amount of choice after…

---

## [Gradle Bnd Plugin manifest issue](https://bnd.discourse.group/t/gradle-bnd-plugin-manifest-issue/223)

<div class="topic-metadata">

**Author:** [@beccagaspard](https://bnd.discourse.group/u/beccagaspard)\
**Replies:** 6\
**Last updated:** [March 8, 2023, 7:11pm UTC](https://bnd.discourse.group/t/gradle-bnd-plugin-manifest-issue/223 "2023-03-08T19:11:21Z")

</div>

We are finally migrating from the deprecated OSGi Gradle plugin to the Bnd Gradle plugin to build our OSGi bundle. We have been using the deprecated plugin along with the com.github.johnrengelman.shadow plugin to creat…

---

## [Wildcard support in -includeresource](https://bnd.discourse.group/t/wildcard-support-in-includeresource/292)

<div class="topic-metadata">

**Author:** [@mgerlich](https://bnd.discourse.group/u/mgerlich)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 9:56am UTC](https://bnd.discourse.group/t/wildcard-support-in-includeresource/292 "2023-03-03T09:56:13Z")

</div>

Hi, we’re using bndtools libraries to share common configurations between various projects. There is one library to include common Eclipse-related files like -includeresource.fragment: \\ -Application.e4xmi,\\ -…

---

## [Specific release url for each release (humble request)](https://bnd.discourse.group/t/specific-release-url-for-each-release-humble-request/289)

<div class="topic-metadata">

**Author:** [@peterkir](https://bnd.discourse.group/u/peterkir)\
**Replies:** 13\
**Last updated:** [February 22, 2023, 5:18am UTC](https://bnd.discourse.group/t/specific-release-url-for-each-release-humble-request/289 "2023-02-22T05:18:34Z")

</div>

Hi all, is there a latest release url for bndtools besides https://bndtools.jfrog.io/bndtools/update-latest/? This url is pointing to a composite p2 repo, which means that all contained repos are contacted and p2 metad…

---

## [Copying all required bundles to directory](https://bnd.discourse.group/t/copying-all-required-bundles-to-directory/287)

<div class="topic-metadata">

**Author:** [@rec](https://bnd.discourse.group/u/rec)\
**Replies:** 1\
**Last updated:** [January 30, 2023, 12:40pm UTC](https://bnd.discourse.group/t/copying-all-required-bundles-to-directory/287 "2023-01-30T12:40:48Z")

</div>

I am looking for a way to copy all the bundles transitively required by a given Maven bundle module to a directory. I found the bnd-export-maven-plugin which seems to create runnable JAR that would contain all the bundl…

---

## [Problem using accessor properties in Bnd macro expansion](https://bnd.discourse.group/t/problem-using-accessor-properties-in-bnd-macro-expansion/285)

<div class="topic-metadata">

**Author:** [@chrisr3](https://bnd.discourse.group/u/chrisr3)\
**Replies:** 4\
**Last updated:** [January 26, 2023, 9:17pm UTC](https://bnd.discourse.group/t/problem-using-accessor-properties-in-bnd-macro-expansion/285 "2023-01-26T21:17:08Z")

</div>

Hi, I am using Bnd 6.4.0 and have written a custom annotation like this: @Header(name = "My-Foo", value = "${#value}") @Target(PACKAGE) @Retention(CLASS) public @interface MyFoo { String value(); } However, when I…

---

## [How to not expand a macro](https://bnd.discourse.group/t/how-to-not-expand-a-macro/286)

<div class="topic-metadata">

**Author:** [@juergen-albert](https://bnd.discourse.group/u/juergen-albert)\
**Replies:** 2\
**Last updated:** [January 23, 2023, 3:45pm UTC](https://bnd.discourse.group/t/how-to-not-expand-a-macro/286 "2023-01-23T15:45:59Z")

</div>

I have the feeling I’m asking this not for the first time, but here we go again: I’m including a file via -incuderesource: {something.maven}. In this file I have a couple macros, I explicitly not want to be expanded. D…

---

## [Add release extra bundles](https://bnd.discourse.group/t/add-release-extra-bundles/70)

<div class="topic-metadata">

**Author:** [@juergen-albert](https://bnd.discourse.group/u/juergen-albert)\
**Replies:** 23\
**Last updated:** [January 23, 2023, 3:10pm UTC](https://bnd.discourse.group/t/add-release-extra-bundles/70 "2023-01-23T15:10:08Z")

</div>

Does anybody know of a possibility to add additional bundles when releasing a project? On e.g. gradle release we release all bundles to the specified release repositories. I search for a method to add additional bundles …

---

## [Resolve issue using biz.aQute.tester.junit-platform](https://bnd.discourse.group/t/resolve-issue-using-biz-aqute-tester-junit-platform/284)

<div class="topic-metadata">

**Author:** [@scott.y](https://bnd.discourse.group/u/scott.y)\
**Replies:** 5\
**Last updated:** [January 12, 2023, 5:49pm UTC](https://bnd.discourse.group/t/resolve-issue-using-biz-aqute-tester-junit-platform/284 "2023-01-12T17:49:33Z")

</div>

I just discovered the OSGi Test project and I’m trying it with JUnit 5 in Bndtools. I’m seeing the following when doing a Resolve on my test bundle. I understand that osgi.cmpn is compile only but I don’t the general ap…

---

## [How to generate a source bundle with the BND Maven plugin](https://bnd.discourse.group/t/how-to-generate-a-source-bundle-with-the-bnd-maven-plugin/281)

<div class="topic-metadata">

**Author:** [@rec](https://bnd.discourse.group/u/rec)\
**Replies:** 8\
**Last updated:** [December 22, 2022, 5:08pm UTC](https://bnd.discourse.group/t/how-to-generate-a-source-bundle-with-the-bnd-maven-plugin/281 "2022-12-22T17:08:49Z")

</div>

When trying to debug under OSGI in Eclipse using the bnd Eclipse plugins, I have the problem that sources are not obtained through either the Eclipse workspace or through Maven source JARs related to the bundles that I a…

---

## [Only including certain files in bundle](https://bnd.discourse.group/t/only-including-certain-files-in-bundle/282)

<div class="topic-metadata">

**Author:** [@rec](https://bnd.discourse.group/u/rec)\
**Replies:** 2\
**Last updated:** [December 22, 2022, 3:47pm UTC](https://bnd.discourse.group/t/only-including-certain-files-in-bundle/282 "2022-12-22T15:47:28Z")

</div>

I have a project which configures the maven-jar-plugin to only include certain files in to the final JAR: \<plugin\> \<groupId\>org.apache.maven.plugins\</groupId\> \<artifactId\>maven-jar-plugin\</artifactId\> \<configuration\> …

---

## [Signing of bundles](https://bnd.discourse.group/t/signing-of-bundles/279)

<div class="topic-metadata">

**Author:** [@peterkir](https://bnd.discourse.group/u/peterkir)\
**Replies:** 2\
**Last updated:** [December 22, 2022, 10:14am UTC](https://bnd.discourse.group/t/signing-of-bundles/279 "2022-12-22T10:14:56Z")

</div>

Hello to all of you, In a workspace setup with bndtools 6.4, I like to directly sign the bundles generated. Therefore I followed the doc inside -sign and entered into my bundles bnd.bnd the following section. -sign: …

---

## [Removal of bndtools.pde feature and plugin](https://bnd.discourse.group/t/removal-of-bndtools-pde-feature-and-plugin/277)

<div class="topic-metadata">

**Author:** [@bjhargrave](https://bnd.discourse.group/u/bjhargrave)\
**Replies:** 0\
**Last updated:** [December 15, 2022, 2:32pm UTC](https://bnd.discourse.group/t/removal-of-bndtools-pde-feature-and-plugin/277 "2022-12-15T14:32:28Z")

</div>

See and comment in Remove bndtools.pde feature and plugin · Issue #5481 · bndtools/bnd · GitHub regarding removal of the bndtools.pde feature and plugin for the 7.0.0 release.

---

## [Javac problems with classes using @ServiceProvider annotation](https://bnd.discourse.group/t/javac-problems-with-classes-using-serviceprovider-annotation/267)

<div class="topic-metadata">

**Author:** [@chrisr3](https://bnd.discourse.group/u/chrisr3)\
**Replies:** 13\
**Last updated:** [December 15, 2022, 1:10pm UTC](https://bnd.discourse.group/t/javac-problems-with-classes-using-serviceprovider-annotation/267 "2022-12-15T13:10:51Z")

</div>

Just FYI, I tried to help FasterXML add some missing @ServiceProvider annotations to Jackson, but it did not end well. Not sure what else can be done here :thinking:. Cheers, Chris

---

## [Bnd/Bndtools 6.4.0 release now available](https://bnd.discourse.group/t/bnd-bndtools-6-4-0-release-now-available/273)

<div class="topic-metadata">

**Author:** [@bjhargrave](https://bnd.discourse.group/u/bjhargrave)\
**Replies:** 0\
**Last updated:** [December 1, 2022, 4:51pm UTC](https://bnd.discourse.group/t/bnd-bndtools-6-4-0-release-now-available/273 "2022-12-01T16:51:40Z")

</div>

Version 6.4.0 has been built and published. See https://github.com/bndtools/bnd/blob/master/README.md#release for where the released artifacts can be obtained. See https://github.com/bndtools/bnd/wiki/Changes-in-6.4.0 fo…

---

## [New bnd video: Talking with Amit Mondal about OSGi.fx](https://bnd.discourse.group/t/new-bnd-video-talking-with-amit-mondal-about-osgi-fx/272)

<div class="topic-metadata">

**Author:** [@pkriens](https://bnd.discourse.group/u/pkriens)\
**Replies:** 1\
**Last updated:** [November 24, 2022, 2:36pm UTC](https://bnd.discourse.group/t/new-bnd-video-talking-with-amit-mondal-about-osgi-fx/272 "2022-11-24T14:36:39Z")

</div>

I made a new video talking with Amit Mondal about his application OSGi.fx. This application is a management agent for OSGi runtimes using Java FX for a graphic front end. It has hundreds of functions. It was developed in…

[Previous page](https://bnd.discourse.group/latest.md?page=4)

[Next page](https://bnd.discourse.group/latest.md?page=6)
