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

Feature Request: Support for customized Bundle Instruction #132

Open
guw opened this issue Apr 26, 2023 · 2 comments
Open

Feature Request: Support for customized Bundle Instruction #132

guw opened this issue Apr 26, 2023 · 2 comments

Comments

@guw
Copy link

guw commented Apr 26, 2023

As a follow up from #115 it would be nice to have support for custom bnd instructions:

		    <instructions><![CDATA[
Bundle-Name:           Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version:               ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName:   org.${mvnArtifactId}
Bundle-Version:        ${version}
Import-Package:        *;resolution:=optional
Export-Package:        *;version="${version}";-noimport:=true
DynamicImport-Package: *
]]></instructions>
@Bananeweizen
Copy link
Contributor

For everyone running into this problem while there is no support yet: It can be done with an Ant based project builder which patches the generated target file whenever it changes. That's not nice, but works.

@ruspl-afed
Copy link

yes, it would be very nice, because in some cases it is not possible to proceed without instructions for non-bundle jars

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

3 participants