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

Build packaging of complex contrib packages just plain does not work

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0
    • Build
    • None

    Description

      The build system packages Lucene libraries in the Solr war, but they do not pack libraries required by the Lucene libraries. The UIMA and analysis-extras contrib packages have factories for the Lucene libraries.

      The net effect is that when solrconfig.xml include <lib> directives for dist/xxx-contribX-xxx.jar and solr/contrib/contribX/lib, this fails because the lucene analyzer file inside the solr war cannot find the library files in solr/contrib/contribX/lib because the classloader for the war does not find the libraries from the <lib> directives.

      Two alternative fixes are presented below.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lancenorskog Lance Norskog
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: