Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4638F10475 for ; Mon, 11 Nov 2013 01:39:17 +0000 (UTC) Received: (qmail 42095 invoked by uid 500); 11 Nov 2013 01:39:17 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 42021 invoked by uid 500); 11 Nov 2013 01:39:17 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 42011 invoked by uid 99); 11 Nov 2013 01:39:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 01:39:17 +0000 Date: Mon, 11 Nov 2013 01:39:17 +0000 (UTC) From: "Michael Wall (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-1876) Problem using accumulo artifacts from ivy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Wall updated ACCUMULO-1876: ----------------------------------- Attachment: accumulo-slf4j-bug.tar.gz Demo ant/ivy project that demonstrates the problem. This is also an issue with Scala's sbt, as it uses ivy. Not sure if other build tools like gradle or lein will have the same issue. > 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, 1.5.1, 1.6.0, 1.6.1, 1.7.0 > Reporter: Michael Wall > Priority: Minor > Attachments: 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)