You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2016/02/11 23:16:38 UTC

svn commit: r1729908 - /maven/doxia/doxia-sitetools/trunk/doxia-integration-tools/src/site/apt/usage.apt

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;
 
     ...