Firstly, no, I have not configured anything in my pom.xml for the
surefire-plugin.

Secondly tried already with the -X, but I couldn't read anything useful out
of it, but I paste some of the output here:
-----------------------------------------------------
...
[DEBUG] Adding managed depedendencies for myproject
[DEBUG]   junit:junit:jar:4.3.1:test
[DEBUG]   net.java.dev.mocquer:mocquer:jar:0.9.3:test
[DEBUG]   log4j:log4j:jar:1.2.13:compile
[DEBUG]   commons-collections:commons-collections:jar:3.2:compile
[DEBUG]   commons-lang:commons-lang:jar:2.2:compile
[DEBUG]   commons-logging:commons-logging:jar:1.1:compile
[DEBUG]   commons-beanutils:commons-beanutils:jar:1.7.0:compile
[DEBUG]   javax.j2ee:j2ee:jar:1.4:provided
[DEBUG]   javax.servlet:servlet-api:jar:2.4:provided
[DEBUG]   javax.servlet:jstl:jar:1.0:provided
[DEBUG]   org.hibernate:hibernate:jar:3.2.4.ga:compile
[DEBUG]   org.hibernate:hibernate-annotations:jar:3.2.1.ga:compile
[DEBUG]   org.springframework:spring:jar:2.0.5:compile
[DEBUG]   org.springframework:spring-mock:jar:2.0.5:test
[DEBUG]   commons-dbcp:commons-dbcp:jar:1.2.1:test
[DEBUG]   dbunit:dbunit:jar:2.1:test
[DEBUG]   hsqldb:hsqldb:jar:1.8.0.7:test
[DEBUG]   oracle:ojdbc14:jar:10.2.0.2:test
[DEBUG]   com.ibm.sibc:sibc.jms:jar:o0647.15:runtime
[DEBUG]   com.ibm.sibc:sibc.jndi:jar:o0647.15:runtime
[DEBUG]   com.ibm.ext:iwsorbutil:jar:6.1:test
[DEBUG]   com.ibm.mq:com.ibm.mq.pcf:jar:6.0:runtime
[DEBUG]   com.ibm.mq:com.ibm.mqjms:jar:6.0:runtime
[DEBUG]   com.ibm.mq:mqcontext:jar:2.2:runtime
[DEBUG]   org.acegisecurity:acegi-security:jar:1.0.3:compile
...
[DEBUG] maven-surefire-plugin: resolved to version 2.2 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for
project: null:maven-surefire-plugin:maven-plugin:2.2 from the repository.
...
[DEBUG]
org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.2:runtime
(selected for runtime)
...

[DEBUG] Retrieving parent-POM: org.apache.maven.surefire:surefire::2.0 for
project: null:surefire-booter:jar:2.0 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project:
org.apache.maven.surefire:surefire:pom:2.0 from the repository.
...
[DEBUG]   (f) pluginArtifactMap =
{org.codehaus.plexus:plexus-utils=org.codehaus.plexus:plexus-utils:jar:1.1:runtime,
org.apache.maven.surefire:surefire-api=org.apache.maven.surefire:surefire-api:jar:2.0:runtime,
org.apache.maven:maven-artifact=org.apache.maven:maven-artifact:jar:2.0:runtime,
org.apache.maven:maven-plugin-api=org.apache.maven:maven-plugin-api:jar:2.0:runtime,
org.apache.maven.surefire:surefire-booter=org.apache.maven.surefire:surefire-booter:jar:2.0:runtime}
...
[INFO] Surefire report directory:
D:\Projects\myproject\util\target\surefire-reports
Forking command line:
C:\Progra~1\IBM\WebSphere\AppServer\java\bin\bin\java.exe -enableassertions
-classpath "C:\Documents and
Settings\voolajuh\.m2\repository\org\apache\maven\surefire\surefire-api\2.0\surefire-api-2.0.jar;C:\Documents
and
Settings\voolajuh\.m2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\Documents
and
Settings\voolajuh\.m2\repository\org\apache\maven\surefire\surefire-booter\2.0\surefire-booter-2.0.jar"
org.apache.maven.surefire.booter.SurefireBooter
C:\DOCUME~1\voolajuh\LOCALS~1\Temp\surefire59668tmp
C:\DOCUME~1\voolajuh\LOCALS~1\Temp\surefire59669tmp
The system cannot find the path specified.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: There are test failures.
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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.MojoFailureException: There are test
failures.
        at
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:403)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Jun 06 09:55:57 EEST 2007
[INFO] Final Memory: 5M/10M
[INFO]
------------------------------------------------------------------------


I also have not told, that for other developers in my team, that error does
not occur.


Juhan.



Maria Odea Ching-2 wrote:
> 
> Could you try building your project with -X?
> And do you have any configuration set in you pom for the surefire-plugin?
> 
> -Deng
> 

-- 
View this message in context: 
http://www.nabble.com/M2%3A-Surfire-report-directory-tf3872167s177.html#a10983601
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to