Error message "bundle org.eclipse.lemminx.uber-jar:0.29.0 (1020) Component descriptor entry 'OSGI-INF/*.xml' not found"
eclipse.buildId=4.35.0.I20250219-1800
java.version=22.0.2
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data file:/C:/Users/jkubitz/platform-2025-01-02/ws/
org.eclipse.lemminx.uber-jar
Error
Thu Feb 20 08:35:20 CET 2025
bundle org.eclipse.lemminx.uber-jar:0.29.0 (1020) Component descriptor entry 'OSGI-INF/*.xml' not found
analysis from https://github.com/eclipse-platform/.github/issues/241 :
https://github.com/eclipse-lemminx/lemminx/blob/a5f12dda21eed31eeadf9af5a8c0dacd912dfbc6/org.eclipse.lemminx/pom.xml#L122 OSGI-INF is not included in the resulting uber jar.
@jonahgraham
Of course the current snapshot has the same problem:
https://repo.eclipse.org/service/local/repositories/lemminx-snapshots/content/org/eclipse/lemminx/org.eclipse.lemminx/0.30.0-SNAPSHOT/org.eclipse.lemminx-0.30.0-20250129.070553-2-uber.jar
Is the error that the OSGI-INF/ is missing from the the jar, or that the service component is listed in MANIFEST.MF? Or is it something else.
I really don't like see new errors in workspace log. The occasional warnings and info are enough of a distraction. If the problem is the service component, can we just remove this line from the pom.xml?
I am using eclipse 2025-09 (4.37 the latest) I am getting:
"bundle org.eclipse.lemminx.uber-jar:0.31.0 (270) Component descriptor entry 'OSGI-INF/*.xml' not found" An exception stack trace is not available.
Is there something that I need to do, or just ignore it ?
@mickaelistria have you some idea?
According to @laeubi this glob should just match nothing, and then there should be no error message, if I recall the reasoning correctly. In any case, it's an old problem that I've reluctantly had to "just ignore".
As far as I know @tjwatson has already prepared a new SCR release with a fix that should silence the error.