Hi Gerwin,

 

The Maven2 build is not working yet. You must use Ant for now and run “ant standalone” for example.

 

Thanks

-Vincent

 

 

From: Gerwin Brunner [mailto:gerwin.brunner@bizzons.com]
Sent: mercredi 20 décembre 2006 10:50
To: xwiki-dev@objectweb.org
Subject: [xwiki-dev] XWiki build from source

 

Hi,

 

I'm trying to get XWiki build from source, but I guess I'm doing something wrong here.

 

I checked out the following dir:

svn://svn.forge.objectweb.org/svnroot/xwiki/trunk

 

 

And tried to do a build via maven (2.0.4), but it fails

mvn compile

 

Compiling 487 source files to /Users/gerwinbrunner/Documents/workspace3.2/xwiki/core/target/classes

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Compilation failure

 

/Users/gerwinbrunner/Documents/workspace3.2/xwiki/core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[32,34] package org.apache.lucene.analysis does not exist

 

/Users/gerwinbrunner/Documents/workspace3.2/xwiki/core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[33,31] package org.apache.lucene.index does not exist

 

/Users/gerwinbrunner/Documents/workspace3.2/xwiki/core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[34,31] package org.apache.lucene.index does not exist

 

/Users/gerwinbrunner/Documents/workspace3.2/xwiki/core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[35,32] package org.apache.lucene.search does not exist

 

/Users/gerwinbrunner/Documents/workspace3.2/xwiki/core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[36,32] package org.apache.lucene.search does not exist

 

/Users/gerwinbrunner/Documents/workspace3.2/xwiki/core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[37,32] package org.apache.lucene.search does not exist

 

/Users/gerwinbrunner/Documents/workspace3.2/xwiki/core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexUpdater.java:[38,31] package org.apache.lucene.store does not exist

 

 

Could someone give me a hint on what else I need to check out.

I think I'm missing some modules?

 

 

MfG

Gerwin Brunner

 

Bizzons eMarketing GmbH

Nikolaiplatz 4

A-8020 Graz

 

Tel: +43-1-890-3408-240

Mobile: +43-650-7720448