Hello,
I checked ou trunks yesterday night with an empty maven repository in
console mode...
Then I launch "mvn install -Pmysql"
1)It then blocks immediately because in trunks/pom.xml, the parent pom is
xwiki-platform-pom/pom.xml with version "14-SNAPSHOT" but current version is
"15-SNAPSHOT". To go quickly, I change xwiki-platform-pom/pom.xml to version
15-SNAPSHOT...
2)I relaunches and it blocks again because it can't download
xwiki-xar-handlers version 1.9-SNAPSHOT (apparently it doesn't try to
compile xwiki-platform-tool before looking elsewhere). So I go in
xwiki-platform-tools/xwiki-xar-handlers and I run "maven install" and I get
my 1.9-SNAPSHOT
3)I relaunches and it goes on until xwiki-platform-plugins/lucene... I get
lots of "unknown symbol"
Maven downloads into repository lucene/lucene/1.4.3 and
org/apache/lucene/lucene-core and lucene-parent version 2.3.1
If I remove lucene/lucene/1.4.3, it resynchronizes it and then it works... I
had this problem last week when I compiled from an empty maven repository
also... Maybe a problem while downloading lucene-1.4.3 first time and this
gives a bad Jar file... Anyway not a real problem
4)I relaunches again and it goes on until xwiki-platform-core/xwiki-velocity
which fails due to TEST errors:
org.codehaus.plexus.component.repository.exception.ComponentLookupException:
Unable to lookup component 'org.xwiki.velocity.VelocityManager', it could
not be started at org.codehaus.plexus.DefaultComponentLookupManager.lookup(
DefaultComponentLookupManager.java:156)
I haven't been looking in the project but I wonder if anyone had the same pb
as me...
5)So as I don't care about tests now, I relaunches with "maven install
-Pmysql -Dmaven.test.skip=true"
and then it runs until "BUILd SUCCESSFUL"
Next step: run it...
Next step: do it from Eclipse (I get lots of Java Heap Space problems with
M2Eclipse 0.0.12)
Pascal