Hi everyone,

I am having a similar problem to one pointed out by Eric Swenson back in
November
(http://mail-archives.apache.org/mod_mbox//maven-dev/200611.mbox/%3C591B6A09
[EMAIL PROTECTED]).


When I do a build by individually stepping into the module directories (by a
batch file or manually), they all build fine. However, when I do the build
from the parent project, using the reactor, I get the following error while
building one of the modules:

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
the plugin manager executing goal
'org.apache.maven.plugins:maven-antrun-plugin:1.0:run': Unable to find the
mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run' in the plugin
'org.apache.maven.plugins:maven-antrun-plugin'
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:540)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:477)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:456)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:308)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:275)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:327)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:120)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:269)
        at
jrockit.reflect.InitialMethodInvoker.invoke(Ljava.lang.Object;[Ljava.
lang.Object;)Ljava.lang.Object;(Unknown Source)
        at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;
I)Ljava.lang.Object;(Unknown Source)
        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-antrun-plugin:1.0:run' in the plugin
'org.apa
che.maven.plugins:maven-antrun-plugin'
        at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:538)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:395)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:536)
        ... 14 more
Caused by:
org.codehaus.plexus.component.repository.exception.ComponentLookupExc
eption: Component descriptor cannot be found in the component repository:
org.ap
ache.maven.plugin.Mojoorg.apache.maven.plugins:maven-antrun-plugin:1.0:run.
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:323)
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:312)
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:440)
        at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:529)
        ... 16 more


I haven't been able to find a response to Eric's question and no-one else
seems to have reported this problem so I thought I'd ask on the list again.

I have tried this with Maven 2.0.4 and also by building the current Maven
2.0.5 source and the result is the same.

I have tried increasing the memory available to Maven but this doesn't seem
to help. The final memory report from Maven is as follows:

[INFO] Final Memory: 113M/256M

Has anyone else come across this problem and found a resolution?

Thanks in advance,

Greg Jones


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

Reply via email to