Skip to content
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

Startlevel in output of bnd-resolver-maven-plugin does not include/incorporate startlevels from runbundles decorator #6364

Open
glimmerveen opened this issue Nov 11, 2024 · 1 comment

Comments

@glimmerveen
Copy link
Contributor

I noticed in a project that any startlevel set using the -runbundles+ decorator does not show-up in the -runbundles outputted by the bnd-resolver-maven-plugin. Note that if the bndrun also includes a -runstartlevel instruction, then the output of bnd-resolver-maven-plugin will include startlevel attribute, but only with the value(s) following from the -runstartlevel instruction, and not from the -runbundles+ decoration.

When a bndrun file that uses a -runstartlevel instruction and some specific startlevels assigned using -runbundles+ decoration is generated into an executable JAR, then the resulting startlevels used within that executable JAR is the expected combination of both.

Is it to be expected that the output of the bnd-resolver-maven-plugin with respect to startlevel attributes is aligned with the effective output of the bnd-exporter-maven-plugin?

@pkriens
Copy link
Member

pkriens commented Nov 11, 2024

Agree.

Can you provide a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants