camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: No plugin found for prefix 'maven' in the current project and in the plugin groups
Date Sun, 16 Oct 2011 06:25:00 GMT
There is a plugin called camel:run, not maven:run.

See this link for the Camel maven plugins
http://camel.apache.org/camel-maven-archetypes.html


On Sat, Oct 15, 2011 at 8:09 PM, newbiee <m_essa24@hotmail.com> wrote:
> I have created a project using m2eclipse, when I run the goal maven:run in
> Eclipse, I'm getting the following error: (please tell me how can I fix this
> error)
>
> No plugin found for prefix 'maven' in the current project and in the plugin
> groups [org.apache.maven.plugins, org.codehaus.mojo] available from the
> repositories [local (D:\Documents and Settings\........\.m2\repository),
> central (http://repo1.maven.org/maven2)] -> [Help 1]
> org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin
> found for prefix 'maven' in the current project and in the plugin groups
> [org.apache.maven.plugins, org.codehaus.mojo] available from the
> repositories [local (D:\Documents and Settings\.......\.m2\repository),
> central (http://repo1.maven.org/maven2)]
>        at
> org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:92)
>        at
> org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:262)
>        at
> org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:222)
>        at
> org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106)
>        at
> org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86)
>        at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:98)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
>        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>        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:597)
>        at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>        at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>        at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>        at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> [ERROR]
>
> sample
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/No-plugin-found-for-prefix-maven-in-the-current-project-and-in-the-plugin-groups-tp4905711p4905711.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message