Hello,
Last week, I checked out XWiki-platform trunk and tried to compile it with maven-2.1-SNAPSHOT and all the needed memory.
If I remove xwiki-core/../plugin/lucene, it works but with it, it fails.
Before going deeper, I would like to know if anyone has already seen such issues?
I get the following logs (lucene2.3 is in my MVN repository):
.......
[INFO] [aspectj:compile]
[INFO] [remote-resources:process]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 5 source files to workspace/xwiki-platform-core/xwiki-core/target/classes
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] XWiki Platform - Core - Parent POM .................... SUCCESS [1.239s]
[INFO] XWiki Platform - Core - Component ..................... SUCCESS [0.842s]
[INFO] XWiki Platform - Core - Observation ................... SUCCESS [0.315s]
[INFO] XWiki Platform - Core - Core .......................... FAILED [8.168s]
[INFO] XWiki Platform - Core - URL ........................... NOT BUILT
[INFO] XWiki Platform - Core - Containers - Parent POM ....... NOT BUILT
[INFO] XWiki Platform - Core - Containers - API .............. NOT BUILT
[INFO] XWiki Platform - Core - Containers - Servlet .......... NOT BUILT
[INFO] XWiki Platform - Core - Actions ....................... NOT BUILT
[INFO] XWiki Platform - Core - Plexus ........................ NOT BUILT
[INFO] XWiki Platform - Core - Velocity ...................... NOT BUILT
[INFO] ------------------------------------------------------------------------
[ERROR]

Mojo:

    org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile

FAILED for project:

    com.xpn.xwiki.platform:xwiki-core:jar:1.4-SNAPSHOT

Reason:

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[100,61] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[100,78] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[100,12] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[101,83] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[102,17] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[101,22] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[105,64] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[105,81] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[105,16] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[109,21] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[109,38] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[108,26] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[113,54] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[113,71] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[112,26] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[117,50] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[117,67] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[116,26] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[122,84] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[123,21] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[122,26] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[125,78] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[126,17] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[125,22] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[127,76] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[128,17] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[127,22] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[131,68] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[132,25] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[131,16] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[136,21] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[136,38] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[135,26] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[146,65] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[146,81] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexData.java:[146,24] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[169,64] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[169,81] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[169,30] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[188,60] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[188,77] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[188,20] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[192,63] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[192,80] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[192,20] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[194,81] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[195,29] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[194,34] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[199,63] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[199,80] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/ObjectData.java:[199,26] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[302,49] cannot find symbol
symbol  : variable Occur
location: class org.apache.lucene.search.BooleanClause

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[307,25] cannot find symbol
symbol  : class Occur
location: class org.apache.lucene.search.BooleanClause

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[307,59] cannot find symbol
symbol  : class Occur
location: class org.apache.lucene.search.BooleanClause

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[309,40] cannot find symbol
symbol  : variable Occur
location: class org.apache.lucene.search.BooleanClause

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[312,49] cannot find symbol
symbol  : variable Occur
location: class org.apache.lucene.search.BooleanClause

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[316,49] cannot find symbol
symbol  : variable Occur
location: class org.apache.lucene.search.BooleanClause

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[321,29] cannot find symbol
symbol  : variable Occur
location: class org.apache.lucene.search.BooleanClause

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[325,29] cannot find symbol
symbol  : variable Occur
location: class org.apache.lucene.search.BooleanClause

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[343,33] cannot find symbol
symbol  : variable Occur
location: class org.apache.lucene.search.BooleanClause

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[209,26] cannot find symbol
symbol  : method flush()
location: class org.apache.lucene.index.IndexWriter

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[275,16] cannot find symbol
symbol  : method deleteDocument(int)
location: class org.apache.lucene.index.IndexReader

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[311,39] cannot find symbol
symbol  : method getDirectory(java.lang.String)
location: class org.apache.lucene.store.FSDirectory

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[362,36] getFields(java.lang.String) in org.apache.lucene.document.Document cannot be applied to ()

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/AttachmentData.java:[86,21] cannot find symbol
symbol  : variable Store
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/AttachmentData.java:[87,21] cannot find symbol
symbol  : variable Index
location: class org.apache.lucene.document.Field

workspace/xwiki-platform-core/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/AttachmentData.java:[84,26] internal error; cannot instantiate org.apache.lucene.document.Field.<init> at org.apache.lucene.document.Field to ()






[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Mon Mar 10 16:02:58 CET 2008
[INFO] Final Memory: 5M/23M
[INFO] ------------------------------------------------------------------------