[ https://jira.codehaus.org/browse/MNGSITE-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=324512#comment-324512 ]
Robert Scholte commented on MNGSITE-177: ---------------------------------------- Those pages need to be rewritten, although you can still use the javadoclet style. Here are some links for Annotations: * http://maven.apache.org/plugin-tools/index.html * http://maven.apache.org/plugin-tools/maven-plugin-plugin/examples/using-annotations.html > Annotation not existing > ----------------------- > > Key: MNGSITE-177 > URL: https://jira.codehaus.org/browse/MNGSITE-177 > Project: Maven Project Web Site > Issue Type: Bug > Environment: Ubuntu 12.10 > Reporter: David Georg Reichelt > Priority: Minor > > On http://maven.apache.org/guides/plugin/guide-java-plugin-development.html > the Code for a plugin seems to be wrong: at least at my environment, I can't > use the annotation @Mojo( name = "sayhi"). Instead (copied from another site) > I can specify the name of a new mojo via the annotation > /** > * Goal which touches a timestamp file. > * > * @goal touch > * > * @phase process-sources > */ > As I copied the dependency, my version of the Mojo-API should be up-to-date, > and I can't find a @Mojo annotation in > http://maven.apache.org/developers/mojo-api-specification.html anyway, so the > problem seems to be the documentation at the site. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira