This message was deleted.
# general
s
This message was deleted.
j
I've gotten this a few times:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.271 s
[INFO] Finished at: 2023-04-07T115837-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal pl.project13.mavengit commit id plugin4.9.10:revision (default) on project druid: Could not complete Mojo execution...: pl.project13.core.NativeGitProvider$NativeCommandException: Git command exited with invalid status [1]: directory:
/Users/johnkowtko/BuildDruid/druid
, command:
git symbolic-ref --short HEAD
, stdout: ``, stderr:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
-> [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
I basically just started over with the clean and build process. here is my instruction set that Iwrote down during a working session with a colleague ... I'm not a Java developer or Maven user (my colleague is) so not sure how much overlap there is here ... but it ended up working for me.
Copy code
mvn clean
mvn compile -DskipTests
mvn package -DskipTests  
mvn install -DskipTests  
cd distribution
mvn install -DskipTests -Pdist
r
thanks @John Kowtko!