You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by houzecl <ch...@etat.ge.ch> on 2009/02/11 18:46:21 UTC
Re: The PluginDescriptor for the plugin Plugin [...] was not found.
Although this question is very old, we just got the same problem today, and I
will post an answer now, as it may help others not to search for too long:
the packaging for a plugin MUST BE:
<packaging>maven-plugin</packaging>
and not
<packaging>jar</packaging>
you may build OK your plugin with a jar packaging, but if it's not
"packaged" as a maven-plugin, ... well it's not a maven plugin :-)
Thanks to all Maven committers for the good job
Christian-Luc
Tomas Hikl wrote:
>
> Hi,
> I created my first simple maven plugin and successfully installed it.
> When I tried to use it in another project, it doesn't work...
>
> Error:
> java.lang.IllegalStateException: The PluginDescriptor for the plugin
> Plugin [Mav
> enPlugin:MavenPlugin] was not found.
>
> pom.xml:
> ...
> <build>
> <plugins>
> <plugin>
> <groupId>MavenPlugin</groupId>
> <artifactId>MavenPlugin</artifactId>
> <version>0.0.1</version>
> </plugin>
> </plugins>
> </build>
> ...
>
> Can you tell me, where is the problem or what should I do to use my
> plugin?
> Thanks,
>
> Tomas
>
--
View this message in context: http://www.nabble.com/The-PluginDescriptor-for-the-plugin-Plugin--...--was-not-found.-tp9080250p21958288.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org