[ 
https://issues.apache.org/jira/browse/ACCUMULO-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832695#comment-13832695
 ] 

ASF subversion and git services commented on ACCUMULO-1876:
-----------------------------------------------------------

Commit 6446ad5c20fec4b4506a01ac259c26d08974faf4 in branch refs/heads/master 
from [~elserj]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6446ad5 ]

ACCUMULO-1876 Add default values for hadoop.version and httpclient.version to 
make ivy work.

(cherry picked from commit 20cbf248e27069c0c05a595342de73e9ecc43743)

Differs from original by changing Hadoop version to match current pom and 
leaving out dependencies not yet declared in profiles.

Reason: bugfix
Author: Josh Elser <[email protected]>
Ref: ACCUMULO-1792

Signed-off-by: Eric Newton <[email protected]>


> Problem using accumulo artifacts from ivy
> -----------------------------------------
>
>                 Key: ACCUMULO-1876
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1876
>             Project: Accumulo
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 1.5.0
>            Reporter: Michael Wall
>            Assignee: Michael Wall
>            Priority: Minor
>             Fix For: 1.4.5, 1.5.1, 1.6.0
>
>         Attachments: 1876-1.5.1-SNAPSHOT.patch, 1876-1.6.0-SNAPSHOT.patch, 
> 1876.patch, accumulo-slf4j-bug.tar.gz
>
>
> Defining an accumulo dependency in an ivy.xml file for any Accyumulo version 
> greater than 1.4.4 results in the following error 
> {noformat}
> [ivy:resolve]                 ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]                 ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]                 ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]                 :: org.slf4j#slf4j-api;${slf4j.version}: not 
> found
> [ivy:resolve]                 ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] 
> {noformat}
> The issue appears to be that in the parent pom.xml, slf4j.version is only 
> defined in profiles.  Ivy doesn't load profiles when pulling from a maven 
> repo, so the ${slf4j.version} is never set.
> One possible fix is to define a property earlier with the version, and allow 
> the profiles to overwrite.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to