add SNIPPET for documentation purpose
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338293 13f79535-47bb-0310-9956-ffa450edef68master
parent
dd9b113101
commit
c31075dd21
|
|
@ -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>
|
||||
</project>
|
||||
<!-- END SNIPPET: ant-build -->
|
||||
|
|
@ -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 -->
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
return new BeanshellMojoAdapter( (Mojo) this, this.interpreter );
|
||||
// END SNIPPET: beanshell-mojo
|
||||
Loading…
Reference in New Issue