cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <>
Subject RE: [jira] Commented: (COCOON-2240) Building all blocks from parent pom doesn't work
Date Wed, 22 Jul 2009 13:02:00 GMT
I had the same issue but changing the \org\apache\cocoon\cocoon\6 \cocoon-6.pom in my local
repository resolved the issue.  I found that workaround somewhere online.



-----Original Message-----
From: Thorsten Scherler (JIRA) [] 
Sent: Wednesday, July 22, 2009 2:51 PM
Subject: [jira] Commented: (COCOON-2240) Building all blocks from parent pom doesn't work


Thorsten Scherler commented on COCOON-2240:


In your parent pom as well is working fine.

> Building all blocks from parent pom doesn't work
> ------------------------------------------------
>                 Key: COCOON-2240
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: - Build System: Maven
>    Affects Versions: 2.2
>            Reporter: Stephan
> This seems to be similar to
> I created two cocoon blocks and a webapp like this:
> webapp
> block1
> block2
> Then, I created a parent pom that referes to these modules in order to be able to build
all at once. But when I execute "mvn install" within my parent project, I got this error:
> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin
manager executing goal 'org.apache.maven.plugins:maven-war-plugin
> :2.0.2:war': Unable to find the mojo 'org.apache.maven.plugins:maven-war-plugin:2.0.2:war'
in the plugin 'org.apache.maven.plugins:maven-war-plugin'
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>         at org.apache.maven.DefaultMaven.doExecute(
>         at org.apache.maven.DefaultMaven.execute(
>         at org.apache.maven.cli.MavenCli.main(
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         at java.lang.reflect.Method.invoke(
>         at org.codehaus.classworlds.Launcher.launchEnhanced(
>         at org.codehaus.classworlds.Launcher.launch(
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(
>         at org.codehaus.classworlds.Launcher.main(
> Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find the mojo 'org.apache.maven.plugins:maven-war-plugin:2.0.2:war'
in the plugin
>  'org.apache.maven.plugins:maven-war-plugin'
>         at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>         ... 16 more
> Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException:
Component descriptor cannot be found in the component reposito
> ry: org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-war-plugin:2.0.2:war.
>         at org.codehaus.plexus.DefaultPlexusContainer.lookup(
>         at org.codehaus.plexus.DefaultPlexusContainer.lookup(
>         at org.codehaus.plexus.DefaultPlexusContainer.lookup(
>         at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
>         ... 18 more
> Deleting the whole maven repo and downloading all plugins and dependencies again didn't
> Changing the version of the mvn-war-plugin to 2.1-alpha-1 as suggested here (
 worked, but is it right to depend on a alpha version?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message