9 249.7 [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (build-identity) on project apk-parent: Cannot get the revision information from the scm repository :
9 249.7 [ERROR] Exception while executing SCM command.: Error while executing command. Error while executing process. Cannot run program "git" (in directory "/nexus-repository-apk"): error=2, No such file or directory
9 249.7 [ERROR] -> [Help 1]
9 249.7 [ERROR]
9 249.7 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
9 249.7 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
9 249.7 [ERROR]
9 249.7 [ERROR] For more information about the errors and possible solutions, please read the following articles:
9 ERROR: process "/bin/sh -c cd /nexus-repository-apk/; mvn clean package -PbuildKar;" did not complete successfully: exit code: 1
[build 3/3] RUN cd /nexus-repository-apk/; mvn clean package -PbuildKar;:
249.7 [INFO] ------------------------------------------------------------------------
249.7 [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (build-identity) on project apk-parent: Cannot get the revision information from the scm repository :
249.7 [ERROR] Exception while executing SCM command.: Error while executing command. Error while executing process. Cannot run program "git" (in directory "/nexus-repository-apk"): error=2, No such file or directory
249.7 [ERROR] -> [Help 1]
249.7 [ERROR]
249.7 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
249.7 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
249.7 [ERROR]
249.7 [ERROR] For more information about the errors and possible solutions, please read the following articles:
249.7 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.
What are you trying to do? docker build --build-arg="NEXUS_VERSION=3.69.0" --progress=plain -t library/nexus-repository-apk:3.69.0 .
What feature or behavior is this required for? docker build
How could we solve this issue? (Not knowing is okay!)
Anything else? ''' bash
9 249.4 Downloaded from central: https://repo.maven.apache.org/maven2/org/tmatesoft/sqljet/sqljet/1.1.10/sqljet-1.1.10.jar (762 kB at 147 kB/s)
9 249.6 [INFO] Executing: /bin/sh -c cd '/nexus-repository-apk' && 'git' 'rev-parse' '--verify' 'HEAD'
9 249.6 [INFO] Working directory: /nexus-repository-apk
9 249.7 [INFO] ------------------------------------------------------------------------
9 249.7 [INFO] Reactor Summary for apk-parent 1.0.0:
9 249.7 [INFO]
9 249.7 [INFO] apk-parent ......................................... FAILURE [01:18 min]
9 249.7 [INFO] nexus-repository-apk ............................... SKIPPED
9 249.7 [INFO] nexus-repository-apk-it ............................ SKIPPED
9 249.7 [INFO] ------------------------------------------------------------------------
9 249.7 [INFO] BUILD FAILURE
9 249.7 [INFO] ------------------------------------------------------------------------
9 249.7 [INFO] Total time: 04:08 min
9 249.7 [INFO] Finished at: 2024-08-09T12:27:43Z
9 249.7 [INFO] ------------------------------------------------------------------------
9 249.7 [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (build-identity) on project apk-parent: Cannot get the revision information from the scm repository :
9 249.7 [ERROR] Exception while executing SCM command.: Error while executing command. Error while executing process. Cannot run program "git" (in directory "/nexus-repository-apk"): error=2, No such file or directory
9 249.7 [ERROR] -> [Help 1]
9 249.7 [ERROR]
9 249.7 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
9 249.7 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
9 249.7 [ERROR]
9 249.7 [ERROR] For more information about the errors and possible solutions, please read the following articles:
9 249.7 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
9 ERROR: process "/bin/sh -c cd /nexus-repository-apk/; mvn clean package -PbuildKar;" did not complete successfully: exit code: 1
cc @DarthHater @bhamail