Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-1541

Build failures or error messages when source tree is not managed in git

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2-incubating
    • Fix Version/s: 1.2-incubating
    • Component/s: sql-general
    • Labels:
    • Environment:
      Building from a downloaded source tree, without git installed

      Description

      When we recently added the Koraktor Maven plugin to generate jar file manifests, we introduced a dependency on git. When building a source tree that is not managed by git, we get the following error:

      [INFO] Building trafodion-sql 1.2.0 ##(SQL)
      [ERROR] Failed to execute goal com.github.koraktor:mavanagaiata:0.7.2:commit (git-commit) on project trafodion-sql: Unable to initialize Git repository: The GIT_DIR /home/centos/apache-trafodion-1.2.0-incubating/core/sqf/../../.git does not exist -> [Help 1] ##(SQL)

      Other Maven projects are affected as well.

      We should either handle the absence of git in the plugin, or remove the plugin.

      While we work on this, we could also fix the error in the build-scripts/build.branch where we get an error when svn is not installed. That one does not cause the build to fail, so it is less of an issue.

        Attachments

          Activity

            People

            • Assignee:
              ovis_poly liu ming
              Reporter:
              hzeller Hans Zeller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: