You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:33:17 UTC

[jira] [Commented] (LUCENE-4430) Lucene Demo module should not ship with servlet-api.jar file

    [ https://issues.apache.org/jira/browse/LUCENE-4430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610746#comment-13610746 ] 

Commit Tag Bot commented on LUCENE-4430:
----------------------------------------

[branch_4x commit] Michael McCandless
http://svn.apache.org/viewvc?view=revision&revision=1390535

LUCENE-4430: check for/warn about javax.* and java.* class in any Lucene/Solr, or dependency JARs

                
> Lucene Demo module should not ship with servlet-api.jar file
> ------------------------------------------------------------
>
>                 Key: LUCENE-4430
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4430
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/other
>    Affects Versions: 4.0-BETA
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 4.0, 4.1, 5.0
>
>         Attachments: LUCENE-4430.patch, LUCENE-4430.patch
>
>
> As noted in SOLR-3879, Mike's new check in the smoketester found out that Lucene's binary release ships with a servlet-api.jar file in the Lucene demo module. This file is an interface-only file and is provided by the servlet container where you would run the webapp.
> This file should be removed from the binary release (the License is also questionable, because the "original" Sun License of servlet-api.jar was CDDL, although thats unimportant because it is an API definition file and not a implementation with actual program code. Shipping any binary code with servlet-api.jar is as wrong as shipping a Java project with JDK's rt.jar bundled).
> In general we should (in another issue) restructure our lib folders and differentiate (using IVY configs) between compile-time dependencies and run-time dependencies. Servlet-api.jar is a typical example for a pure-compile-time dep.

--
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