You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Hans Zeller (JIRA)" <ji...@apache.org> on 2015/10/19 18:13:05 UTC

[jira] [Created] (TRAFODION-1541) Build failures or error messages when source tree is not managed in git

Hans Zeller created TRAFODION-1541:
--------------------------------------

             Summary: Build failures or error messages when source tree is not managed in git
                 Key: TRAFODION-1541
                 URL: https://issues.apache.org/jira/browse/TRAFODION-1541
             Project: Apache Trafodion
          Issue Type: Bug
          Components: sql-general
    Affects Versions: 1.2-incubating
         Environment: Building from a downloaded source tree, without git installed
            Reporter: Hans Zeller
             Fix For: 1.2-incubating


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)