maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: maven-plugin-plugin:descriptor not seeing annotation
Date Sat, 14 Jun 2014 12:05:16 GMT
NVM: I solved this via cargo-cultism. However, why doesn't our parent
pom configure the plugin-plugin 'correctly', instead of each plugin
messing with it?


On Sat, Jun 14, 2014 at 8:00 AM, Benson Margulies <bimargulies@gmail.com> wrote:
> I'm helping out at the nar-maven-plugin. I'm trying to upgrade to
> annotations for configuration.
>
> The plugin uses a familiar parent:
>
>   <parent>
>     <artifactId>maven-plugins</artifactId>
>     <groupId>org.apache.maven.plugins</groupId>
>     <version>25</version>
>     <relativePath />
>   </parent>
>
> and defers all configuration to the parent. The plugin-plugin finds no
> mojos via annotation, even though I've @Mojo'd them all. And ideas?
>
>
> [INFO] --- maven-plugin-plugin:3.2:descriptor (default-descriptor) @
> nar-maven-plugin ---
> [INFO] Using 'UTF-8' encoding to read mojo metadata.
> [INFO] Applying mojo extractor for language: java-annotations
> [INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
> [INFO] Applying mojo extractor for language: java
> [INFO] Mojo extractor for language: java found 3 mojo descriptors.
> [INFO] Applying mojo extractor for language: bsh
> [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
>
> All visible at https://github.com/benson-basis/nar-maven-plugin.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message