lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-5173) Test-only HDFS dependencies are included in release artifacts
Date Mon, 19 Aug 2013 13:56:47 GMT
Steve Rowe created SOLR-5173:
--------------------------------

             Summary: Test-only HDFS dependencies are included in release artifacts
                 Key: SOLR-5173
                 URL: https://issues.apache.org/jira/browse/SOLR-5173
             Project: Solr
          Issue Type: Bug
          Components: Build
    Affects Versions: 4.4
            Reporter: Steve Rowe
            Assignee: Steve Rowe
            Priority: Blocker
             Fix For: 4.5


Chris Collins [reported on solr-user|http://markmail.org/message/evhpcougs5ppafjk] that solr-core
4.4 has dependencies on hadoop, and indirectly on jetty 6.

As a workaround for Maven dependencies, the hadoop-hdfs, hadoop-auth, and hadoop-annotations
dependencies can be excluded, which will also exclude the indirect jetty 6 dependency/ies.
 hadoop-common is a compile-time dependency, though, so I'm not sure if it's safe to exclude.

The problems, as far as I can tell, are:

1) The ivy configuration puts three test-only dependencies (hadoop-hdfs, hadoo-auth, and hadoop-annotations)
in solr/core/lib/, rather than where they belong, in solr/core/test-lib/.  (hadoop-common
is required for solr-core compilation to succeed.)

2) The Maven configuration makes the equivalent mistake in marking these test-only hadoop
dependencies as compile-scope rather than test-scope dependencies.

3) The Solr .war, which packages everything under solr/core/lib/, includes these three test-only
hadoop dependencies (though it does not include any jetty 6 jars).

4) The license files for jetty and jetty-util v6.1.26, but not the jar files corresponding
to them, are included in the Solr distribution.

I have working (tests pass) local Ant and Maven configurations that treat the three hadoop
test-only dependencies properly; as result, the .war will no longer contain them - this will
cover problems #1-3 above.

I think we can just remove the jetty and jetty-util 6.1.26 license files from solr/licenses/,
since we don't ship those jars.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message