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

git executable not part of image anymore? #75

Closed
GitMarco opened this Issue Mar 30, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@GitMarco

GitMarco commented Mar 30, 2018

Since 29 march 2018 a new version of maven:3-jdk-8 was released, I'm getting this error when running mvn clean install within that image:

[ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (useLastCommittedRevision) on project abc: Cannot get the revision information from the scm repository :
[ERROR] Exception while executing SCM command.: Error while executing command. Error while executing process. Cannot run program "git" (in directory "/builds/xyz"): error=2, No such file or directory

So during the maven buildnumber plugin.

The mvn command and plugin works fine again after installing git again via: apt-get install git

But then the build failed with:

[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?

To fix that I also had to upgrade the surefire and failsafe plugins to 2.21.0.

Am I missing something that has changed related to git not being present anymore in the image?

@carlossg

This comment has been minimized.

Owner

carlossg commented Mar 30, 2018

see #74

@carlossg carlossg closed this Mar 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment