Author: hboutemy
Date: Mon May 14 21:59:09 2012
New Revision: 1338451
URL: http://svn.apache.org/viewvc?rev=1338451&view=rev
Log:
improved documentation
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/beanshell-mojo.apt.vm
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/beanshell-mojo.apt.vm
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/beanshell-mojo.apt.vm?rev=1338451&r1=1338450&r2=1338451&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/beanshell-mojo.apt.vm
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/beanshell-mojo.apt.vm
Mon May 14 21:59:09 2012
@@ -1,5 +1,5 @@
------
- Writing an Ant Maven plugin
+ Writing a Beanshell Maven Plugin
------
Olivier Lamy
------
@@ -26,9 +26,9 @@
~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/doxia/references/apt-format.html
-Writing a Beanshell Maven plugin
+Writing a Beanshell Maven Plugin
- You can write a Maven plugin using {{{http://www.beanshell.org}beanshell}}
+ You can write a Maven plugin using {{{http://www.beanshell.org}Beanshell}}.
* Pom configuration
@@ -66,6 +66,8 @@ Writing a Beanshell Maven plugin
* Beanshell plugin
- Sample of script content. Use same doclet as a Java plugin with doclet
+ A Beanshell mojo uses same javadoc tags as a Java mojo with javadoc tags.
+
+ Sample script content:
%{snippet|id=beanshell-mojo|url=http://svn.apache.org/repos/asf/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/beanshell-simple/src/main/scripts/touch.bsh}