Hi I have a plugin under sandbox ( download-maven-plugin [1]). This is a
demo for MVN-5580 [2]
However, I am not able to build this plugin from scratch ( maven clean
install). It complains
about not able to discover mojo
--- maven-plugin-plugin:3.2:helpmojo (help-mojo) @ download-maven-plugin
---
Using 'UTF-8' encoding to read mojo metadata.
Applying mojo extractor for language: java-annotations
Mojo extractor for language: java-annotations found 0 mojo descriptors.
Applying mojo extractor for language: java
Mojo extractor for language: java found 0 mojo descriptors.
Applying mojo extractor for language: bsh
Mojo extractor for language: bsh found 0 mojo descriptors.
Looks to me the check starts before the annotations got scan.
work around:
1. build as 'jar' package first and switch to 'maven-plugin' package ( ie
dont call clean)
2. use m2e to update the maven project, so that help mojo source got
generate properly
then run mvn install
Have anyone seen this?
Advice is very much appreciated
Thanks
-Dan
[1] https://svn.codehaus.org/mojo/trunk/sandbox/download-maven-plugin
[2] https://jira.codehaus.org/browse/MNG-5580