2012/11/29 Barrie Treloar <[email protected]>:
> On Thu, Nov 29, 2012 at 9:37 AM, Olivier Lamy <[email protected]> wrote:
>> see
>> http://maven.apache.org/plugin-tools/maven-plugin-tools-annotations/index.html
>> and
>> http://maven.apache.org/plugin-tools/maven-plugin-plugin/examples/using-annotations.html
>
> I tried those with his example project I forked at
> https://bitbucket.org/baerrach/randoop-maven-plugin
> (Its a mercurial repo)
>
> You can see in my comments that @Component doesn't work, but javadoc does.
>
> I can't explain why...
maybe avoid to mix doclet and annotations
then don't miss
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.2</version>
<configuration>
<!-- see http://jira.codehaus.org/browse/MNG-5346 -->
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
<executions>
<execution>
<id>mojo-descriptor</id>
<goals>
<goal>descriptor</goal>
</goals>
</execution>
<!-- if you want to generate help goal -->
<execution>
<id>help-goal</id>
<goals>
<goal>helpmojo</goal>
</goals>
</execution>
</executions>
</plugin>
and add an it test to ease help :-)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]