Author: olamy
Date: Mon May 14 17:07:37 2012
New Revision: 1338293

URL: http://svn.apache.org/viewvc?rev=1338293&view=rev
Log:
add SNIPPET for documentation purpose

Modified:
    
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/ant-basic/src/main/scripts/touch.build.xml
    
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/ant-basic/src/main/scripts/touch.mojos.xml
    
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/beanshell-simple/src/main/scripts/touch.bsh

Modified: 
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/ant-basic/src/main/scripts/touch.build.xml
URL: 
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/ant-basic/src/main/scripts/touch.build.xml?rev=1338293&r1=1338292&r2=1338293&view=diff
==============================================================================
--- 
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/ant-basic/src/main/scripts/touch.build.xml
 (original)
+++ 
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/ant-basic/src/main/scripts/touch.build.xml
 Mon May 14 17:07:37 2012
@@ -18,9 +18,10 @@
   ~ specific language governing permissions and limitations
   ~ under the License.
   -->
-
+<!-- START SNIPPET: ant-build -->
 <project>
   <target name="touch">
     <touch mkdirs="true" file="target/${name}"/>
   </target>
-</project>
\ No newline at end of file
+</project>
+<!-- END SNIPPET: ant-build -->
\ No newline at end of file

Modified: 
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/ant-basic/src/main/scripts/touch.mojos.xml
URL: 
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/ant-basic/src/main/scripts/touch.mojos.xml?rev=1338293&r1=1338292&r2=1338293&view=diff
==============================================================================
--- 
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/ant-basic/src/main/scripts/touch.mojos.xml
 (original)
+++ 
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/ant-basic/src/main/scripts/touch.mojos.xml
 Mon May 14 17:07:37 2012
@@ -18,7 +18,7 @@
   ~ specific language governing permissions and limitations
   ~ under the License.
   -->
-
+<!-- START SNIPPET: ant-mojo -->
 <pluginMetadata xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
../../../../../../maven-plugin-tools-model/target/generated-site/xsd/plugin-metadata-1.0.0.xsd
 ">
   <mojos>
     <mojo>
@@ -36,3 +36,4 @@
     </mojo>
   </mojos>
 </pluginMetadata>
+<!-- END SNIPPET: ant-mojo -->

Modified: 
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/beanshell-simple/src/main/scripts/touch.bsh
URL: 
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/beanshell-simple/src/main/scripts/touch.bsh?rev=1338293&r1=1338292&r2=1338293&view=diff
==============================================================================
--- 
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/beanshell-simple/src/main/scripts/touch.bsh
 (original)
+++ 
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/beanshell-simple/src/main/scripts/touch.bsh
 Mon May 14 17:07:37 2012
@@ -1,3 +1,4 @@
+// START SNIPPET: beanshell-mojo
 /**
  * Touches a test file.
  *
@@ -41,4 +42,5 @@ setName( name )
     name = name;
 }
 
-return new BeanshellMojoAdapter( (Mojo) this, this.interpreter );
\ No newline at end of file
+return new BeanshellMojoAdapter( (Mojo) this, this.interpreter );
+// END SNIPPET: beanshell-mojo
\ No newline at end of file


Reply via email to