this is arleady planned for maven-plugins 26 and done: just waiting for a 
release now
:)

see https://issues.apache.org/jira/browse/MPOM-49

Regards,

Hervé

Le samedi 14 juin 2014 08:05:16 Benson Margulies a écrit :
> 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 <[email protected]> 
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: [email protected]
> For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to