Ok thanks for the feedback.

But I need the test output in order to trouble shoot this.

If you want just zip up the content of pluto-util/target/surefire-reports/ after you run 'mvn test'. If you don't have anything under pluto-util/target/surefire-reports/ then something is not right... that is where maven puts test results.

In the mean time I'll try to scrounge around and find a windows box to test on but please send the test output.

Thanks,
Elliot

[EMAIL PROTECTED] wrote:
Elliot,

I also had failures on the same test: with Maven 2.0.6 and Java 1.5.0_11 on Windows XP.
/Craig




Elliot Metsger <[EMAIL PROTECTED]> 07/05/2007 11:36 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: Trunk build failing






Daniel,

Please post the content of:
pluto-util/target/surefire-reports/org.apache.pluto.util.assemble.ear.EarAssemblerTest.txt

And the JVM you are using (java -version)

And the version of Maven (mvn -v)

To skip tests: mvn -Dmaven.test.skip=true

Thanks!
Elliot

Daniel Larsen wrote:
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