jstastny-cz opened a new issue, #3782:
URL: https://github.com/apache/incubator-kie-tools/issues/3782
When using a valid NPM version like `0.0.0-484`, or similarly `0.0.0-rc1`
the build of following package fails due to more strict limitations on the
version format:
packages/vscode-java-code-completion-extension-plugin
Ultimate error looks like:
```
[ERROR] Internal error:
org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing
OSGi MANIFEST
/artifacts/kie-tools/packages/vscode-java-code-completion-extension-plugin/vscode-java-code-completion-extension-plugin-core/META-INF/MANIFEST.MF:
Invalid Manifest header "Bundle-Version": 0.0.0-484: invalid version
"0.0.0-484": non-numeric "0-484": For input string: "0-484" -> [Help 1]
org.apache.maven.InternalErrorException: Internal error:
org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing
OSGi MANIFEST
/artifacts/kie-tools/packages/vscode-java-code-completion-extension-plugin/vscode-java-code-completion-extension-plugin-core/META-INF/MANIFEST.MF:
Invalid Manifest header "Bundle-Version": 0.0.0-484
```
Similar problem might also be in chrome extensions, @tiagobento would you
mind adding to that?
For the vscode plugin above, the solution would be to alter install.js
script around line
```
.map((line) => (line.startsWith(`Bundle-Version: `) ? `Bundle-Version:
${version}` : line))
```
where the overall project version can be sanitized for the particular usage.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]