This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-script-interpreter.git
The following commit(s) were added to refs/heads/master by this push:
new 1dee514 [MSHARED-960] document how to use Grapes in a Groovy script
(#23)
1dee514 is described below
commit 1dee514d1bd7e8b2f89625d32ec7b30f3f4d849a
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Sun Sep 27 23:33:20 2020 +0200
[MSHARED-960] document how to use Grapes in a Groovy script (#23)
---
src/site/apt/index.apt.vm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/site/apt/index.apt.vm b/src/site/apt/index.apt.vm
index 0e2d06b..9e17463 100644
--- a/src/site/apt/index.apt.vm
+++ b/src/site/apt/index.apt.vm
@@ -40,6 +40,20 @@ ${project.name}
</dependency>
+---------
+ <<<maven-script-interpreter>>> has dependency only to core interpreters
library,
+ all specific extensions should be added in your project.
+
+ For example, if you want to use
{{{https://docs.groovy-lang.org/latest/html/documentation/grape.html}<<Grape>>}}
+ in a <<Groovy>> script, you must add a dependency to Ivy in your project or
in the plugin that will invoke the script:
+
++---------
+ <dependency>
+ <groupId>org.apache.ivy</groupId>
+ <artifactId>ivy</artifactId>
+ <version>...</version>
+ </dependency>
++---------
+
* Using ScriptInterpreter
** Interpret BeanShell script