[
https://issues.apache.org/jira/browse/SOLR-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743830#comment-13743830
]
Robert Muir commented on SOLR-5173:
-----------------------------------
{quote}
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.
{quote}
Well as far as source release goes, we dont ship any jars. So do we really not
care about licensing just because something is used by test code versus source
code? Personally I would prefer if we still tracked this and didn't let it
become a free-for-all.
> Test-only Hadoop 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: [email protected]
For additional commands, e-mail: [email protected]