Hey, I just downloaded trunk and am getting an error when I tried to build.

Any advice on how to fix this?  It passes a bunch of stages first,
then fails on one.  I don't know much about the "EarAssemblerTest".

Also, how does one build and skip the tests?




mvn clean install

.....
.....

[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Assembling webapp pluto-portal in
C:\pluto\pluto-portal\target\pluto-portal
[INFO] Copy webapp webResources to C:\pluto\pluto-portal\target\pluto-portal
[INFO] Copy webapp webResources to C:\pluto\pluto-portal\target\pluto-portal
[INFO] Generating war C:\pluto\pluto-portal\target\pluto-portal.war
[INFO] Building war: C:\pluto\pluto-portal\target\pluto-portal.war
[INFO] [install:install]
[INFO] Installing C:\pluto\pluto-portal\target\pluto-portal.war to
C:\.m2\org\apache\pluto\pluto-portal\1.2.0-SNAPSHOT\pluto-portal-1.2.0-SNAPSHOT.war

[INFO] 
----------------------------------------------------------------------------
[INFO] Building Pluto Utilities
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\pluto\pluto-util\target
[INFO] Deleting directory C:\pluto\pluto-util\target\classes
[INFO] Deleting directory C:\pluto\pluto-util\target\test-classes
[INFO] Deleting directory C:\pluto\pluto-util\target\site
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 24 source files to C:\pluto\pluto-util\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 6 source files to C:\pluto\pluto-util\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\pluto\pluto-util\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.pluto.util.assemble.file.FileAssemblerTest
Jul 5, 2007 11:04:21 AM org.exolab.castor.mapping.Mapping loadMapping
INFO: Loading mapping descriptors from
jar:file:/C:/pluto/pluto-descriptor-impl/target/pluto-descriptor-impl-1.2.0-SNAPSHOT.jar!/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
Jul 5, 2007 11:04:22 AM org.exolab.castor.mapping.Mapping loadMapping
INFO: Loading mapping descriptors from
jar:file:/C:/pluto/pluto-descriptor-impl/target/pluto-descriptor-impl-1.2.0-SNAPSHOT.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
....
....
Jul 5, 2007 11:04:26 AM org.exolab.castor.mapping.Mapping loadMapping
INFO: Loading mapping descriptors from
jar:file:/C:/pluto/pluto-descriptor-impl/target/pluto-descriptor-impl-1.2.0-SNAPSHOT.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
Jul 5, 2007 11:04:26 AM org.exolab.castor.mapping.Mapping loadMapping
INFO: Loading mapping descriptors from
jar:file:/C:/pluto/pluto-descriptor-impl/target/pluto-descriptor-impl-1.2.0-SNAPSHOT.jar!/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.563 sec

Results :

Failed tests:
 testEarAssemblyInPlace(org.apache.pluto.util.assemble.ear.EarAssemblerTest)

Tests run: 21, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33 seconds
[INFO] Finished at: Thu Jul 05 11:04:26 EDT 2007
[INFO] Final Memory: 17M/32M
[INFO] ------------------------------------------------------------------------

Reply via email to