Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-31502

Failed to execute goal pl.project13.maven: Could not complete Mojo execution... Error: Could not get HEAD Ref, are you sure you have set the dotGitDirectory property of this plugin to a valid path?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.2
    • Fix Version/s: 12.0
    • Component/s: Config
    • Labels:
    • Environment:
      OS: Linux
      Tomcat: 7.0.68
      MAVEN: 3.2.3
      SAKAI: Master Version
      JAVA_HOME=/opt/java/jdk1.8.0_77
      JRE_HOME=/opt/java/jre1.8.0_77
    • 11 status:
      Please Merge
    • Test Plan:
      Hide

      Download zip of Sakai master (https://github.com/sakaiproject/sakai/archive/master.zip)
      Unpack ZIP into folder.
      Inside the unpacked source code attempt a maven build:
      mvn install
      Check it all builds.

      Show
      Download zip of Sakai master ( https://github.com/sakaiproject/sakai/archive/master.zip ) Unpack ZIP into folder. Inside the unpacked source code attempt a maven build: mvn install Check it all builds.

      Description

      I am getting above mentioned error while running command mvn install in sakai directory. Details are attached below.

      Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.2.1:revision (default) on project configuration-bundles: Could not complete Mojo execution... Error: Could not get HEAD Ref, are you sure you have set the dotGitDirectory property of this plugin to a valid path?

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                • Assignee:
                  buckett Matthew Buckett
                  Reporter:
                  ShahNawaz Shah Nawaz
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Integration