[
https://issues.apache.org/jira/browse/SOLR-7429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508992#comment-14508992
]
Steve Rowe commented on SOLR-7429:
----------------------------------
Maven config for the solr-core module is broken by the servlet-api jar
relocation - from [https://builds.apache.org/job/Lucene-Solr-Maven-5.x/913/]:
{noformat}
[mvn] [INFO]
------------------------------------------------------------------------
[mvn] [INFO] Building Apache Solr Core
[mvn] [INFO] task-segment: [install]
[mvn] [INFO]
------------------------------------------------------------------------
[...]
[mvn] [INFO] -------------------------------------------------------------
[mvn] [INFO] -------------------------------------------------------------
[mvn] [ERROR] COMPILATION ERROR :
[mvn] [INFO] -------------------------------------------------------------
[mvn] [ERROR]
/usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-5.x/solr/core/src/java/org/apache/solr/response/SolrQueryResponse.java:[26,26]
package javax.servlet.http does not exist
[mvn] [ERROR]
/usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-5.x/solr/core/src/java/org/apache/solr/servlet/SolrRequestParsers.java:[20,26]
package javax.servlet.http does not exist
[mvn] [ERROR]
/usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-5.x/solr/core/src/java/org/apache/solr/servlet/SolrRequestParsers.java:[142,41]
cannot find symbol
[mvn] symbol: class HttpServletRequest
[mvn] location: class org.apache.solr.servlet.SolrRequestParsers
[...]
{noformat}
There's a problem with the automatic Ant->Maven dependency conversion process -
I can see in the .properties files produced by the process that servlet-api is
detected as both a test- and a compile-time dependency for solr-core, but is
only being listed as a test dependency in the POM. I'm looking into it.
> Remove Solr server module sync-hack introduced in SOLR-4050.
> ------------------------------------------------------------
>
> Key: SOLR-7429
> URL: https://issues.apache.org/jira/browse/SOLR-7429
> Project: Solr
> Issue Type: Improvement
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: Trunk, 5.2
>
> Attachments: SOLR-7429-fix-servlet-api-deps.patch,
> SOLR-7429.more.servlet.api.jar.fixes.patch, SOLR-7429.patch
>
>
> This is annoying to the beast script I have and for other obvious reasons. We
> would really like to use sync=true here like everywhere. I'll see what I can
> do.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]