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

Jörg Hohwiller commented on LUCENE-622:
---------------------------------------

If you apply this patch to svn 
(http://svn.apache.org/repos/asf/lucene/java/trunk), you can easily use maven 
for building and deploying artifacts for the maven repository.
I did NOT modify your structure in any way because it seems the majority of the 
lucene community is not interested in maven and wants to keep going with ant. 
So all the patch does is adding some pom.xml files. Further I only added POMs 
for toplevel, core, demo and highlighter.
>From the highlighter POM you can easily create the POMs for the other contribs 
>via cut&past and add them to the toplevel pom (contrib/pom.xml).
If you need further assistance do NOT hesitate to ask me.

Somehow the tests do NOT work, when I build with maven. Maybe they are 
currently broken. If you want to build (package), install or deploy anyways 
call maven (mvn) with the option "-Dmaven.test.skip=true". E.g.:
mvn install -Dmaven.test.skip=true

I did not spent the time to dig into the problem with the tests. If you are 
loading resources from the classpath please consider this:
http://jira.codehaus.org/browse/SUREFIRE-106

> Provide More of Lucene For Maven
> --------------------------------
>
>                 Key: LUCENE-622
>                 URL: https://issues.apache.org/jira/browse/LUCENE-622
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 2.0.0
>            Reporter: Stephen Duncan Jr
>         Attachments: lucene-core.pom, lucene-highlighter-2.0.0.pom, 
> lucene-maven.patch
>
>
> Please provide javadoc & source jars for lucene-core.  Also, please provide 
> the rest of lucene (the jars inside of "contrib" in the download bundle) if 
> possible.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to