Hi Asiri,
This was happening to me also. It should go away if you run:
mvn install -Dmaven.test.skip=true
I think there is something wrong with the surefire test, so you need
to skip it.
On Fri, Mar 21, 2008 at 2:41 AM, Vincent Massol
<vincent(a)massol.net>
wrote:
On Mar 21, 2008, at 10:27 AM, Asiri Rathnayake wrote:
Hi Vincent,
On Fri, Mar 21, 2008 at 2:53 PM, Vincent Massol
<vincent(a)massol.net> wrote:
Hi Asiri,
What exact version of maven are you using?
Are you using the version from
http://dev.xwiki.org/xwiki/bin/view/Community/Building
Yes, I installed this version about 6 months ago when i first built
XWiki from sources. I hope it hasn't changed after that. Following
is the output from 'mvn --version' :
I'd suggest 2 things:
1) Install the latest one (available from the Building page - It has
changed).
2) Make sure you have all the sources checked out (you seemed to
indicate that you didn't in your previous email)
Thanks
-Vincent
<DUMP>
Maven version: 2.1-SNAPSHOT
Java version: 1.5.0_11
OS name: "linux" version: "2.6.20.7.custom-ex" arch:
"i386"
</DUMP>
Thanks.
- Asiri
Thanks
-Vincent
On Mar 21, 2008, at 10:06 AM, Asiri Rathnayake wrote:
Seems like i sources for
xwiki-product-enterprise/web are not
checked out. I did an 'svn up' but no change :(
- Asiri
On Fri, Mar 21, 2008 at 2:30 PM, Asiri Rathnayake <asiri.rathnayake(a)gmail.com
wrote:
Hi Devs,
Just to make myself sure, i double checked against the
instructions on
http://dev.xwiki.org/xwiki/bin/view/Community/Building
I used "MAVEN_OPTS=-Xmx600m" but still i get the following output.
<DUMP>
[asiri@asiri-desktop xwiki-product-enterprise]$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] XWiki Products - Enterprise - Parent POM
[INFO] XWiki Products - Enterprise - Wiki
[INFO] XWiki Products - Enterprise - Database - Parent POM
[INFO] XWiki Products - Enterprise - Database - HSQLDB
[INFO] XWiki Products - Enterprise - Web
[INFO] XWiki Products - Enterprise - Distribution - Parent POM
[INFO] XWiki Products - Enterprise - Distribution - HSQLDB
[INFO]
----------------------------------------------------------------------------
[INFO] Building XWiki Products - Enterprise - Parent POM
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process]
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/asiri/projects/xwiki-dev/trunks/xwiki-
product-enterprise/pom.xml to /home/asiri/.m2/repository/com/xpn/
xwiki/products/xwiki-enterprise-parent/1.4-SNAPSHOT/xwiki-
enterprise-parent-1.4-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building XWiki Products - Enterprise - Wiki
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [remote-resources:process]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [xwiki-xar:xar]
[INFO] Generating package.xml descriptor at [/home/asiri/projects/
xwiki-dev/trunks/xwiki-product-enterprise/wiki/target/classes/
package.xml]
[INFO] Building zip: /home/asiri/projects/xwiki-dev/trunks/xwiki-
product-enterprise/wiki/target/xwiki-enterprise-wiki.xar
[INFO] [install:install]
[INFO] Installing /home/asiri/projects/xwiki-dev/trunks/xwiki-
product-enterprise/wiki/target/xwiki-enterprise-wiki.xar to /home/
asiri/.m2/repository/com/xpn/xwiki/products/xwiki-enterprise-wiki/
1.4-SNAPSHOT/xwiki-enterprise-wiki-1.4-SNAPSHOT.xar
[INFO]
----------------------------------------------------------------------------
[INFO] Building XWiki Products - Enterprise - Database - Parent POM
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [remote-resources:process]
[INFO] [remote-resources:process]
[INFO] [xwiki-xar:unxar]
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/asiri/projects/xwiki-dev/trunks/xwiki-
product-enterprise/database/pom.xml to /home/asiri/.m2/repository/
com/xpn/xwiki/products/xwiki-enterprise-database/1.4-SNAPSHOT/
xwiki-enterprise-database-1.4-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building XWiki Products - Enterprise - Database - HSQLDB
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
Downloading:
http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.…
Downloading:
http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0…
Downloading:
http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.…
Downloading:
http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0…
Downloading:
http://repo1.maven.org/maven2/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0-j…
Downloading:
http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.…
Downloading:
http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0…
Downloading:
http://repo1.maven.org/maven2/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0-j…
[INFO] [remote-resources:process]
[INFO] [remote-resources:process]
[INFO] [xwiki-xar:unxar]
[INFO] [xwiki-packager-plugin:import]
2008-03-21 14:24:48,060 [] [main] WARN
impl.OSCacheService - Could not load cache properties
oscache.properties: null
2008-03-21 14:24:48,063 [] [main] WARN
impl.OSCacheService - Could not load cache properties
oscache-local.properties: null
2008-03-21 14:24:53,212 [] [main] WARN
interwiki.InterWiki - Unable to read conf/intermap.txt
02:24:53.973 WARN - Invalid feed URL:
[INFO] [site:attach-descriptor]
[INFO] [assembly:single]
[INFO] Reading assembly descriptor: /home/asiri/projects/xwiki-dev/
trunks/xwiki-product-enterprise/database/hsqldb/src/assemble/
database.xml
[INFO] Building zip: /home/asiri/projects/xwiki-dev/trunks/xwiki-
product-enterprise/database/hsqldb/target/xwiki-enterprise-
database-hsqldb-1.4-SNAPSHOT.zip
[INFO] [install:install]
[INFO] Installing /home/asiri/projects/xwiki-dev/trunks/xwiki-
product-enterprise/database/hsqldb/pom.xml to /home/asiri/.m2/
repository/com/xpn/xwiki/products/xwiki-enterprise-database-hsqldb/
1.4-SNAPSHOT/xwiki-enterprise-database-hsqldb-1.4-SNAPSHOT.pom
[INFO] Installing /home/asiri/projects/xwiki-dev/trunks/xwiki-
product-enterprise/database/hsqldb/target/xwiki-enterprise-
database-hsqldb-1.4-SNAPSHOT.zip to /home/asiri/.m2/repository/com/
xpn/xwiki/products/xwiki-enterprise-database-hsqldb/1.4-SNAPSHOT/
xwiki-enterprise-database-hsqldb-1.4-SNAPSHOT.zip
[INFO]
----------------------------------------------------------------------------
[INFO] Building XWiki Products - Enterprise - Web
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [remote-resources:process]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [remote-resources:process]
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Fri Mar 21 14:24:56 LKT 2008
[INFO] Final Memory: 36M/65M
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] XWiki Products - Enterprise - Parent POM ..............
SUCCESS [1.743s]
[INFO] XWiki Products - Enterprise - Wiki ....................
SUCCESS [1.557s]
[INFO] XWiki Products - Enterprise - Database - Parent POM ...
SUCCESS [0.428s]
[INFO] XWiki Products - Enterprise - Database - HSQLDB .......
SUCCESS [15.019s]
[INFO] XWiki Products - Enterprise - Web ..................... NOT
BUILT
[INFO] XWiki Products - Enterprise - Distribution - Parent POM
NOT BUILT
[INFO] XWiki Products - Enterprise - Distribution - HSQLDB ... NOT
BUILT
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Fri Mar 21 14:24:56 LKT 2008
[INFO] Final Memory: 36M/65M
[INFO]
------------------------------------------------------------------------
</DUMP>
What i could be doing wrong here ?
Thanks.
- Asiri
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs