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

jetty-keystore Invalid manifest header Bundle-SymbolicName: "" #6238

Closed
laeubi opened this issue May 6, 2021 · 2 comments · Fixed by #6240
Closed

jetty-keystore Invalid manifest header Bundle-SymbolicName: "" #6238

laeubi opened this issue May 6, 2021 · 2 comments · Fixed by #6240
Assignees

Comments

@laeubi
Copy link
Contributor

laeubi commented May 6, 2021

Jetty version
11.0.2

Java version
11

OS type/version

Description
!ENTRY org.eclipse.equinox.p2.publisher.eclipse 2 0 2021-05-06 07:01:23.762
!MESSAGE An error has occurred while adding the bundle .m2/repository/org/eclipse/jetty/jetty-keystore/11.0.2/jetty-keystore-11.0.2.jar.
!STACK 0
org.osgi.framework.BundleException: Invalid manifest header Bundle-SymbolicName: ""

if I take a look at the metainf I see that the BSN is empty:

Bundle-ManifestVersion: 2
Bundle-Name: Jetty :: Test Keystore
Bundle-RequiredExecutionEnvironment: JavaSE-11
Bundle-SymbolicName: 
Bundle-Vendor: Eclipse Jetty Project
Bundle-Version: 11.0.2
@sbordet
Copy link
Contributor

sbordet commented May 6, 2021

@laeubi can you please detail how you are using the jetty-keystore module?

I ask because it is supposed to be a dependency only for jetty-home, it's not something that is intended as a generic dependency.

Since no other Jetty module depends on it, I am wondering how it ended up as an OSGi bundle?

@laeubi
Copy link
Contributor Author

laeubi commented May 6, 2021

@sbordet I don't really use it atm but currently working on a module that transforms maven BOMs automatically into a (maven based) P2 site and just noticed the faulty meta-data.

If it is never supposed to be a bundle then it probably should have no OSGi headers, otherwise at least valid ones (e.g. simply jetty.test.keystore.do.not.use.me)...

@sbordet sbordet self-assigned this May 6, 2021
sbordet added a commit that referenced this issue May 6, 2021
…ame.

Added POM property that specifies the bundle name.

Signed-off-by: Simone Bordet <[email protected]>
sbordet added a commit that referenced this issue May 7, 2021
…ame.

Added POM property that specifies the bundle name.

Signed-off-by: Simone Bordet <[email protected]>
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

Successfully merging a pull request may close this issue.

2 participants