Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1876

Problem using accumulo artifacts from ivy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.4.5, 1.5.1, 1.6.0
    • master
    • None

    Description

      Defining an accumulo dependency in an ivy.xml file for any Accyumulo version greater than 1.4.4 results in the following error

      [ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve] 		::          UNRESOLVED DEPENDENCIES         ::
      [ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve] 		:: org.slf4j#slf4j-api;${slf4j.version}: not found
      [ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve] 
      
      

      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.

      Attachments

        1. accumulo-slf4j-bug.tar.gz
          1 kB
          Michael Wall
        2. 1876-1.6.0-SNAPSHOT.patch
          0.9 kB
          Michael Wall
        3. 1876-1.5.1-SNAPSHOT.patch
          0.9 kB
          Michael Wall
        4. 1876.patch
          0.6 kB
          Michael Wall

        Issue Links

          Activity

            People

              mjwall Michael Wall
              mjwall Michael Wall
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: