Author: hboutemy
Date: Thu Feb 11 22:16:37 2016
New Revision: 1729908
URL: http://svn.apache.org/viewvc?rev=1729908&view=rev
Log:
updated documentation to use java annotations instead of javadoc tags
Modified:
maven/doxia/doxia-sitetools/trunk/doxia-integration-tools/src/site/apt/usage.apt
Modified:
maven/doxia/doxia-sitetools/trunk/doxia-integration-tools/src/site/apt/usage.apt
URL:
http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-integration-tools/src/site/apt/usage.apt?rev=1729908&r1=1729907&r2=1729908&view=diff
==============================================================================
---
maven/doxia/doxia-sitetools/trunk/doxia-integration-tools/src/site/apt/usage.apt
(original)
+++
maven/doxia/doxia-sitetools/trunk/doxia-integration-tools/src/site/apt/usage.apt
Thu Feb 11 22:16:37 2016
@@ -32,20 +32,22 @@ Using the SiteTool in a Mojo
+-----
...
import org.apache.maven.doxia.tools.SiteTool;
+import org.apache.maven.plugins.annotations.Component;
+import org.apache.maven.plugins.annotations.Mojo;
...
/**
* Your own mojo.
*/
+@Mojo( name = "your-own" )
public class YourOwnMojo extends AbstractMojo
{
...
/**
* SiteTool.
- *
- * @component
*/
+ @Component
protected SiteTool siteTool;
...