Flavio Junqueira created KAFKA-2797:
---------------------------------------

             Summary: Release artifact expects a git repository for the release 
audit tool (RAT)
                 Key: KAFKA-2797
                 URL: https://issues.apache.org/jira/browse/KAFKA-2797
             Project: Kafka
          Issue Type: Bug
          Components: build
    Affects Versions: 0.9.0.0
            Reporter: Flavio Junqueira
            Priority: Blocker
             Fix For: 0.9.0.0


When running gradle on the RC0 for 0.9, we get an error because the build 
expects to find a git repo here:

{noformat}
        line 68 of build.gradle: def repo = Grgit.open(project.file('.'))
{noformat}

and we get this error message:

{noformat}
        FAILURE: Build failed with an exception.

        * Where:
        Build file 'kafka-0.9.0.0-src/build.gradle' line: 68

        * What went wrong:
        A problem occurred evaluating root project 'kafka-0.9.0.0-src'.
        > repository not found: kafka-0.9.0.0-src

{noformat}

The definitions for rat make sense when working on a git branch, but not for 
the release artifact. One way around this is to disable rat by commenting out 
the corresponding lines, but that isn't what the README file says.



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

Reply via email to