cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Piéroni <raphael.pier...@aql.fr>
Subject Re: webapp maven error
Date Thu, 15 Nov 2007 14:59:49 GMT
Can you please send a copy of your pom.

Raphaël

tomasz a écrit :
> Hello
>
> I tried to prepare application from Cocoon site 
> (http://cocoon.apache.org/2.2/1362_1_1.html)
>
> but there are an error after 'mvn -e package' command ( please, see below)
>
> I also tried with a clean maven repository.
>
> I cannot find any solution for that problem.
>
> Could someone help me?
>
>
> regards
>
> tom
>
>
>
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 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'
> Component descriptor cannot be found in the component repository: 
> org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-war-plugin:2.0.2:war.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> 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(DefaultLifecycleExecutor.java:543)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         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 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(DefaultPluginManager.java:571)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:421)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         ... 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(DefaultPlexusContainer.java:323)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:312)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:562)
>         ... 18 more
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 28 seconds
> [INFO] Finished at: Thu Nov 15 15:14:27 CET 2007
> [INFO] Final Memory: 19M/36M
> [INFO] 
> ------------------------------------------------------------------------
>
> ----------------------------------------------------
> Twórcy filmów SHREK i MADAGASKAR przedstawiają 
> nową animowaną komedię dla całej rodziny.
> FILM O PSZCZOŁACH - w kinach od 16 listopada! 
> http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fpszczoly_zwiastun.html&sid=93
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message