Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-147

Surefire plugin is failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.2 (2.1.2 plugin)
    • None
    • None
    • maven-surefire-plugin-2.1.2-20060102.001705-3

    Description

      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>

      Attachments

        Issue Links

          Activity

            People

              evenisse Emmanuel Venisse
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: