system scope libthrift dependency breaks transitive dependencies
----------------------------------------------------------------

                 Key: ACCUMULO-191
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-191
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.3.5
            Reporter: Adam Fuchs
            Assignee: Adam Fuchs
             Fix For: 1.3.6


libthrift-0.3.jar is not available in any public maven repository, so we 
included it in the contrib directory and referred to it as a system scope 
dependency. However, building client that includes accumulo-core as a 
dependency results in:
[WARNING] The POM for 
org.apache.accumulo:accumulo-core:jar:1.3.5-incubating-SNAPSHOT is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details

The system scope dependency in the current pom.xml refers to a path that is not 
an absolute path when the pom.xml is referenced by external projects.

One solution would be to host libthrift-0.3 in a semi-private repository (e.g. 
incubator.apache.org/accumulo/mvn_repo), and change the pom to include that 
repository with libthrift version 0.3 with a compile scope.

This is only a 1.3 branch problem, since 1.4 and later use a thrift version 
that is in the apache maven repository.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to