On Mar 26, 2008, at 9:53 AM, Pascal Voitot wrote:
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...
Fixed thanks.
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
This is not normal since it's available at http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/tools/xwiki-xar-hand... I suspect you might be using a buggy maven version.
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
Just tried it here and it builds fine.
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)
Builds fine here too. Are you sure you've done a svn up? See also http://continuum.xwiki.org/continuum/projectGroupSummary.action?projectGroup... This lists all the projects that build fine and the ones that have problems. If the module you have problems with is shown as good there then it usually means you have a problem local to your machine. Make sure you use the maven version that we provide in the Building page on dev.xwiki.org Thanks -Vincent
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