Thanks for the info on how to skip tests. it worked like a charm.
as far as the surefire-reports.....i can't find any folder called surefire-reports anywhere... plus all i can find is a EarAssemblerTest.java and a EarAssemblerTest.class Maven version: 2.0.7 Java version: 1.5.0_12 OS name: "windows xp" version: "5.1" arch: "x86" Thanks Elliot! ~Daniel On 7/5/07, Elliot Metsger <[EMAIL PROTECTED]> wrote:
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] > ------------------------------------------------------------------------
