Re: FW: Problem with M2 on Windows Servers - running tests

2006-03-22 Thread Wayne Fay
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: 'users@maven.apache.org'
 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

RE: FW: Problem with M2 on Windows Servers - running tests

2006-03-22 Thread Gest, Stephen B
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: 'users@maven.apache.org'
 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