Closed darmac closed 1 year ago
@darmac What was the error message and how is this patch fixing it?
Error log is that:
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.1.13:revision (default) on project presto-common: .git directory could not be found! Please specify a valid [dotGitDirectory] in your pom.xml -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :presto-common
and this patch add a git-commit-id
plugin for presto
Hmm.... do you have any local changes that trigger this error? The project builds in Travis and in my local environment as is.
I'm not sure, I run this at CentOS 7.6
and Maven 3.6.3
and openjdk 11.0
with aarch64
platform.
I didn't change the presto
code and maven
configure.
./mvnw install -DskipTests -B -T C1 -P ci -pl !presto-docs --fail-at-end
The above command works well. Please check this Jenkins job for more details.
https://ci.ahana.dev/job/prestodb/job/presto/job/master/
mvn install -DskipTests
failed on my platform.And I tried fix this error by using this patch
Is that patch can merge to the upstream?