Maven surefire build is failing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Maven surefire build is failing

Alexandru Popescu ☀

Hi all!

I have updated the surefire project and it looks like it is not building:

> mvn clean install

[INFO] Building Maven Surefire Plugin
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\target
[INFO] Deleting directory
d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\target\classes
[INFO] Deleting directory
d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\target\test-classes
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 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.
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.3/surefire-booter-2.3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO] [compiler:compile]
Compiling 2 source files to
d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
Plugin.java:[41,40] package org.apache.maven.surefire.report does not exist

d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
Plugin.java:[42,40] package org.apache.maven.surefire.report does not exist

d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
Plugin.java:[43,40] package org.apache.maven.surefire.report does not exist

d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
Plugin.java:[44,40] package org.apache.maven.surefire.report does not exist

d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
Plugin.java:[45,40] package org.apache.maven.surefire.report does not exist

d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
Plugin.java:[46,40] package org.apache.maven.surefire.report does not exist

d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
Plugin.java:[47,40] package org.apache.maven.surefire.report does not exist

d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
Plugin.java:[396,12] cannot access
org.apache.maven.surefire.util.NestedCheckedException
file org\apache\maven\surefire\util\NestedCheckedException.class not found
            try


./alex
--
.w( the_mindstorm )p.
  TestNG co-founder
EclipseTestNG Creator

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: Maven surefire build is failing

Alexandru Popescu ☀

The problem seems to be in maven-surefire-plugin SurefirePlugin with
these imports:

import org.apache.maven.surefire.report.BriefConsoleReporter;
import org.apache.maven.surefire.report.BriefFileReporter;
import org.apache.maven.surefire.report.ConsoleReporter;
import org.apache.maven.surefire.report.DetailedConsoleReporter;
import org.apache.maven.surefire.report.FileReporter;
import org.apache.maven.surefire.report.ForkingConsoleReporter;
import org.apache.maven.surefire.report.XMLReporter;

./alex
--
.w( the_mindstorm )p.
  TestNG co-founder
EclipseTestNG Creator


On 2/26/07, Alexandru Popescu <[hidden email]> wrote:

> Hi all!
>
> I have updated the surefire project and it looks like it is not building:
>
> > mvn clean install
>
> [INFO] Building Maven Surefire Plugin
> [INFO]    task-segment: [clean, install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\target
> [INFO] Deleting directory
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\target\classes
> [INFO] Deleting directory
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\target\test-classes
> [INFO] [plugin:descriptor]
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 1 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.
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.3/surefire-booter-2.3.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO] [compiler:compile]
> Compiling 2 source files to
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\target\classes
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
> Plugin.java:[41,40] package org.apache.maven.surefire.report does not exist
>
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
> Plugin.java:[42,40] package org.apache.maven.surefire.report does not exist
>
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
> Plugin.java:[43,40] package org.apache.maven.surefire.report does not exist
>
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
> Plugin.java:[44,40] package org.apache.maven.surefire.report does not exist
>
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
> Plugin.java:[45,40] package org.apache.maven.surefire.report does not exist
>
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
> Plugin.java:[46,40] package org.apache.maven.surefire.report does not exist
>
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
> Plugin.java:[47,40] package org.apache.maven.surefire.report does not exist
>
> d:\workspace\java\cvsprojects\svk\surefire\maven-surefire-plugin\src\main\java\org\apache\maven\plugin\surefire\Surefire
> Plugin.java:[396,12] cannot access
> org.apache.maven.surefire.util.NestedCheckedException
> file org\apache\maven\surefire\util\NestedCheckedException.class not found
>             try
>
>
> ./alex
> --
> .w( the_mindstorm )p.
>   TestNG co-founder
> EclipseTestNG Creator
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en
-~----------~----~----~----~------~----~------~--~---