You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Vincent Massol (JIRA)" <ji...@codehaus.org> on 2006/01/02 09:27:13 UTC

[jira] Created: (MSUREFIRE-38) Surefire plugin is failing

Surefire plugin is failing
--------------------------

         Key: MSUREFIRE-38
         URL: http://jira.codehaus.org/browse/MSUREFIRE-38
     Project: Maven 2.x Surefire Plugin
        Type: Bug

 Environment: maven-surefire-plugin-2.1.2-20060102.001705-3
    Reporter: Vincent Massol



C:\dev\maven\trunks\plugins\maven-clover-plugin>mvn clean install
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Clover Plugin
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] snapshot org.apache.maven.plugins:maven-clean-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
[INFO] [clean:clean]
[INFO] Deleting directory C:\dev\maven\trunks\plugins\maven-clover-plugin\target
[INFO] snapshot org.apache.maven.plugins:maven-plugin-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
[INFO] snapshot org.apache.maven.plugins:maven-resources-plugin:2.2-SNAPSHOT: checking for updates from snapshots
[INFO] snapshot org.apache.maven.plugins:maven-compiler-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
[INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.1.2-SNAPSHOT: checking for updates from snapshots
Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2-SNAPSHOT/maven-surefi
re-plugin-2.1.2-20060102.001705-3.pom
2K downloaded
Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2-SNAPSHOT/maven-surefi
re-plugin-2.1.2-20060102.001705-3.jar
8K downloaded
[INFO] snapshot org.apache.maven.plugins:maven-jar-plugin:2.1-SNAPSHOT: checking for updates from snapshots
[INFO] snapshot org.apache.maven.plugins:maven-install-plugin:2.1-SNAPSHOT: checking for updates from snapshots
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 4 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
        Artifact junit:junit:jar:3.8.1 retains local scope 'test' overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove the local scope.

[INFO] snapshot org.codehaus.plexus:plexus-compiler-javac:1.6-SNAPSHOT: checking for updates from snapshots
[INFO] snapshot org.codehaus.plexus:plexus-compilers:1.6-SNAPSHOT: checking for updates from snapshots
[INFO] snapshot org.codehaus.plexus:plexus-compiler:1.6-SNAPSHOT: checking for updates from snapshots
[INFO] snapshot org.codehaus.plexus:plexus-compiler-api:1.6-SNAPSHOT: checking for updates from snapshots
[INFO] snapshot org.codehaus.plexus:plexus-compiler-manager:1.6-SNAPSHOT: checking for updates from snapshots
[INFO] [compiler:compile]
Compiling 5 source files to C:\dev\maven\trunks\plugins\maven-clover-plugin\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 1 source file to C:\dev\maven\trunks\plugins\maven-clover-plugin\target\test-classes
[INFO] snapshot org.apache.maven.surefire:surefire:1.5.2-SNAPSHOT: checking for updates from snapshots
Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire/1.5.2-SNAPSHOT/surefire-1.5.2-20060101.
232902-4.pom
751b downloaded
[INFO] snapshot org.apache.maven.surefire:surefire-booter:1.5.2-SNAPSHOT: checking for updates from snapshots
Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire-booter/1.5.2-SNAPSHOT/surefire-booter-1
.5.2-20060102.001256-4.pom
805b downloaded
Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire/1.5.2-SNAPSHOT/surefire-1.5.2-20060101.
232902-4.jar
60K downloaded
Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire-booter/1.5.2-SNAPSHOT/surefire-booter-1
.5.2-20060102.001256-4.jar
10K downloaded
[INFO] [surefire:test]
[INFO] Setting reports dir: C:\dev\maven\trunks\plugins\maven-clover-plugin\target/surefire-reports
battery = null(org.apache.maven.surefire.battery.DirectoryBattery)

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
battery = null(org.apache.maven.surefire.battery.JUnitBattery)
[surefire] Running org.apache.maven.plugin.clover.CloverMojoTest
RUN ABORTED
java.lang.NoSuchMethodError
org.apache.maven.surefire.Runner
An exception or error caused a run to abort.
java.io.PrintWriter.<init>(Ljava/io/File;Ljava/lang/String;)V

Results :
[surefire] Tests run: 0, Failures: 0, Errors: 1

[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] There are some test failure.
[INFO] ----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 31 seconds
[INFO] Finished at: Mon Jan 02 09:23:09 CET 2006
[INFO] Final Memory: 6M/15M
[INFO] ----------------------------------------------------------------------------

C:\dev\maven\trunks\plugins\maven-clover-plugin>
C:\dev\maven\trunks\plugins\maven-clover-plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MSUREFIRE-38) Surefire plugin is failing

Posted by "Marcel Schutte (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-38?page=comments#action_54676 ] 

Marcel Schutte commented on MSUREFIRE-38:
-----------------------------------------

The constructor PrintWriter(File, String) is only available since jdk 1.5, I think that might be the problem.

> Surefire plugin is failing
> --------------------------
>
>          Key: MSUREFIRE-38
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-38
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>  Environment: maven-surefire-plugin-2.1.2-20060102.001705-3
>     Reporter: Vincent Massol

>
>
> C:\dev\maven\trunks\plugins\maven-clover-plugin>mvn clean install
> [INFO] Scanning for projects...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Clover Plugin
> [INFO]    task-segment: [clean, install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot org.apache.maven.plugins:maven-clean-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\dev\maven\trunks\plugins\maven-clover-plugin\target
> [INFO] snapshot org.apache.maven.plugins:maven-plugin-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-resources-plugin:2.2-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-compiler-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.1.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2-SNAPSHOT/maven-surefi
> re-plugin-2.1.2-20060102.001705-3.pom
> 2K downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2-SNAPSHOT/maven-surefi
> re-plugin-2.1.2-20060102.001705-3.jar
> 8K downloaded
> [INFO] snapshot org.apache.maven.plugins:maven-jar-plugin:2.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-install-plugin:2.1-SNAPSHOT: checking for updates from snapshots
> [INFO] [plugin:descriptor]
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 4 mojo descriptors.
> [INFO] Applying extractor for language: bsh
> [INFO] Extractor for language: bsh found 0 mojo descriptors.
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [WARNING]
>         Artifact junit:junit:jar:3.8.1 retains local scope 'test' overriding broader scope 'compile'
>         given by a dependency. If this is not intended, modify or remove the local scope.
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-javac:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compilers:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-api:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-manager:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] [compiler:compile]
> Compiling 5 source files to C:\dev\maven\trunks\plugins\maven-clover-plugin\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> Compiling 1 source file to C:\dev\maven\trunks\plugins\maven-clover-plugin\target\test-classes
> [INFO] snapshot org.apache.maven.surefire:surefire:1.5.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire/1.5.2-SNAPSHOT/surefire-1.5.2-20060101.
> 232902-4.pom
> 751b downloaded
> [INFO] snapshot org.apache.maven.surefire:surefire-booter:1.5.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire-booter/1.5.2-SNAPSHOT/surefire-booter-1
> .5.2-20060102.001256-4.pom
> 805b downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire/1.5.2-SNAPSHOT/surefire-1.5.2-20060101.
> 232902-4.jar
> 60K downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire-booter/1.5.2-SNAPSHOT/surefire-booter-1
> .5.2-20060102.001256-4.jar
> 10K downloaded
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\dev\maven\trunks\plugins\maven-clover-plugin\target/surefire-reports
> battery = null(org.apache.maven.surefire.battery.DirectoryBattery)
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> battery = null(org.apache.maven.surefire.battery.JUnitBattery)
> [surefire] Running org.apache.maven.plugin.clover.CloverMojoTest
> RUN ABORTED
> java.lang.NoSuchMethodError
> org.apache.maven.surefire.Runner
> An exception or error caused a run to abort.
> java.io.PrintWriter.<init>(Ljava/io/File;Ljava/lang/String;)V
> Results :
> [surefire] Tests run: 0, Failures: 0, Errors: 1
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] There are some test failure.
> [INFO] ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 31 seconds
> [INFO] Finished at: Mon Jan 02 09:23:09 CET 2006
> [INFO] Final Memory: 6M/15M
> [INFO] ----------------------------------------------------------------------------
> C:\dev\maven\trunks\plugins\maven-clover-plugin>
> C:\dev\maven\trunks\plugins\maven-clover-plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MSUREFIRE-38) Surefire plugin is failing

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-38?page=comments#action_54669 ] 

