Hi,
I am developing Xwiki from source code. I am using
maven-2.1-SNAPSHOTto build xwiki.
Also using Linux,java1.6. While building I have came across
following Exception...
ignu@sixteen:~/xwiki_build/xwiki_src/trunks-users/xwiki-product-enterprise/distribution-test$
mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] XWiki Products - Enterprise - Functional Tests
[INFO] XWiki Products - Enterprise - Functional XMLRPC Tests
[INFO] XWiki Products - Enterprise - Functional Selenium Tests
[INFO]
----------------------------------------------------------------------------
[INFO] Building XWiki Products - Enterprise - Functional Tests
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing
/media/sda6/xwiki_build/xwiki_src/trunks-users/xwiki-product-enterprise/distribution-test/pom.xml
to
/home/ignu/.m2/repository/com/xpn/xwiki/products/xwiki-enterprise-test/1.2-SNAPSHOT/xwiki-
enterprise-test-1.2-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building XWiki Products - Enterprise - Functional XMLRPC Tests
[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://repo1.maven.org/maven2/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0-j…
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [site:attach-descriptor]
[INFO] [dependency:unpack]
[INFO] Configured Artifact:
com.xpn.xwiki.products:xwiki-enterprise:hsqldb:1.2-SNAPSHOT:zip
Downloading:
http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise/1.…
40645K downloaded
[INFO] Expanding:
/home/ignu/.m2/repository/com/xpn/xwiki/products/xwiki-enterprise/1.2-SNAPSHOT/xwiki-
enterprise-1.2-SNAPSHOT-hsqldb.zip into
/media/sda6/xwiki_build/xwiki_src/trunks-users/xwiki-product-enterprise/distribution-test/xmlrpc-tests/target
Downloading:
http://maven.xwiki.org/externals/com/xpn/xwiki/platform/xwiki-core/1.2-SNAP…
Downloading:
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.2-SNAP…
19K downloaded
[INFO] [surefire:test]
[INFO] Surefire report directory:
/media/sda6/xwiki_build/xwiki_src/trunks-users/xwiki-product-enterprise/distribution-test/xmlrpc-tests/target/surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException:
com.xpn.xwiki.it.xmlrpc.AllTests; nested exception is
java.io.FileNotFoundException:
/home/ignu/.m2/repository/com/xpn/xwiki/products/xwiki-enterprise-wiki/1.2-SNAPSHOT/xwiki-
enterprise-wiki-1.2-SNAPSHOT.xar (No such file or directory); nested
exception is org.apache.maven.surefire.testset.TestSetFailedException:
com.xpn.xwiki.it.xmlrpc.AllTests; nested exception is
java.io.FileNotFoundException :
/home/ignu/.m2/repository/com/xpn/xwiki/products/xwiki-enterprise-wiki/1.2-SNAPSHOT/xwiki-
enterprise-wiki-1.2-SNAPSHOT.xar (No such file or directory)
org.apache.maven.surefire.testset.TestSetFailedException:
com.xpn.xwiki.it.xmlrpc.AllTests ; nested exception is
java.io.FileNotFoundException:
/home/ignu/.m2/repository/com/xpn/xwiki/products/xwiki-enterprise-wiki/1.2-SNAPSHOT/xwiki-
enterprise-wiki-1.2-SNAPSHOT.xar (No such file or directory)
java.io.FileNotFoundException :
/home/ignu/.m2/repository/com/xpn/xwiki/products/xwiki-enterprise-wiki/1.2-SNAPSHOT/xwiki-
enterprise-wiki-1.2-SNAPSHOT.xar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at com.xpn.xwiki.it.xmlrpc.XhtmlValidityTest.readXarContents(
XhtmlValidityTest.java :166)
at com.xpn.xwiki.it.xmlrpc.XhtmlValidityTest.suite(
XhtmlValidityTest.java:94)
at com.xpn.xwiki.it.xmlrpc.AllTests.suite(AllTests.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.junit.JUnitTestSet.createInstanceFromSuiteMethod(
JUnitTestSet.java:180)
at org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(
JUnitTestSet.java:140)
at org.apache.maven.surefire.junit.JUnitTestSet.getTestCount(
JUnitTestSet.java:247)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(
AbstractDirectoryTestSuite.java :104)
at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(
Surefire.java:150)
at org.apache.maven.surefire.Surefire.run(Surefire.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main (
SurefireBooter.java:818)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 44 minutes 19 seconds
[INFO] Finished at: Wed Aug 29 14:02:36 IST 2007
[INFO] Final Memory: 10M/17M
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] XWiki Products - Enterprise - Functional Tests ........ SUCCESS [
0.665s]
[INFO] XWiki Products - Enterprise - Functional XMLRPC Tests . FAILED [44:
18.231s]
[INFO] XWiki Products - Enterprise - Functional Selenium Tests NOT BUILT
[INFO]
------------------------------------------------------------------------
[INFO] Error for project: XWiki Products - Enterprise - Functional XMLRPC
Tests (during org.apache.maven.plugins:maven-surefire-plugin:2.3:test)
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] BUILD ERRORS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 44 minutes 19 seconds
[INFO] Finished at: Wed Aug 29 14:02:36 IST 2007
[INFO] Final Memory: 10M/17M
[INFO]
------------------------------------------------------------------------
FATAL ERROR: Unable to configure the Maven application
--
Dinesh P. Chothe
INDICTRANS
Computing in Indian Languages
Mobile : +91 9850076045
Email : chothe.dinesh(a)gmail.com
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs