[ 
https://issues.apache.org/jira/browse/LUCENE-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steven Rowe updated LUCENE-2657:
--------------------------------

    Attachment: LUCENE-2657.patch

Both of the failing tests were caused by missing dependencies: jetty jsp-2.1 
(scope=provided) was missing from {{solr/src/pom.xml}}, and icu4j was missing 
from {{solr/contrib/extraction/pom.xml}}.

With this version of the patch, all tests now pass.

IntelliJ IDEA project import from the Maven configuration mostly works, with 
the exception that because the Solr core and Solrj modules each include two 
source directories, and IntelliJ doesn't grok this fact from the POMs 
(specified via {{build-helper-maven-plugin}} configuration), builds including 
these two modules fail, since they aren't seeing all of their source code. 

http://youtrack.jetbrains.net/issue/IDEA-27176 has a work-around for this 
issue: click on "update folders for all projects" button in the maven projects 
pane - this works for Solr core ({{webapp/src/}} is added a source root), but 
not for Solrj, likely because the second source root {{solr/src/common/}} is a 
sibling of the module root {{solr/src/solrj/}}, rather than a child.

> Replace Maven POM templates with full POMs, and change documentation 
> accordingly
> --------------------------------------------------------------------------------
>
>                 Key: LUCENE-2657
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2657
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.1, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2657.patch, LUCENE-2657.patch, LUCENE-2657.patch
>
>
> The current Maven POM templates only contain dependency information, the bare 
> bones necessary for uploading artifacts to the Maven repository.
> Full Maven POMs will include the information necessary to run a multi-module 
> Maven build, in addition to serving the same purpose as the current POM 
> templates.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to