This probably just means that you are building the extension as a JAR, not a maven-plugin, so there's no descriptor.
Of if it is as a Maven plugin, it might be a lack of mojos in there. ISTR a fix in a recent plugin tools to avoid a related warning if there are only extensions in the plugin. - Brett On 02/08/2012, at 12:24 AM, Jesse Farinacci <jie...@gmail.com> wrote: > Greetings, > > On Wed, Aug 1, 2012 at 9:57 AM, Jesse Farinacci <jie...@gmail.com> wrote: >> Most of the time it works just fine, however sometimes after I have >> mvn clean previously, I will take an exception in the log on the next >> mvn invocation: >> >> [WARNING] Failed to retrieve plugin descriptor for >> com.acme.maven.extensions:banner-maven-extension:0.1: Failed to parse >> plugin descriptor for >> com.acme.maven.extensions:banner-maven-extension:0.1 >> ($HOME/.m2/repository/com/acme/maven/extensions/banner-maven-extension/0.1/banner-maven-extension-0.1.jar): >> No plugin descriptor found at META-INF/maven/plugin.xml > > So, I have narrowed down the failure a bit. When I invoke it via: > > <extensions><extension> > <groupId>com.acme.maven.extensions</groupId> > <artifactId>banner-maven-extension</artifactId> > <version>0.1</version> > </extension></extensions> > > it works! However, when I invoke it via: > > <build><plugins><plugin> > <groupId>com.acme.maven.extensions</groupId> > <artifactId>banner-maven-extension</artifactId> > <version>0.1</version> > <extensions>true</extensions> > </plugin></plugins></build> > > It fails with the aforementioned error. Is this a bug? > > -Jesse > > -- > There are 10 types of people in this world, those > that can read binary and those that can not. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > -- Brett Porter br...@apache.org http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter http://twitter.com/brettporter --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org