Emmanuel Venisse commented on MSUREFIRE-38:
-------------------------------------------

works fine for me. Do you have latest snapshot surefire plugin?

> Surefire plugin is failing
> --------------------------
>
>          Key: MSUREFIRE-38
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-38
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>  Environment: maven-surefire-plugin-2.1.2-20060102.001705-3
>     Reporter: Vincent Massol

>
>
> C:\dev\maven\trunks\plugins\maven-clover-plugin>mvn clean install
> [INFO] Scanning for projects...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Clover Plugin
> [INFO]    task-segment: [clean, install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot org.apache.maven.plugins:maven-clean-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\dev\maven\trunks\plugins\maven-clover-plugin\target
> [INFO] snapshot org.apache.maven.plugins:maven-plugin-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-resources-plugin:2.2-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-compiler-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.1.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2-SNAPSHOT/maven-surefi
> re-plugin-2.1.2-20060102.001705-3.pom
> 2K downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2-SNAPSHOT/maven-surefi
> re-plugin-2.1.2-20060102.001705-3.jar
> 8K downloaded
> [INFO] snapshot org.apache.maven.plugins:maven-jar-plugin:2.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-install-plugin:2.1-SNAPSHOT: checking for updates from snapshots
> [INFO] [plugin:descriptor]
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 4 mojo descriptors.
> [INFO] Applying extractor for language: bsh
> [INFO] Extractor for language: bsh found 0 mojo descriptors.
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [WARNING]
>         Artifact junit:junit:jar:3.8.1 retains local scope 'test' overriding broader scope 'compile'
>         given by a dependency. If this is not intended, modify or remove the local scope.
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-javac:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compilers:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-api:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-manager:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] [compiler:compile]
> Compiling 5 source files to C:\dev\maven\trunks\plugins\maven-clover-plugin\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> Compiling 1 source file to C:\dev\maven\trunks\plugins\maven-clover-plugin\target\test-classes
> [INFO] snapshot org.apache.maven.surefire:surefire:1.5.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire/1.5.2-SNAPSHOT/surefire-1.5.2-20060101.
> 232902-4.pom
> 751b downloaded
> [INFO] snapshot org.apache.maven.surefire:surefire-booter:1.5.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire-booter/1.5.2-SNAPSHOT/surefire-booter-1
> .5.2-20060102.001256-4.pom
> 805b downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire/1.5.2-SNAPSHOT/surefire-1.5.2-20060101.
> 232902-4.jar
> 60K downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire-booter/1.5.2-SNAPSHOT/surefire-booter-1
> .5.2-20060102.001256-4.jar
> 10K downloaded
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\dev\maven\trunks\plugins\maven-clover-plugin\target/surefire-reports
> battery = null(org.apache.maven.surefire.battery.DirectoryBattery)
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> battery = null(org.apache.maven.surefire.battery.JUnitBattery)
> [surefire] Running org.apache.maven.plugin.clover.CloverMojoTest
> RUN ABORTED
> java.lang.NoSuchMethodError
> org.apache.maven.surefire.Runner
> An exception or error caused a run to abort.
> java.io.PrintWriter.<init>(Ljava/io/File;Ljava/lang/String;)V
> Results :
> [surefire] Tests run: 0, Failures: 0, Errors: 1
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] There are some test failure.
> [INFO] ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 31 seconds
> [INFO] Finished at: Mon Jan 02 09:23:09 CET 2006
> [INFO] Final Memory: 6M/15M
> [INFO] ----------------------------------------------------------------------------
> C:\dev\maven\trunks\plugins\maven-clover-plugin>
> C:\dev\maven\trunks\plugins\maven-clover-plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MSUREFIRE-38) Surefire plugin is failing

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-38?page=comments#action_54674 ] 

Brett Porter commented on MSUREFIRE-38:
---------------------------------------

in case nobody's noticed, the build is currently broken because of this.


> Surefire plugin is failing
> --------------------------
>
>          Key: MSUREFIRE-38
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-38
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>  Environment: maven-surefire-plugin-2.1.2-20060102.001705-3
>     Reporter: Vincent Massol

>
>
> C:\dev\maven\trunks\plugins\maven-clover-plugin>mvn clean install
> [INFO] Scanning for projects...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Clover Plugin
> [INFO]    task-segment: [clean, install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot org.apache.maven.plugins:maven-clean-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\dev\maven\trunks\plugins\maven-clover-plugin\target
> [INFO] snapshot org.apache.maven.plugins:maven-plugin-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-resources-plugin:2.2-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-compiler-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.1.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2-SNAPSHOT/maven-surefi
> re-plugin-2.1.2-20060102.001705-3.pom
> 2K downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2-SNAPSHOT/maven-surefi
> re-plugin-2.1.2-20060102.001705-3.jar
> 8K downloaded
> [INFO] snapshot org.apache.maven.plugins:maven-jar-plugin:2.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-install-plugin:2.1-SNAPSHOT: checking for updates from snapshots
> [INFO] [plugin:descriptor]
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 4 mojo descriptors.
> [INFO] Applying extractor for language: bsh
> [INFO] Extractor for language: bsh found 0 mojo descriptors.
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [WARNING]
>         Artifact junit:junit:jar:3.8.1 retains local scope 'test' overriding broader scope 'compile'
>         given by a dependency. If this is not intended, modify or remove the local scope.
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-javac:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compilers:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-api:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-manager:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] [compiler:compile]
> Compiling 5 source files to C:\dev\maven\trunks\plugins\maven-clover-plugin\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> Compiling 1 source file to C:\dev\maven\trunks\plugins\maven-clover-plugin\target\test-classes
> [INFO] snapshot org.apache.maven.surefire:surefire:1.5.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire/1.5.2-SNAPSHOT/surefire-1.5.2-20060101.
> 232902-4.pom
> 751b downloaded
> [INFO] snapshot org.apache.maven.surefire:surefire-booter:1.5.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire-booter/1.5.2-SNAPSHOT/surefire-booter-1
> .5.2-20060102.001256-4.pom
> 805b downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire/1.5.2-SNAPSHOT/surefire-1.5.2-20060101.
> 232902-4.jar
> 60K downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire-booter/1.5.2-SNAPSHOT/surefire-booter-1
> .5.2-20060102.001256-4.jar
> 10K downloaded
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\dev\maven\trunks\plugins\maven-clover-plugin\target/surefire-reports
> battery = null(org.apache.maven.surefire.battery.DirectoryBattery)
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> battery = null(org.apache.maven.surefire.battery.JUnitBattery)
> [surefire] Running org.apache.maven.plugin.clover.CloverMojoTest
> RUN ABORTED
> java.lang.NoSuchMethodError
> org.apache.maven.surefire.Runner
> An exception or error caused a run to abort.
> java.io.PrintWriter.<init>(Ljava/io/File;Ljava/lang/String;)V
> Results :
> [surefire] Tests run: 0, Failures: 0, Errors: 1
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] There are some test failure.
> [INFO] ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 31 seconds
> [INFO] Finished at: Mon Jan 02 09:23:09 CET 2006
> [INFO] Final Memory: 6M/15M
> [INFO] ----------------------------------------------------------------------------
> C:\dev\maven\trunks\plugins\maven-clover-plugin>
> C:\dev\maven\trunks\plugins\maven-clover-plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MSUREFIRE-38) Surefire plugin is failing

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSUREFIRE-38?page=all ]
     
