I have a similar problem that I list below :
If someone has an idea ?
D:\Integration-Lugma\production-tree>mvn -e package
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Mock
[INFO] task-segment: [package]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[WARNING] POM for
'org.apache.maven.surefire:surefire-booter:pom:2.4-SNAPSHOT:ru
ntime' is invalid. It will be ignored for artifact resolution. Reason:
Failed to
validate POM
-----------------------------------------------------
this realm =
app0.child-container[org.apache.maven.plugins:maven-surefire-plugin
]
urls[0] =
file:/D:/Integration-Lugma/production-tree/thirdparty/lib/org/apache/m
aven/plugins/maven-surefire-plugin/2.4-SNAPSHOT/maven-surefire-plugin-2.4-SNAPSH
OT.jar
urls[1] =
file:/D:/Integration-Lugma/production-tree/thirdparty/lib/org/codehaus
/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[2] =
file:/D:/Integration-Lugma/production-tree/thirdparty/lib/org/apache/m
aven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-SNAPSHOT.jar
Number of imports: 4
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
this realm = plexus.core
urls[0] =
file:/D:/Production/maven-2.0.6/bin/../lib/maven-core-2.0.6-uber.jar
Number of imports: 4
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
-----------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plu
gins:maven-surefire-plugin:2.4-SNAPSHOT:test': Unable to find the mojo
'org.apac
he.maven.plugins:maven-surefire-plugin:2.4-SNAPSHOT:test' in the plugin
'org.apa
che.maven.plugins:maven-surefire-plugin'
org/apache/maven/surefire/util/NestedCheckedException
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
the pl
ugin manager executing goal
'org.apache.maven.plugins:maven-surefire-plugin:2.4-
SNAPSHOT:test': Unable to find the mojo
'org.apache.maven.plugins:maven-surefire
-plugin:2.4-SNAPSHOT:test' in the plugin
'org.apache.maven.plugins:maven-surefir
e-plugin'
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:543)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.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(DelegatingMethodAcces
sorImpl.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.PluginManagerException: Unable to find
the mo
jo 'org.apache.maven.plugins:maven-surefire-plugin:2.4-SNAPSHOT:test' in the
plu
gin 'org.apache.maven.plugins:maven-surefire-plugin'
at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:571)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:421)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
... 16 more
Caused by:
org.codehaus.plexus.component.repository.exception.ComponentLookupExc
eption: Unable to lookup component
'org.apache.maven.plugin.Mojoorg.apache.maven
.plugins:maven-surefire-plugin:2.4-SNAPSHOT:test', it could not be created
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:335)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:440)
at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:562)
... 18 more
Caused by:
org.codehaus.plexus.component.factory.ComponentInstantiationException
: Could not instanciate component: role: 'null', implementation:
'org.apache.mav
en.plugin.surefire.SurefirePlugin'
at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
xception(JavaComponentFactory.java:77)
at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
stance(JavaComponentFactory.java:62)
at
org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
faultPlexusContainer.java:1464)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.create
ComponentInstance(AbstractComponentManager.java:93)
at
org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
mponent(PerLookupComponentManager.java:48)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:331)
... 20 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/maven/surefire/util/Nested
CheckedException
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassL
oader.java:195)
at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal
m.java:255)
at
org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.
java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
stance(JavaComponentFactory.java:44)
... 24 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Jun 01 17:36:32 CEST 2007
[INFO] Final Memory: 4M/7M
[INFO]
------------------------------------------------------------------------
D:\Integration-Lugma\production-tree>
mhargus wrote:
>
> I'm getting an error during during the test compile phase after running
> 'mvn install'. I'm using the 2.4-SNAPSHOT version of Surefire, and it
> just started blowing up on me today.
>
>
> Here a snippet of the error:
>
>
> [WARNING] POM for
> 'org.apache.maven.surefire:surefire-booter:pom:2.4-SNAPSHOT:runtime' is
> invalid. It will be ignored for artifact resolution. Reason: Failed to
> validate POM
> -----------------------------------------------------
> this realm =
> app0.child-container[org.apache.maven.plugins:maven-surefire-plugin]
> urls[0] =
> file:/Users/matt/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin/2.4-SNAPSHOT/maven-surefire-plugin-2.4-SNAPSHOT.jar
> urls[1] =
> file:/Users/matt/.m2/repository/org/apache/maven/surefire/surefire-booter/2.4-SNAPSHOT/surefire-booter-2.4-SNAPSHOT.jar
> urls[2] =
> file:/Users/matt/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of imports: 4
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
>
>
> this realm = plexus.core
> urls[0] = file:/usr/local/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 4
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> import: [EMAIL PROTECTED]
> -----------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-surefire-plugin:2.4-SNAPSHOT:test': Unable
> to find the mojo
> 'org.apache.maven.plugins:maven-surefire-plugin:2.4-SNAPSHOT:test' in the
> plugin 'org.apache.maven.plugins:maven-surefire-plugin'
> org/apache/maven/surefire/util/NestedCheckedException
>
> Anyone else seeing this?
>
> Matt
>
--
View this message in context:
http://www.nabble.com/Surefire-2.4-SNAPSHOT-errors-tf3847995s177.html#a10915637
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]