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

Specify minor version of Java to use in GitHub action #2726

Merged

Conversation

rjwills28
Copy link
Contributor

There is a problem with the CSS build using the latest version of Java11 (11.0.21). This is what is used by the GitHub CI by default if you only specifying the major version of Java to use as we currently do (i.e. 11).
The error is due to a signing issue in the jython-standalone package we download:

Error:  Failed to execute goal org.reficio:p2-maven-plugin:1.3.0:site (default-cli) on project maven-osgi-repository: 
Execution default-cli of goal org.reficio:p2-maven-plugin:1.3.0:site failed: java.lang.RuntimeException: Error while bundling jar or 
source: jython-standalone-2.7.1.jar: The JAR/ZIP file (/home/runner/.m2/repository/org/python/jython-standalone/2.7.1/jython-
standalone-2.7.1.jar.d0685bba-07f7-4512-bcd6-f690f85bd948) seems corrupted, error: Invalid CEN header (invalid extra data field
 size for tag: 0xbfef at 130358) -> [Help 1]

This check is something that has been introduced from Java 11.0.20 as an extra security check. Without the jython-standalone signature being fixed the only solution for us is to specify the use of Java 11.0.19 in the GitHub CI build.

@rjwills28
Copy link
Contributor Author

Is anyone available to review this PR as the fix is needed before #2725 can be reviewed?

@shroffk shroffk merged commit 449df66 into ControlSystemStudio:master Mar 13, 2024
1 check passed
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 this pull request may close these issues.

2 participants