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 2020/09/28 05:49:35 UTC

[maven-script-interpreter] branch master updated: [MSHARED-960] document how to use Grapes in a Groovy script (#23)

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 <s....@gmail.com>
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