Emmanuel Venisse closed MSUREFIRE-38:
-------------------------------------

      Assign To: Emmanuel Venisse
     Resolution: Fixed
    Fix Version: 2.1.2

Fixed.

> Surefire plugin is failing
> --------------------------
>
>          Key: MSUREFIRE-38
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-38
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>  Environment: maven-surefire-plugin-2.1.2-20060102.001705-3
>     Reporter: Vincent Massol
>     Assignee: Emmanuel Venisse
>      Fix For: 2.1.2

>
>
> C:\dev\maven\trunks\plugins\maven-clover-plugin>mvn clean install
> [INFO] Scanning for projects...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Clover Plugin
> [INFO]    task-segment: [clean, install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot org.apache.maven.plugins:maven-clean-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\dev\maven\trunks\plugins\maven-clover-plugin\target
> [INFO] snapshot org.apache.maven.plugins:maven-plugin-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-resources-plugin:2.2-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-compiler-plugin:2.0.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.1.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2-SNAPSHOT/maven-surefi
> re-plugin-2.1.2-20060102.001705-3.pom
> 2K downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2-SNAPSHOT/maven-surefi
> re-plugin-2.1.2-20060102.001705-3.jar
> 8K downloaded
> [INFO] snapshot org.apache.maven.plugins:maven-jar-plugin:2.1-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.apache.maven.plugins:maven-install-plugin:2.1-SNAPSHOT: checking for updates from snapshots
> [INFO] [plugin:descriptor]
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 4 mojo descriptors.
> [INFO] Applying extractor for language: bsh
> [INFO] Extractor for language: bsh found 0 mojo descriptors.
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [WARNING]
>         Artifact junit:junit:jar:3.8.1 retains local scope 'test' overriding broader scope 'compile'
>         given by a dependency. If this is not intended, modify or remove the local scope.
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-javac:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compilers:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-api:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] snapshot org.codehaus.plexus:plexus-compiler-manager:1.6-SNAPSHOT: checking for updates from snapshots
> [INFO] [compiler:compile]
> Compiling 5 source files to C:\dev\maven\trunks\plugins\maven-clover-plugin\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> Compiling 1 source file to C:\dev\maven\trunks\plugins\maven-clover-plugin\target\test-classes
> [INFO] snapshot org.apache.maven.surefire:surefire:1.5.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire/1.5.2-SNAPSHOT/surefire-1.5.2-20060101.
> 232902-4.pom
> 751b downloaded
> [INFO] snapshot org.apache.maven.surefire:surefire-booter:1.5.2-SNAPSHOT: checking for updates from snapshots
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire-booter/1.5.2-SNAPSHOT/surefire-booter-1
> .5.2-20060102.001256-4.pom
> 805b downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire/1.5.2-SNAPSHOT/surefire-1.5.2-20060101.
> 232902-4.jar
> 60K downloaded
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/surefire/surefire-booter/1.5.2-SNAPSHOT/surefire-booter-1
> .5.2-20060102.001256-4.jar
> 10K downloaded
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\dev\maven\trunks\plugins\maven-clover-plugin\target/surefire-reports
> battery = null(org.apache.maven.surefire.battery.DirectoryBattery)
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> battery = null(org.apache.maven.surefire.battery.JUnitBattery)
> [surefire] Running org.apache.maven.plugin.clover.CloverMojoTest
> RUN ABORTED
> java.lang.NoSuchMethodError
> org.apache.maven.surefire.Runner
> An exception or error caused a run to abort.
> java.io.PrintWriter.<init>(Ljava/io/File;Ljava/lang/String;)V
> Results :
> [surefire] Tests run: 0, Failures: 0, Errors: 1
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] There are some test failure.
> [INFO] ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 31 seconds
> [INFO] Finished at: Mon Jan 02 09:23:09 CET 2006
> [INFO] Final Memory: 6M/15M
> [INFO] ----------------------------------------------------------------------------
> C:\dev\maven\trunks\plugins\maven-clover-plugin>
> C:\dev\maven\trunks\plugins\maven-clover-plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org