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

ASF subversion and git services commented on SOLR-16007:
--------------------------------------------------------

Commit 1c1fe2b6329cdbc95996c2003e9a08d310dc8231 in solr's branch 
refs/heads/branch_9x from Kevin Risden
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=1c1fe2b ]

SOLR-16007: javax.servlet-api.jar shoud not be in WEB-INF/lib


> Regression - javax.servlet-api.jar shoud not be in WEB-INF/lib
> --------------------------------------------------------------
>
>                 Key: SOLR-16007
>                 URL: https://issues.apache.org/jira/browse/SOLR-16007
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Build
>            Reporter: Jan Høydahl
>            Assignee: Kevin Risden
>            Priority: Blocker
>             Fix For: 9.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In SOLR-15984, javax.servlet-api dependency was explicitly added to 
> solr-core. This library is already included by Jetty, so has always existed 
> in {{{}server/lib{}}}. Now after SOLR-15984, the servlet jar is also added to 
> {{WEB-INF/lib}} causing smoketester to fail, as javax classes are forbidden 
> in the distribution.
> I have tried to remove this line again: 
> [https://github.com/apache/solr/commit/0ab2705f22553dc764c15fde47f927220e1c1d56#commitcomment-66617212]
>  but then the build complains about {{{}usedUndeclaredArtifacts{}}}. 
> Then I tried to make an exclusion {{{}permitUsedUndeclared 
> 'javax.servlet:javax.servlet-api:3.1.0'{}}}, but that seems to have no effect 
> at all.
> [~krisden] 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to