Yes, the same project works successfully on Unix and Linux systems, and
also one other Windows system.
The project was used in Maven 1.1, with the success, using th same kinds
of directory names:

C:\Documents And Settings\...
D:\Maven 1.1\...

Also, if we run "mvn install -Dmaven.test.skip="true", then the project
builds successfully.
I would think that if it were a path issue with spaces, that the
compilation would also fail,
unless it is specific to the surefire plugin, which was not in Maven 1.1

Stephen 

-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 22, 2006 3:34 PM
To: Maven Users List
Subject: Re: FW: Problem with M2 on Windows Servers - running tests


Have you tried building these same exact projects etc on another system
ie Linux, Unix, or Mac OS X? If not, can you please try this, to ensure
that your problems are limited to Win32?

I would generally expect that your problems are related to the spaces in
folder names...

C:\Documents And Settings\...
D:\Maven 202\...

Wayne


On 3/22/06, Gest, Stephen B <[EMAIL PROTECTED]> wrote:
>
> -----Original Message-----
> From: Gest, Stephen B
> Sent: Wednesday, March 22, 2006 2:29 PM
> To: '[email protected]'
> Subject: Problem with M2 on Windows Servers - running tests
>
>
> Hello,
>
> Here is additional information regarding the error:
>
> Executing "mvn -X install" gives the following:
>
> + Error stacktraces are turned on.
> [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents 
> and Settings\stgest\.m2\plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from: 'D:\Maven 
> 2.0.2\conf\plugin-registry.xml' [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Web Service Framework for CME
> [INFO]   WSF Common
> [INFO]   WSF Provider Interface
> [INFO]   WSF Hibernate Provider
> [INFO]   WSF Model
> [INFO]   WSF Object Server Provider
> [INFO]   WSF Object Server Plugin
> [INFO]   WSF Axis Demo Library
> [INFO]   WSF Service Common
> [INFO]   Axis integration
> [INFO]   WSF Hibernate Demo Web-Application
> [INFO]   WSF Object Server Demo Web-Application
> [INFO]   WSF System Tests Common
> [INFO]   WSF System Tests Hibernate
> [INFO]   WSF System Tests Obs
> [INFO]   WSF System Tests
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] Building Web Service Framework for CME
> [INFO]    task-segment: [install]
> [INFO]
>
------------------------------------------------------------------------
> ----
> [DEBUG] maven-site-plugin: resolved to version 2.0-beta-4 from
> repository central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-site-plugin:maven-plugin:2.0-beta-4
> [INFO] Skipping missing optional mojo:
> org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [DEBUG] maven-install-plugin: resolved to version 2.0 from repository
> central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-install-plugin:maven-plugin:2.0
> [DEBUG] maven-compiler-plugin: resolved to version 2.0 from repository
> central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-compiler-plugin:maven-plugin:2.0
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-surefire-plugin:maven-plugin:2.1.2
> [DEBUG] maven-source-plugin: resolved to version 2.0 from repository
> central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-source-plugin:maven-plugin:2.0
> [DEBUG] org.apache.maven.plugins:maven-source-plugin:maven-plugin:2.0
> (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-project:jar:2.0
> [DEBUG]   org.apache.maven:maven-project:jar:2.0 (selected for
runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
> runtime)
> [DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2 (selected for
> runtime)
> [DEBUG]       junit:junit:jar:3.8.1 (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven:maven-artifact:jar:2.0
> [DEBUG]     org.apache.maven:maven-artifact:jar:2.0 (selected for
> runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven:maven-model:jar:2.0
> [DEBUG]     org.apache.maven:maven-model:jar:2.0 (selected for
runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven:maven-artifact-manager:jar:2.0
> [DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0 (selected
> for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven:maven-repository-metadata:jar:2.0
> [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0
> (selected for runtime)
> [DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
> (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-profile:jar:2.0
> [DEBUG]     org.apache.maven:maven-profile:jar:2.0 (selected for
> runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven:maven-plugin-api:jar:2.0
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for
> runtime)
> [DEBUG]   org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-3
(selected
> for runtime)
> [DEBUG]     classworlds:classworlds:jar:1.1-alpha-2 (selected for
> runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-source-plugin:2.0:jar' -->
> [DEBUG]   (f) attach = true
> [DEBUG]   (f) compileSourceRoots = [D:\project\wsf\src\main\java]
> [DEBUG]   (f) finalName = obs-wsf-1.0pre6-SNAPSHOT
> [DEBUG]   (f) outputDirectory = D:\project\wsf\target
> [DEBUG]   (f) packaging = pom
> [DEBUG]   (f) project = [EMAIL PROTECTED]
> [DEBUG] -- end configuration --
> [INFO] [source:jar {execution: default}]
> [INFO] NOT adding java-sources to attached artifacts for packaging:
> 'pom'.
> [DEBUG] org.apache.maven.plugins:maven-install-plugin:maven-plugin:2.0
> (selected for runtime)
> [DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0 (selected
for
> runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
> runtime)
> [DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2 (selected for
> runtime)
> [DEBUG]       junit:junit:jar:3.8.1 (selected for runtime)
> [DEBUG]     org.apache.maven:maven-artifact:jar:2.0 (selected for
> runtime)
> [DEBUG]     org.apache.maven:maven-repository-metadata:jar:2.0
(selected
> for runtime)
> [DEBUG]     org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
> (selected for runtime)
> [DEBUG]   org.apache.maven:maven-project:jar:2.0 (selected for
runtime)
> [DEBUG]     org.apache.maven:maven-model:jar:2.0 (selected for
runtime)
> [DEBUG]     org.apache.maven:maven-profile:jar:2.0 (selected for
> runtime)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for
> runtime)
> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0 (selected for
runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-install-plugin:2.0:install' -->
> [DEBUG]   (f) artifact = com.hp.ov.obs:obs-wsf:pom:1.0pre6-SNAPSHOT
> [DEBUG]   (f) attachedArtifacts = []
> [DEBUG]   (f) buildDirectory = D:\project\wsf\target
> [DEBUG]   (f) finalName = obs-wsf-1.0pre6-SNAPSHOT
> [DEBUG]   (f) localRepository = [local] -> file://C:\Documents and
> Settings\stgest\.m2\repository
> [DEBUG]   (f) packaging = pom
> [DEBUG]   (f) pomFile = D:\project\wsf\pom.xml
> [DEBUG] -- end configuration --
> [INFO] [install:install]
> [INFO] Installing D:\project\wsf\pom.xml to C:\Documents and
>
Settings\stgest\.m2\repository\com\hp\ov\obs\obs-wsf\1.0pre6-SNAPSHOT\ob
> s-wsf-1.0pre6-SNAPSHOT.pom
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] Building WSF Common
> [INFO]    task-segment: [install]
> [INFO]
>
------------------------------------------------------------------------
> ----
> [DEBUG] maven-resources-plugin: resolved to version 2.1 from
repository
> central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-resources-plugin:maven-plugin:2.1
> [DEBUG] maven-jar-plugin: resolved to version 2.0 from repository
> central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-jar-plugin:maven-plugin:2.0
> [DEBUG]
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.1
> (selected for runtime)
> [DEBUG]   org.apache.maven:maven-model:jar:2.0 (selected for runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
> runtime)
> [DEBUG]   org.apache.maven:maven-project:jar:2.0 (selected for
runtime)
> [DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2 (selected for
> runtime)
> [DEBUG]       junit:junit:jar:3.8.1 (selected for runtime)
> [DEBUG]     org.apache.maven:maven-artifact:jar:2.0 (selected for
> runtime)
> [DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0 (selected
> for runtime)
> [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0
> (selected for runtime)
> [DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
> (selected for runtime)
> [DEBUG]     org.apache.maven:maven-profile:jar:2.0 (selected for
> runtime)
> [DEBUG]   commons-io:commons-io:jar:1.0 (selected for runtime)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for
> runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-resources-plugin:2.1:resources' -->
> [DEBUG]   (f) filters = []
> [DEBUG]   (f) outputDirectory =
> D:\project\wsf\obs-ws-common\target\classes
> [DEBUG]   (f) project = [EMAIL PROTECTED]
> [DEBUG]   (f) resources = [EMAIL PROTECTED],
> [EMAIL PROTECTED]
> [DEBUG] -- end configuration --
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [DEBUG] com.hp.ov.obs:obs-ws-common:jar:1.0pre6-SNAPSHOT (selected for
> null)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for test)
> [DEBUG]
org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0
> (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-compiler-api:jar:1.5.1 (selected
> for runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
> runtime)
> [DEBUG]     classworlds:classworlds:jar:1.1-alpha-2 (selected for
> runtime)
> [DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
> (selected for runtime)
> [DEBUG]       junit:junit:jar:3.8.1 (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-compiler-manager:jar:1.5.1
> (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-compiler-javac:jar:1.5.1
(selected
> for runtime)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for
> runtime)
> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0 (selected for
runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-compiler-plugin:2.0:compile' -->
> [DEBUG]   (f) basedir = D:\project\wsf\obs-ws-common
> [DEBUG]   (f) buildDirectory = D:\project\wsf\obs-ws-common\target
> [DEBUG]   (f) classpathElements =
> [D:\project\wsf\obs-ws-common\target\classes]
> [DEBUG]   (f) compileSourceRoots =
> [D:\project\wsf\obs-ws-common\src\main\java]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) optimize = false
> [DEBUG]   (f) outputDirectory =
> D:\project\wsf\obs-ws-common\target\classes
> [DEBUG]   (f) outputFileName = obs-ws-common-1.0pre6-SNAPSHOT
> [DEBUG]   (f) projectArtifact =
> com.hp.ov.obs:obs-ws-common:jar:1.0pre6-SNAPSHOT
> [DEBUG]   (f) source = 1.5
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) target = 1.5
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --
> [INFO] [compiler:compile]
> [DEBUG] Using compiler 'javac'.
> [DEBUG] Source directories:
[D:\project\wsf\obs-ws-common\src\main\java]
> [DEBUG] Classpath: [D:\project\wsf\obs-ws-common\target\classes]
> [DEBUG] Output directory: D:\project\wsf\obs-ws-common\target\classes
> [INFO] Nothing to compile - all classes are up to date
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-resources-plugin:2.1:testResources'
-->
> [DEBUG]   (f) filters = []
> [DEBUG]   (f) outputDirectory =
> D:\project\wsf\obs-ws-common\target\test-classes
> [DEBUG]   (f) project = [EMAIL PROTECTED]
> [DEBUG]   (f) resources = [EMAIL PROTECTED]
> [DEBUG] -- end configuration --
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [DEBUG] com.hp.ov.obs:obs-ws-common:jar:1.0pre6-SNAPSHOT (selected for
> null)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for test)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-compiler-plugin:2.0:testCompile' -->
> [DEBUG]   (f) basedir = D:\project\wsf\obs-ws-common
> [DEBUG]   (f) buildDirectory = D:\project\wsf\obs-ws-common\target
> [DEBUG]   (f) classpathElements =
> [D:\project\wsf\obs-ws-common\target\classes,
> D:\project\wsf\obs-ws-common\target\test-classes, C:\Documents and
> Settings\stgest\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar]
> [DEBUG]   (f) compileSourceRoots =
> [D:\project\wsf\obs-ws-common\src\test\java]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) optimize = false
> [DEBUG]   (f) outputDirectory =
> D:\project\wsf\obs-ws-common\target\test-classes
> [DEBUG]   (f) outputFileName = obs-ws-common-1.0pre6-SNAPSHOT
> [DEBUG]   (f) source = 1.5
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) target = 1.5
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --
> [INFO] [compiler:testCompile]
> [DEBUG] Using compiler 'javac'.
> [DEBUG] Source directories:
[D:\project\wsf\obs-ws-common\src\test\java]
> [DEBUG] Classpath: [D:\project\wsf\obs-ws-common\target\classes
>  D:\project\wsf\obs-ws-common\target\test-classes
>  C:\Documents and
> Settings\stgest\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar]
> [DEBUG] Output directory:
> D:\project\wsf\obs-ws-common\target\test-classes
> [INFO] Nothing to compile - all classes are up to date
> [DEBUG] com.hp.ov.obs:obs-ws-common:jar:1.0pre6-SNAPSHOT (selected for
> null)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for test)
> [DEBUG]
> org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.1.2
> (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
> runtime)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:surefire:jar:1.5.2
> [DEBUG]   org.apache.maven.surefire:surefire:jar:1.5.2 (selected for
> runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:plexus-utils:jar:1.0.5
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.5 (removed -
nearer
> found: 1.0.4)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:surefire-booter:jar:1.5.2
> [DEBUG]   org.apache.maven.surefire:surefire-booter:jar:1.5.2
(selected
> for runtime)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for
> runtime)
> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0 (selected for
runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-surefire-plugin:2.1.2:test' -->
> [DEBUG]   (f) argLine = -ea
> [DEBUG]   (f) basedir = D:\project\wsf\obs-ws-common
> [DEBUG]   (f) childDelegation = false
> [DEBUG]   (f) classesDirectory =
> D:\project\wsf\obs-ws-common\target\classes
> [DEBUG]   (f) classpathElements =
> [D:\project\wsf\obs-ws-common\target\classes,
> D:\project\wsf\obs-ws-common\target\test-classes, C:\Documents and
> Settings\stgest\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar]
> [DEBUG]   (f) forkMode = once
> [DEBUG]   (f) includes = [**/*Test.java]
> [DEBUG]   (f) jvm = java
> [DEBUG]   (f) localRepository = [local] -> file://C:\Documents and
> Settings\stgest\.m2\repository
> [DEBUG]   (f) pluginArtifacts = [junit:junit:jar:3.8.1,
> org.apache.maven.surefire:surefire:jar:1.5.2,
> org.apache.maven.surefire:surefire-booter:jar:1.5.2,
> org.codehaus.plexus:plexus-utils:jar:1.0.4,
> org.apache.maven:maven-plugin-api:jar:2.0,
> org.apache.maven:maven-artifact:jar:2.0]
> [DEBUG]   (f) printSummary = true
> [DEBUG]   (f) reportFormat = plain
> [DEBUG]   (f) reportsDirectory =
> D:\project\wsf\obs-ws-common\target/surefire-reports
> [DEBUG]   (f) testClassesDirectory =
> D:\project\wsf\obs-ws-common\target\test-classes
> [DEBUG]   (f) useFile = true
> [DEBUG] -- end configuration --
> [INFO] [surefire:test]
> [INFO] Setting reports dir:
> D:\project\wsf\obs-ws-common\target/surefire-reports
> [DEBUG] Test Classpath :
> [DEBUG] D:\project\wsf\obs-ws-common\target\test-classes
> [DEBUG] D:\project\wsf\obs-ws-common\target\classes
> [DEBUG] D:\project\wsf\obs-ws-common\target\classes
> [DEBUG] D:\project\wsf\obs-ws-common\target\test-classes
> [DEBUG] C:\Documents and
> Settings\stgest\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
> [DEBUG] Adding to surefire test classpath: C:\Documents and
> Settings\stgest\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
> [DEBUG] Adding to surefire test classpath: C:\Documents and
>
Settings\stgest\.m2\repository\org\apache\maven\surefire\surefire\1.5.2\
> surefire-1.5.2.jar
> [DEBUG] Adding to surefire test classpath: C:\Documents and
>
Settings\stgest\.m2\repository\org\apache\maven\surefire\surefire-booter
> \1.5.2\surefire-booter-1.5.2.jar
> [DEBUG] Adding to surefire test classpath: D:\Maven
> 2.0.2\core\plexus-utils-1.1.jar
> java -ea -classpath "C:\Documents and
>
Settings\stgest\.m2\repository\org\apache\maven\surefire\surefire-booter
> \1.5.2\surefire-booter-1.5.2.jar;D:\Maven
> 2.0.2\core\plexus-utils-1.1.jar"
> org.apache.maven.surefire.SurefireBooter D:\project\wsf\obs-ws-common
> [INFO]
>
------------------------------------------------------------------------
> ----
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] There are some test failure.
> [INFO]
>
------------------------------------------------------------------------
> ----
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: There are some
> test failure.
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:556)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:472)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:451)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:303)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:270)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:139)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>  at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:585)
>  at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>  at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: There are
> some test failure.
>  at
> org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:384)
>  at
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:415)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:531)
>  ... 16 more
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Wed Mar 22 15:14:35 MST 2006
> [INFO] Final Memory: 4M/9M
> [INFO]
>
------------------------------------------------------------------------
> ----
>
>
> Executing
>
> "java -ea -classpath "C:\Documents and 
> Settings\stgest\.m2\repository\org\apache\maven\surefire\surefire-boot
> er
> \1.5.2\surefire-booter-1.5.2.jar;D:\Maven
> 2.0.2\core\plexus-utils-1.1.jar"
> org.apache.maven.surefire.SurefireBooter D:\project\wsf\obs-ws-common"
>
> gives the following:
>
> Exception in thread "main" java.lang.NullPointerException
>  at 
> org.apache.maven.surefire.SurefireBooter.createForkingClassLoader(Sure
> fi
> reBooter.java:264)
>  at
> org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:628)
>
>
> Thanks for any and all help,
>
> Stephen
>
> =========== Original Posting ====================
>
> We have a Java-based maven multi-project for which we've been using 
> Maven 1.0 successfully for several months. We've recently upgraded to 
> Maven 2.0.2, and for some of our systems, the upgrade went 
> successfully. However, for two of our Windows systems, when we try and

> build the project using Maven 2, we get the
> following error. We are able to perform an "mvn clean" successfully on
> those machines, and also
> Java compilation succeeds. It's just running the tests that fails.
When
> the tests fail, under the "target"
> directory exists a "classes" and a "test-classes" subdirectory, but no
> "report" directory.
>
> Any help you can give would be much appreciated.
>
> Stephen
>
>
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Web Service Framework for CME
> [INFO]   WSF Common
> [INFO]   WSF Provider Interface
> [INFO]   WSF Hibernate Provider
> [INFO]   WSF Model
> [INFO]   WSF Object Server Provider
> [INFO]   WSF Object Server Plugin
> [INFO]   WSF Axis Demo Library
> [INFO]   WSF Service Common
> [INFO]   Axis integration
> [INFO]   WSF Hibernate Demo Web-Application
> [INFO]   WSF Object Server Demo Web-Application
> [INFO]   WSF System Tests Common
> [INFO]   WSF System Tests Hibernate
> [INFO]   WSF System Tests Obs
> [INFO]   WSF System Tests
> [INFO]
> ----------------------------------------------------------------------
> --
> ----
> [INFO] Building Web Service Framework for CME
> [INFO]    task-segment: [install]
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] Skipping missing optional mojo:
> org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] [source:jar {execution: default}]
> [INFO] NOT adding java-sources to attached artifacts for packaging:
> 'pom'.
> [INFO] [install:install]
> [INFO] Installing D:\project\wsf\pom.xml to C:\Documents and
>
Settings\stgest\.m2\repository\com\hp\ov\obs\obs-wsf\1.0pre6-SNAPSHOT\ob
> s-wsf-1.0pre6-SNAPSHOT.pom
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] Building WSF Common
> [INFO]    task-segment: [install]
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Setting reports dir:
> D:\project\wsf\obs-ws-common\target/surefire-reports
> [INFO]
>
------------------------------------------------------------------------
> ----
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] There are some test failure.
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: There are some
> test failure.
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:556)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:472)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:451)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:303)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:270)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:139)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>  at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:585)
>  at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>  at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: There are
> some test failure.
>  at
> org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:384)
>  at
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:415)
>  at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:531)
>  ... 16 more
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] Total time: 5 seconds
> [INFO] Finished at: Wed Mar 22 14:17:55 MST 2006
> [INFO] Final Memory: 4M/8M
> [INFO]
>
------------------------------------------------------------------------
> ----
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to