Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6006

Separate test and compile scope dependencies in the Solrj and Solr contrib ivy.xml files, so that the derived Maven dependencies get filled out properly in the corresponding POMs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.7.2
    • Fix Version/s: 4.9, 6.0
    • Component/s: Build
    • Labels:
      None

      Description

      I'm not sure what version this first appeared in, as we just bumped from 4.5 to 4.7, but log4j is specified as a dependency in the solr-solrj pom.xml, and without the optional flag. I checked out the source to verify that there isn't actually a dependency on log4j (doesn't seem to be), but I wasn't able to decipher the ant build (looks like there's a pom.xml.template that generates the pom with dependencies coming from Ivy?)

      Anyway, this is an issue since now we have to manually <exclude> log4j from every project that depends on SolrJ.

        Attachments

        1. SOLR-6006.patch
          9 kB
          Steve Rowe
        2. SOLR-6006-contribs.patch
          49 kB
          Steve Rowe

          Activity

            People

            • Assignee:
              steve_rowe Steve Rowe
              Reporter:
              codingismy11to7 Steven Scott
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: