[FOLIO-3371] Unable to find jdeps, JAVA_HOME is not correctly set Created: 20/Dec/21  Updated: 25/Apr/22  Resolved: 21/Dec/21

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: TBD
Reporter: Julian Ladisch Assignee: Adam Dickmeiss
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint: CP: sprint 130
Development Team: Core: Platform

 Description   

Releasing okapi 4.12.0 fails in Jenkins in the "build debian package" stage with this error message:

ERROR Failed to execute goal org.apache.maven.plugins:maven-jdeps-plugin:3.1.2:jdkinternals (default) on project okapi-testing
Unable to find jdeps command: The environment variable JAVA_HOME is not correctly set.

https://jenkins-aws.indexdata.com/job/Automation/job/build-debian-package/59/console

Okapi 4.12.0 is the first release that uses maven-jdeps-plugin and jdeps.



 Comments   
Comment by Adam Dickmeiss [ 20/Dec/21 ]

Filed 2 December:

https://issues.apache.org/jira/plugins/servlet/mobile#issue/MJDEPS-27

Comment by Adam Dickmeiss [ 21/Dec/21 ]

This is kind of urgent, as it makes a release of okapi 4.12.0 impossible and also folio-vertx-lib (which is yet to be released).

I'm using on Ubuntu:

JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")
export JAVA_HOME
Comment by Julian Ladisch [ 21/Dec/21 ]

For Okapi it is not urgent because I've released 4.11.1 that is sufficient to fix the log4j issues.

Comment by Adam Dickmeiss [ 21/Dec/21 ]

Julian Ladisch.. it makes it impossible to release any new features.

Comment by Adam Dickmeiss [ 21/Dec/21 ]

Oh .. This seems to be the Debian build step, not the general pipeline.. So this can be fixed in Okapi.

Generated at Thu Feb 08 23:27:36 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.