You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by ol...@apache.org on 2022/12/15 01:08:07 UTC
svn commit: r1905995 [14/27] - in /maven/website/components/shared-archives/maven-script-interpreter-LATEST: ./ apidocs/ apidocs/legal/ apidocs/org/apache/maven/shared/scriptinterpreter/ apidocs/org/apache/maven/shared/scriptinterpreter/class-use/ apid...
Modified: maven/website/components/shared-archives/maven-script-interpreter-LATEST/distribution-management.html
==============================================================================
--- maven/website/components/shared-archives/maven-script-interpreter-LATEST/distribution-management.html (original)
+++ maven/website/components/shared-archives/maven-script-interpreter-LATEST/distribution-management.html Thu Dec 15 01:08:06 2022
@@ -1,144 +1,126 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from org.apache.maven.plugins:maven-project-info-reports-plugin:3.1.1:distribution-management at 2020-10-15
- | Rendered using Apache Maven Fluido Skin 1.9
--->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
- <title>Apache Maven Script Interpreter – Project Distribution Management</title>
- <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
- <link rel="stylesheet" href="./css/site.css" />
- <link rel="stylesheet" href="./css/print.css" media="print" />
- <script src="./js/apache-maven-fluido-1.9.min.js"></script>
- <!-- Google Analytics -->
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-140879-1', 'auto');
- ga('send', 'pageview');
- ga('set', 'anonymizeIp', true);
- ga('set', 'forceSSL', true);
- </script>
- </head>
- <body class="topBarDisabled">
- <div class="container-fluid">
- <header>
- <div id="banner">
- <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../images/apache-maven-project.png" alt="Apache Maven Script Interpreter"/></a></div>
- <div class="pull-right"><a href="../../" id="bannerRight"><img src="../../images/maven-logo-black-on-white.png" alt=""/></a></div>
- <div class="clear"><hr/></div>
- </div>
-
- <div id="breadcrumbs">
- <ul class="breadcrumb">
- <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
- <li class=""><a href="../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
- <li class=""><a href="../index.html" title="Shared Components">Shared Components</a><span class="divider">/</span></li>
- <li class=""><a href="index.html" title="Apache Maven Script Interpreter">Apache Maven Script Interpreter</a><span class="divider">/</span></li>
- <li class="active ">Project Distribution Management</li>
- <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2020-10-15</li>
- <li id="projectVersion" class="pull-right">Version: 1.3</li>
- </ul>
- </div>
- </header>
- <div class="row-fluid">
- <header id="leftColumn" class="span2">
- <nav class="well sidebar-nav">
- <ul class="nav nav-list">
- <li class="nav-header">Overview</li>
- <li><a href="index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
- <li><a href="apidocs/index.html" title="JavaDocs"><span class="none"></span>JavaDocs</a></li>
- <li><a href="xref/index.html" title="Source Xref"><span class="none"></span>Source Xref</a></li>
- <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
- <li><a href="download.html" title="Download"><span class="none"></span>Download</a></li>
- <li class="nav-header">Parent Project</li>
- <li><a href="../index.html" title="Apache Maven Shared Components"><span class="none"></span>Apache Maven Shared Components</a></li>
- <li class="nav-header">Project Documentation</li>
- <li><a href="project-info.html" title="Project Information"><span class="icon-chevron-down"></span>Project Information</a>
- <ul class="nav nav-list">
- <li><a href="index.html" title="About"><span class="none"></span>About</a></li>
- <li><a href="summary.html" title="Summary"><span class="none"></span>Summary</a></li>
- <li><a href="dependency-info.html" title="Dependency Information"><span class="none"></span>Dependency Information</a></li>
- <li><a href="team.html" title="Team"><span class="none"></span>Team</a></li>
- <li><a href="scm.html" title="Source Code Management"><span class="none"></span>Source Code Management</a></li>
- <li><a href="issue-management.html" title="Issue Management"><span class="none"></span>Issue Management</a></li>
- <li><a href="mailing-lists.html" title="Mailing Lists"><span class="none"></span>Mailing Lists</a></li>
- <li><a href="dependency-management.html" title="Dependency Management"><span class="none"></span>Dependency Management</a></li>
- <li><a href="dependencies.html" title="Dependencies"><span class="none"></span>Dependencies</a></li>
- <li><a href="dependency-convergence.html" title="Dependency Convergence"><span class="none"></span>Dependency Convergence</a></li>
- <li><a href="ci-management.html" title="CI Management"><span class="none"></span>CI Management</a></li>
- <li><a href="plugin-management.html" title="Plugin Management"><span class="none"></span>Plugin Management</a></li>
- <li><a href="plugins.html" title="Plugins"><span class="none"></span>Plugins</a></li>
- <li class="active"><a href="#"><span class="none"></span>Distribution Management</a></li>
- </ul></li>
- <li><a href="project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
- <li class="nav-header">Maven Projects</li>
- <li><a href="../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
- <li><a href="../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
- <li><a href="../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
- <li><a href="../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
- <li><a href="../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
- <li><a href="../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
- <li><a href="../../plugins/index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
- <li><a href="../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
- <li><a href="../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
- <li><a href="../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
- <li><a href="../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
- <li><a href="../index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
- <li><a href="../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
- <li><a href="../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
- <li><a href="../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
- <li class="nav-header">ASF</li>
- <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
- <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
- <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
- <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
- </ul>
- </nav>
- <div class="well sidebar-nav">
-<form id="search-form" action="https://www.google.com/search" method="get" >
- <input value="maven.apache.org/shared/maven-script-interpreter/" name="sitesearch" type="hidden"/>
- <input class="search-query" name="q" id="query" type="text" />
-</form>
-<script>asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
- <hr />
- <div id="poweredBy">
- <div class="clear"></div>
- <div id="twitter" style="border:none; margin-top: 10px">
- <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
- </div>
- <div class="clear"></div>
- <div class="clear"></div>
-<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
- </div>
- </div>
- </header>
- <main id="bodyColumn" class="span10" >
-<section>
-<h2><a name="Overview"></a>Overview</h2><a name="Overview"></a>
-<p>The following is the distribution management information used by this project.</p><section>
-<h3><a name="Repository_-_apache.releases.https"></a>Repository - apache.releases.https</h3><a name="Repository_-_apache.releases.https"></a><a class="externalLink" href="https://repository.apache.org/service/local/staging/deploy/maven2">https://repository.apache.org/service/local/staging/deploy/maven2</a></section><section>
-<h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a>Snapshot Repository - apache.snapshots.https</h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a><a class="externalLink" href="https://repository.apache.org/content/repositories/snapshots">https://repository.apache.org/content/repositories/snapshots</a></section><section>
-<h3><a name="Site_-_apache.website"></a>Site - apache.website</h3><a name="Site_-_apache.website"></a>
-<p>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/shared-archives/maven-script-interpreter-LATEST</p></section></section>
- </main>
- </div>
- </div>
- <hr/>
- <footer>
- <div class="container-fluid">
- <div class="row-fluid">
- <p>© 2002–2020
-<a href="https://www.apache.org/">The Apache Software Foundation</a>
-</p>
- </div>
- </div>
- </footer>
- </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from org.apache.maven.plugins:maven-project-info-reports-plugin:3.4.1:distribution-management at 2022-12-15
+ | Rendered using Apache Maven Fluido Skin 1.9
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+ <title>Apache Maven Script Interpreter – Project Distribution Management</title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+ <script src="./js/apache-maven-fluido-1.9.min.js"></script>
+ </head>
+ <body class="topBarDisabled">
+ <div class="container-fluid">
+ <header>
+ <div id="banner">
+ <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../images/apache-maven-project.png" alt="Apache Maven Script Interpreter"/></a></div>
+ <div class="pull-right"><a href="../../" id="bannerRight"><img src="../../images/maven-logo-black-on-white.png" alt=""/></a></div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+ <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
+ <li class=""><a href="../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
+ <li class=""><a href="../index.html" title="Shared Components">Shared Components</a><span class="divider">/</span></li>
+ <li class=""><a href="index.html" title="Apache Maven Script Interpreter">Apache Maven Script Interpreter</a><span class="divider">/</span></li>
+ <li class="active ">Project Distribution Management</li>
+ <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2022-12-15</li>
+ <li id="projectVersion" class="pull-right">Version: 1.4</li>
+ </ul>
+ </div>
+ </header>
+ <div class="row-fluid">
+ <header id="leftColumn" class="span2">
+ <nav class="well sidebar-nav">
+ <ul class="nav nav-list">
+ <li class="nav-header">Overview</li>
+ <li><a href="index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
+ <li><a href="apidocs/index.html" title="JavaDocs"><span class="none"></span>JavaDocs</a></li>
+ <li><a href="xref/index.html" title="Source Xref"><span class="none"></span>Source Xref</a></li>
+ <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
+ <li><a href="download.html" title="Download"><span class="none"></span>Download</a></li>
+ <li class="nav-header">Parent Project</li>
+ <li><a href="../index.html" title="Apache Maven Shared Components"><span class="none"></span>Apache Maven Shared Components</a></li>
+ <li class="nav-header">Project Documentation</li>
+ <li><a href="project-info.html" title="Project Information"><span class="icon-chevron-down"></span>Project Information</a>
+ <ul class="nav nav-list">
+ <li><a href="index.html" title="About"><span class="none"></span>About</a></li>
+ <li><a href="summary.html" title="Summary"><span class="none"></span>Summary</a></li>
+ <li><a href="dependency-info.html" title="Dependency Information"><span class="none"></span>Dependency Information</a></li>
+ <li><a href="team.html" title="Team"><span class="none"></span>Team</a></li>
+ <li><a href="scm.html" title="Source Code Management"><span class="none"></span>Source Code Management</a></li>
+ <li><a href="issue-management.html" title="Issue Management"><span class="none"></span>Issue Management</a></li>
+ <li><a href="mailing-lists.html" title="Mailing Lists"><span class="none"></span>Mailing Lists</a></li>
+ <li><a href="dependency-management.html" title="Dependency Management"><span class="none"></span>Dependency Management</a></li>
+ <li><a href="dependencies.html" title="Dependencies"><span class="none"></span>Dependencies</a></li>
+ <li><a href="dependency-convergence.html" title="Dependency Convergence"><span class="none"></span>Dependency Convergence</a></li>
+ <li><a href="ci-management.html" title="CI Management"><span class="none"></span>CI Management</a></li>
+ <li><a href="plugin-management.html" title="Plugin Management"><span class="none"></span>Plugin Management</a></li>
+ <li><a href="plugins.html" title="Plugins"><span class="none"></span>Plugins</a></li>
+ <li class="active"><a href="#"><span class="none"></span>Distribution Management</a></li>
+ </ul></li>
+ <li><a href="project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
+ <li class="nav-header">Maven Projects</li>
+ <li><a href="../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
+ <li><a href="../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
+ <li><a href="../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
+ <li><a href="../../extensions/index.html" title="Extensions"><span class="none"></span>Extensions</a></li>
+ <li><a href="../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
+ <li><a href="../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
+ <li><a href="../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
+ <li><a href="../../plugins/index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
+ <li><a href="../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
+ <li><a href="../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
+ <li><a href="../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
+ <li><a href="../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
+ <li><a href="../index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
+ <li><a href="../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
+ <li><a href="../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
+ <li><a href="../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
+ <li class="nav-header">ASF</li>
+ <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
+ <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
+ <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Data Privacy"><span class="none"></span>Data Privacy</a></li>
+ <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
+ <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
+ </ul>
+ </nav>
+ <div class="well sidebar-nav">
+ <hr />
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div class="clear"></div>
+<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
+ </div>
+ </div>
+ </header>
+ <main id="bodyColumn" class="span10" >
+<section>
+<h2><a name="Overview"></a>Overview</h2><a name="Overview"></a>
+<p>The following is the distribution management information used by this project.</p><section>
+<h3><a name="Repository_-_apache.releases.https"></a>Repository - apache.releases.https</h3><a name="Repository_-_apache.releases.https"></a><a class="externalLink" href="https://repository.apache.org/service/local/staging/deploy/maven2">https://repository.apache.org/service/local/staging/deploy/maven2</a></section><section>
+<h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a>Snapshot Repository - apache.snapshots.https</h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a><a class="externalLink" href="https://repository.apache.org/content/repositories/snapshots">https://repository.apache.org/content/repositories/snapshots</a></section><section>
+<h3><a name="Site_-_apache.website"></a>Site - apache.website</h3><a name="Site_-_apache.website"></a>
+<p>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/shared-archives/maven-script-interpreter-LATEST</p></section></section>
+ </main>
+ </div>
+ </div>
+ <hr/>
+ <footer>
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <p>© 2002–2022
+<a href="https://www.apache.org/">The Apache Software Foundation</a>
+</p>
+ </div>
+ </div>
+ </footer>
+ </body>
</html>
\ No newline at end of file
Modified: maven/website/components/shared-archives/maven-script-interpreter-LATEST/download.cgi
==============================================================================
--- maven/website/components/shared-archives/maven-script-interpreter-LATEST/download.cgi (original)
+++ maven/website/components/shared-archives/maven-script-interpreter-LATEST/download.cgi Thu Dec 15 01:08:06 2022
@@ -1,22 +1,22 @@
-#!/bin/sh
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# Just call the standard mirrors.cgi script. It will use download.html
-# as the input template.
+#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# Just call the standard mirrors.cgi script. It will use download.html
+# as the input template.
exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file
Modified: maven/website/components/shared-archives/maven-script-interpreter-LATEST/download.html
==============================================================================
--- maven/website/components/shared-archives/maven-script-interpreter-LATEST/download.html (original)
+++ maven/website/components/shared-archives/maven-script-interpreter-LATEST/download.html Thu Dec 15 01:08:06 2022
@@ -1,246 +1,228 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src\site\xdoc/download.xml.vm at 2020-10-15
- | Rendered using Apache Maven Fluido Skin 1.9
--->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
- <title>Apache Maven Script Interpreter – Download Apache Maven Script Interpreter Source</title>
- <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
- <link rel="stylesheet" href="./css/site.css" />
- <link rel="stylesheet" href="./css/print.css" media="print" />
- <script src="./js/apache-maven-fluido-1.9.min.js"></script>
- <!-- Google Analytics -->
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-140879-1', 'auto');
- ga('send', 'pageview');
- ga('set', 'anonymizeIp', true);
- ga('set', 'forceSSL', true);
- </script>
- </head>
- <body class="topBarDisabled">
- <div class="container-fluid">
- <header>
- <div id="banner">
- <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../images/apache-maven-project.png" alt="Apache Maven Script Interpreter"/></a></div>
- <div class="pull-right"><a href="../../" id="bannerRight"><img src="../../images/maven-logo-black-on-white.png" alt=""/></a></div>
- <div class="clear"><hr/></div>
- </div>
-
- <div id="breadcrumbs">
- <ul class="breadcrumb">
- <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
- <li class=""><a href="../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
- <li class=""><a href="../index.html" title="Shared Components">Shared Components</a><span class="divider">/</span></li>
- <li class=""><a href="index.html" title="Apache Maven Script Interpreter">Apache Maven Script Interpreter</a><span class="divider">/</span></li>
- <li class="active ">Download Apache Maven Script Interpreter Source <a href="https://github.com/apache/maven-script-interpreter/tree/maven-script-interpreter-1.3/src\site\xdoc/download.xml.vm"><img src="./images/accessories-text-editor.png" title="Edit" /></a></li>
- <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2020-10-15</li>
- <li id="projectVersion" class="pull-right">Version: 1.3</li>
- </ul>
- </div>
- </header>
- <div class="row-fluid">
- <header id="leftColumn" class="span2">
- <nav class="well sidebar-nav">
- <ul class="nav nav-list">
- <li class="nav-header">Overview</li>
- <li><a href="index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
- <li><a href="apidocs/index.html" title="JavaDocs"><span class="none"></span>JavaDocs</a></li>
- <li><a href="xref/index.html" title="Source Xref"><span class="none"></span>Source Xref</a></li>
- <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
- <li class="active"><a href="#"><span class="none"></span>Download</a></li>
- <li class="nav-header">Parent Project</li>
- <li><a href="../index.html" title="Apache Maven Shared Components"><span class="none"></span>Apache Maven Shared Components</a></li>
- <li class="nav-header">Project Documentation</li>
- <li><a href="project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li>
- <li><a href="project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
- <li class="nav-header">Maven Projects</li>
- <li><a href="../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
- <li><a href="../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
- <li><a href="../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
- <li><a href="../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
- <li><a href="../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
- <li><a href="../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
- <li><a href="../../plugins/index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
- <li><a href="../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
- <li><a href="../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
- <li><a href="../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
- <li><a href="../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
- <li><a href="../index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
- <li><a href="../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
- <li><a href="../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
- <li><a href="../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
- <li class="nav-header">ASF</li>
- <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
- <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
- <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
- <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
- </ul>
- </nav>
- <div class="well sidebar-nav">
-<form id="search-form" action="https://www.google.com/search" method="get" >
- <input value="maven.apache.org/shared/maven-script-interpreter/" name="sitesearch" type="hidden"/>
- <input class="search-query" name="q" id="query" type="text" />
-</form>
-<script>asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
- <hr />
- <div id="poweredBy">
- <div class="clear"></div>
- <div id="twitter" style="border:none; margin-top: 10px">
- <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
- </div>
- <div class="clear"></div>
- <div class="clear"></div>
-<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
- </div>
- </div>
- </header>
- <main id="bodyColumn" class="span10" >
-
-
- <section>
-<h2><a name="Download_Apache_Maven_Script_Interpreter_1.3_Source"></a>Download Apache Maven Script Interpreter 1.3 Source</h2>
-
-
-<p>Apache Maven Script Interpreter 1.3 is distributed in source format. Use a source archive if you intend to build
- Apache Maven Script Interpreter yourself. Otherwise, simply use the ready-made binary artifacts from central repository.</p>
-
-
-<p>You will be prompted for a mirror - if the file is not found on yours, please be patient, as it may take 24
- hours to reach all mirrors.
-<p></p>
-
-
-<p>In order to guard against corrupted downloads/installations, it is highly recommended to
- <a class="externalLink" href="http://www.apache.org/dev/release-signing#verifying-signature">verify the signature</a>
- of the release bundles against the public <a class="externalLink" href="https://www.apache.org/dist/maven/KEYS">KEYS</a> used by the Apache Maven
- developers.</p>
-
-
-<p>Apache Maven Script Interpreter is distributed under the <a class="externalLink" href="http://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
-
-
-<p></p>We <b>strongly</b> encourage our users to configure a Maven repository mirror closer to their location, please read <a href="/guides/mini/guide-mirror-settings.html">How to Use Mirrors for Repositories</a>.
-
- <a name="mirror"></a>
- <section>
-<h3><a name="Mirror"></a>Mirror</h3>
-
-
-<p>
- [if-any logo]
- <a href="[link]">
- <img src="[logo]" align="right" border="0" alt="logo" />
- </a>
- [end]
- The currently selected mirror is
- <b>[preferred]</b>.
- If you encounter a problem with this mirror,
- please select another mirror.
- If all mirrors are failing, there are
- <i>backup</i>
- mirrors
- (at the end of the mirrors list) that should be available.
- </p>
-
- <form action="[location]" method="get" id="SelectMirror">
- Other mirrors:
- <select name="Preferred">
- [if-any http]
- [for http]
- <option value="[http]">[http]</option>
- [end]
- [end]
- [if-any ftp]
- [for ftp]
- <option value="[ftp]">[ftp]</option>
- [end]
- [end]
- [if-any backup]
- [for backup]
- <option value="[backup]">[backup] (backup)</option>
- [end]
- [end]
- </select>
- <input type="submit" value="Change" />
- </form>
-
-
-<p>
- You may also consult the
- <a class="externalLink" href="http://www.apache.org/mirrors/">complete list of
- mirrors.</a>
- </p>
-
- </section>
-
- <section>
-<h3><a name="Apache_Maven_Script_Interpreter_1.3"></a>Apache Maven Script Interpreter 1.3</h3>
-
-
-<p>This is the current stable version of Apache Maven Script Interpreter.</p>
-
-
-<table border="0" class="table table-striped">
- <thead>
-
-<tr class="a">
-
-<th></th>
-
-<th>Link</th>
-
-<th>Checksum</th>
-
-<th>Signature</th>
- </tr>
- </thead>
- <tbody>
-
-<tr class="b">
-
-<td>Apache Maven Script Interpreter 1.3 (Source zip)</td>
-
-<td><a href="[preferred]maven/shared/maven-script-interpreter-1.3-source-release.zip">maven/shared/maven-script-interpreter-1.3-source-release.zip</a></td>
-
-<td><a class="externalLink" href="https://www.apache.org/dist/maven/shared/maven-script-interpreter-1.3-source-release.zip.sha512">maven/shared/maven-script-interpreter-1.3-source-release.zip.sha512</a></td>
-
-<td><a class="externalLink" href="https://www.apache.org/dist/maven/shared/maven-script-interpreter-1.3-source-release.zip.asc">maven/shared/maven-script-interpreter-1.3-source-release.zip.asc</a></td>
- </tr>
- </tbody>
- </table>
- </section>
-
- <section>
-<h3><a name="Previous_Versions"></a>Previous Versions</h3>
-
-
-<p>Older non-recommended releases can be found on our <a class="externalLink" href="http://archive.apache.org/dist/maven/shared/">archive site</a>.</p>
-
- </section>
- </section>
-
-
- </main>
- </div>
- </div>
- <hr/>
- <footer>
- <div class="container-fluid">
- <div class="row-fluid">
- <p>© 2002–2020
-<a href="https://www.apache.org/">The Apache Software Foundation</a>
-</p>
- </div>
- </div>
- </footer>
- </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/xdoc/download.xml.vm at 2022-12-15
+ | Rendered using Apache Maven Fluido Skin 1.9
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+ <title>Apache Maven Script Interpreter – Download Apache Maven Script Interpreter Source</title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+ <script src="./js/apache-maven-fluido-1.9.min.js"></script>
+ </head>
+ <body class="topBarDisabled">
+ <div class="container-fluid">
+ <header>
+ <div id="banner">
+ <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../images/apache-maven-project.png" alt="Apache Maven Script Interpreter"/></a></div>
+ <div class="pull-right"><a href="../../" id="bannerRight"><img src="../../images/maven-logo-black-on-white.png" alt=""/></a></div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+ <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
+ <li class=""><a href="../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
+ <li class=""><a href="../index.html" title="Shared Components">Shared Components</a><span class="divider">/</span></li>
+ <li class=""><a href="index.html" title="Apache Maven Script Interpreter">Apache Maven Script Interpreter</a><span class="divider">/</span></li>
+ <li class="active ">Download Apache Maven Script Interpreter Source <a href="https://github.com/apache/maven-script-interpreter/tree/maven-script-interpreter-1.4/src/site/xdoc/download.xml.vm"><img src="./images/accessories-text-editor.png" title="Edit" /></a></li>
+ <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2022-12-15</li>
+ <li id="projectVersion" class="pull-right">Version: 1.4</li>
+ </ul>
+ </div>
+ </header>
+ <div class="row-fluid">
+ <header id="leftColumn" class="span2">
+ <nav class="well sidebar-nav">
+ <ul class="nav nav-list">
+ <li class="nav-header">Overview</li>
+ <li><a href="index.html" title="Introduction"><span class="none"></span>Introduction</a></li>
+ <li><a href="apidocs/index.html" title="JavaDocs"><span class="none"></span>JavaDocs</a></li>
+ <li><a href="xref/index.html" title="Source Xref"><span class="none"></span>Source Xref</a></li>
+ <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
+ <li class="active"><a href="#"><span class="none"></span>Download</a></li>
+ <li class="nav-header">Parent Project</li>
+ <li><a href="../index.html" title="Apache Maven Shared Components"><span class="none"></span>Apache Maven Shared Components</a></li>
+ <li class="nav-header">Project Documentation</li>
+ <li><a href="project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li>
+ <li><a href="project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
+ <li class="nav-header">Maven Projects</li>
+ <li><a href="../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
+ <li><a href="../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
+ <li><a href="../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
+ <li><a href="../../extensions/index.html" title="Extensions"><span class="none"></span>Extensions</a></li>
+ <li><a href="../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
+ <li><a href="../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
+ <li><a href="../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
+ <li><a href="../../plugins/index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
+ <li><a href="../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
+ <li><a href="../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
+ <li><a href="../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
+ <li><a href="../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
+ <li><a href="../index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
+ <li><a href="../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
+ <li><a href="../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
+ <li><a href="../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
+ <li class="nav-header">ASF</li>
+ <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
+ <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
+ <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Data Privacy"><span class="none"></span>Data Privacy</a></li>
+ <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
+ <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
+ </ul>
+ </nav>
+ <div class="well sidebar-nav">
+ <hr />
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div class="clear"></div>
+<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
+ </div>
+ </div>
+ </header>
+ <main id="bodyColumn" class="span10" >
+
+
+ <section>
+<h2><a name="Download_Apache_Maven_Script_Interpreter_1.4_Source"></a>Download Apache Maven Script Interpreter 1.4 Source</h2>
+
+
+<p>Apache Maven Script Interpreter 1.4 is distributed in source format. Use a source archive if you intend to build
+ Apache Maven Script Interpreter yourself. Otherwise, simply use the ready-made binary artifacts from central repository.</p>
+
+
+<p>You will be prompted for a mirror - if the file is not found on yours, please be patient, as it may take 24
+ hours to reach all mirrors.
+<p></p>
+
+
+<p>In order to guard against corrupted downloads/installations, it is highly recommended to
+ <a class="externalLink" href="http://www.apache.org/dev/release-signing#verifying-signature">verify the signature</a>
+ of the release bundles against the public <a class="externalLink" href="https://www.apache.org/dist/maven/KEYS">KEYS</a> used by the Apache Maven
+ developers.</p>
+
+
+<p>Apache Maven Script Interpreter is distributed under the <a class="externalLink" href="http://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
+
+
+<p></p>We <b>strongly</b> encourage our users to configure a Maven repository mirror closer to their location, please read <a href="/guides/mini/guide-mirror-settings.html">How to Use Mirrors for Repositories</a>.
+
+ <a name="mirror"></a>
+ <section>
+<h3><a name="Mirror"></a>Mirror</h3>
+
+
+<p>
+ [if-any logo]
+ <a href="[link]">
+ <img src="[logo]" align="right" border="0" alt="logo" />
+ </a>
+ [end]
+ The currently selected mirror is
+ <b>[preferred]</b>.
+ If you encounter a problem with this mirror,
+ please select another mirror.
+ If all mirrors are failing, there are
+ <i>backup</i>
+ mirrors
+ (at the end of the mirrors list) that should be available.
+ </p>
+
+ <form action="[location]" method="get" id="SelectMirror">
+ Other mirrors:
+ <select name="Preferred">
+ [if-any http]
+ [for http]
+ <option value="[http]">[http]</option>
+ [end]
+ [end]
+ [if-any ftp]
+ [for ftp]
+ <option value="[ftp]">[ftp]</option>
+ [end]
+ [end]
+ [if-any backup]
+ [for backup]
+ <option value="[backup]">[backup] (backup)</option>
+ [end]
+ [end]
+ </select>
+ <input type="submit" value="Change" />
+ </form>
+
+
+<p>
+ You may also consult the
+ <a class="externalLink" href="http://www.apache.org/mirrors/">complete list of
+ mirrors.</a>
+ </p>
+
+ </section>
+
+ <section>
+<h3><a name="Apache_Maven_Script_Interpreter_1.4"></a>Apache Maven Script Interpreter 1.4</h3>
+
+
+<p>This is the current stable version of Apache Maven Script Interpreter.</p>
+
+
+<table border="0" class="table table-striped">
+ <thead>
+
+<tr class="a">
+
+<th></th>
+
+<th>Link</th>
+
+<th>Checksum</th>
+
+<th>Signature</th>
+ </tr>
+ </thead>
+ <tbody>
+
+<tr class="b">
+
+<td align="left">Apache Maven Script Interpreter 1.4 (Source zip)</td>
+
+<td><a href="[preferred]maven/shared/maven-script-interpreter-1.4-source-release.zip">maven/shared/maven-script-interpreter-1.4-source-release.zip</a></td>
+
+<td><a class="externalLink" href="https://www.apache.org/dist/maven/shared/maven-script-interpreter-1.4-source-release.zip.sha512">maven/shared/maven-script-interpreter-1.4-source-release.zip.sha512</a></td>
+
+<td><a class="externalLink" href="https://www.apache.org/dist/maven/shared/maven-script-interpreter-1.4-source-release.zip.asc">maven/shared/maven-script-interpreter-1.4-source-release.zip.asc</a></td>
+ </tr>
+ </tbody>
+ </table>
+ </section>
+
+ <section>
+<h3><a name="Previous_Versions"></a>Previous Versions</h3>
+
+
+<p>Older non-recommended releases can be found on our <a class="externalLink" href="http://archive.apache.org/dist/maven/shared/">archive site</a>.</p>
+
+ </section>
+ </section>
+
+
+ </main>
+ </div>
+ </div>
+ <hr/>
+ <footer>
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <p>© 2002–2022
+<a href="https://www.apache.org/">The Apache Software Foundation</a>
+</p>
+ </div>
+ </div>
+ </footer>
+ </body>
</html>
\ No newline at end of file
Modified: maven/website/components/shared-archives/maven-script-interpreter-LATEST/index.html
==============================================================================
--- maven/website/components/shared-archives/maven-script-interpreter-LATEST/index.html (original)
+++ maven/website/components/shared-archives/maven-script-interpreter-LATEST/index.html Thu Dec 15 01:08:06 2022
@@ -1,230 +1,200 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src\site\apt/index.apt.vm at 2020-10-15
- | Rendered using Apache Maven Fluido Skin 1.9
--->
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
- <meta name="author" content="Olivier Lamy" />
- <meta name="date" content="2013-07-24" />
- <title>Apache Maven Script Interpreter – Introduction</title>
- <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
- <link rel="stylesheet" href="./css/site.css" />
- <link rel="stylesheet" href="./css/print.css" media="print" />
- <script src="./js/apache-maven-fluido-1.9.min.js"></script>
- <!-- Google Analytics -->
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-140879-1', 'auto');
- ga('send', 'pageview');
- ga('set', 'anonymizeIp', true);
- ga('set', 'forceSSL', true);
- </script>
- </head>
- <body class="topBarDisabled">
- <div class="container-fluid">
- <header>
- <div id="banner">
- <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../images/apache-maven-project.png" alt="Apache Maven Script Interpreter"/></a></div>
- <div class="pull-right"><a href="../../" id="bannerRight"><img src="../../images/maven-logo-black-on-white.png" alt=""/></a></div>
- <div class="clear"><hr/></div>
- </div>
-
- <div id="breadcrumbs">
- <ul class="breadcrumb">
- <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
- <li class=""><a href="../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
- <li class=""><a href="../index.html" title="Shared Components">Shared Components</a><span class="divider">/</span></li>
- <li class=""><a href="index.html" title="Apache Maven Script Interpreter">Apache Maven Script Interpreter</a><span class="divider">/</span></li>
- <li class="active ">Introduction <a href="https://github.com/apache/maven-script-interpreter/tree/maven-script-interpreter-1.3/src\site\apt/index.apt.vm"><img src="./images/accessories-text-editor.png" title="Edit" /></a></li>
- <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2020-10-15</li>
- <li id="projectVersion" class="pull-right">Version: 1.3</li>
- </ul>
- </div>
- </header>
- <div class="row-fluid">
- <header id="leftColumn" class="span2">
- <nav class="well sidebar-nav">
- <ul class="nav nav-list">
- <li class="nav-header">Overview</li>
- <li class="active"><a href="#"><span class="none"></span>Introduction</a></li>
- <li><a href="apidocs/index.html" title="JavaDocs"><span class="none"></span>JavaDocs</a></li>
- <li><a href="xref/index.html" title="Source Xref"><span class="none"></span>Source Xref</a></li>
- <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
- <li><a href="download.html" title="Download"><span class="none"></span>Download</a></li>
- <li class="nav-header">Parent Project</li>
- <li><a href="../index.html" title="Apache Maven Shared Components"><span class="none"></span>Apache Maven Shared Components</a></li>
- <li class="nav-header">Project Documentation</li>
- <li><a href="project-info.html" title="Project Information"><span class="icon-chevron-down"></span>Project Information</a>
- <ul class="nav nav-list">
- <li class="active"><a href="#"><span class="none"></span>About</a></li>
- <li><a href="summary.html" title="Summary"><span class="none"></span>Summary</a></li>
- <li><a href="dependency-info.html" title="Dependency Information"><span class="none"></span>Dependency Information</a></li>
- <li><a href="team.html" title="Team"><span class="none"></span>Team</a></li>
- <li><a href="scm.html" title="Source Code Management"><span class="none"></span>Source Code Management</a></li>
- <li><a href="issue-management.html" title="Issue Management"><span class="none"></span>Issue Management</a></li>
- <li><a href="mailing-lists.html" title="Mailing Lists"><span class="none"></span>Mailing Lists</a></li>
- <li><a href="dependency-management.html" title="Dependency Management"><span class="none"></span>Dependency Management</a></li>
- <li><a href="dependencies.html" title="Dependencies"><span class="none"></span>Dependencies</a></li>
- <li><a href="dependency-convergence.html" title="Dependency Convergence"><span class="none"></span>Dependency Convergence</a></li>
- <li><a href="ci-management.html" title="CI Management"><span class="none"></span>CI Management</a></li>
- <li><a href="plugin-management.html" title="Plugin Management"><span class="none"></span>Plugin Management</a></li>
- <li><a href="plugins.html" title="Plugins"><span class="none"></span>Plugins</a></li>
- <li><a href="distribution-management.html" title="Distribution Management"><span class="none"></span>Distribution Management</a></li>
- </ul></li>
- <li><a href="project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
- <li class="nav-header">Maven Projects</li>
- <li><a href="../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
- <li><a href="../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
- <li><a href="../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
- <li><a href="../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
- <li><a href="../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
- <li><a href="../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
- <li><a href="../../plugins/index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
- <li><a href="../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
- <li><a href="../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
- <li><a href="../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
- <li><a href="../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
- <li><a href="../index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
- <li><a href="../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
- <li><a href="../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
- <li><a href="../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
- <li class="nav-header">ASF</li>
- <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
- <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
- <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
- <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
- </ul>
- </nav>
- <div class="well sidebar-nav">
-<form id="search-form" action="https://www.google.com/search" method="get" >
- <input value="maven.apache.org/shared/maven-script-interpreter/" name="sitesearch" type="hidden"/>
- <input class="search-query" name="q" id="query" type="text" />
-</form>
-<script>asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
- <hr />
- <div id="poweredBy">
- <div class="clear"></div>
- <div id="twitter" style="border:none; margin-top: 10px">
- <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
- </div>
- <div class="clear"></div>
- <div class="clear"></div>
-<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
- </div>
- </div>
- </header>
- <main id="bodyColumn" class="span10" >
-<section>
-<h2><a name="Apache_Maven_Script_Interpreter"></a>Apache Maven Script Interpreter</h2>
-<p>This component provides some utilities to interpret/execute some scripts for various implementations: groovy or beanshell.</p><section>
-<h3><a name="Dependency_declaration"></a>Dependency declaration</h3>
-<div class="source"><pre class="prettyprint linenums"> <dependency>
- <groupId>org.apache.maven.shared</groupId>
- <artifactId>maven-script-interpreter</artifactId>
- <version>1.3</version>
- </dependency>
-</pre></div>
-<p><code>maven-script-interpreter</code> has dependency only to core interpreters library, all specific extensions should be added in your project.</p>
-<p>For example, if you want to use <a class="externalLink" href="https://docs.groovy-lang.org/latest/html/documentation/grape.html"><b>Grape</b></a> in a <b>Groovy</b> script, you must add a dependency to Ivy in your project or in the plugin that will invoke the script:</p>
-<div class="source"><pre class="prettyprint linenums"> <dependency>
- <groupId>org.apache.ivy</groupId>
- <artifactId>ivy</artifactId>
- <version>...</version>
- </dependency>
-</pre></div></section><section>
-<h3><a name="Using_ScriptInterpreter"></a>Using ScriptInterpreter</h3><section>
-<h4><a name="Interpret_BeanShell_script"></a>Interpret BeanShell script</h4>
-<div class="source"><pre class="prettyprint linenums"> ScriptInterpreter interpreter = new BeanShellScriptInterpreter();
- ByteArrayOutputStream out = new ByteArrayOutputStream();
- interpreter.evaluateScript( script content, extra classPath entries,
- Map<String, ? extends Object> globalVariables, new PrintStream( out ) );
-</pre></div>
-<p><code>out.toString()</code> returns script output.</p></section><section>
-<h4><a name="Interpret_a_Groovy_script"></a>Interpret a Groovy script</h4>
-<div class="source"><pre class="prettyprint linenums"> ScriptInterpreter interpreter = new GroovyScriptInterpreter();
- ByteArrayOutputStream out = new ByteArrayOutputStream();
- interpreter.evaluateScript( script content, extra classPath entries,
- Map<String, ? extends Object> globalVariables, new PrintStream( out ) );
-</pre></div>
-<p><code>out.toString()</code> returns script output.</p></section></section><section>
-<h3><a name="Using_ScriptRunner"></a>Using ScriptRunner</h3>
-<p><code>ScriptRunner</code> class will detect the script file to run based on supported extensions (<code>.bsh</code>, <code>.groovy</code>).</p>
-<p>This class will search in the provided directory the script with the provided fileName and the supported extensions.</p>
-<p>See <a href="./apidocs/org/apache/maven/shared/scriptinterpreter/ScriptRunner.html">javadoc</a> for <code>run(...)</code> methods.</p>
-<div class="source"><pre class="prettyprint linenums"> ScriptRunner scriptRunner = new ScriptRunner();
- scriptRunner.run( "test", new File( "src/test/resources/bsh-test" ), "verify", buildContext(),
- new FileLogger( logFile ) );
-</pre></div></section><section>
-<h3><a name="Mirror_output_from_script_interpreter"></a>Mirror output from script interpreter</h3>
-<p>In order to do something more with script output, eg. log by your application you must implement <code>FileLoggerMirrorHandler</code></p>
-<div class="source"><pre class="prettyprint linenums">class MyMirrorHandler implements FileLoggerMirrorHandler
-{
- void consumeOutput( String message )
- {
- // this method is invoked every time when flush occurs on the underlying stream.
- }
-}
-</pre></div>
-<p>Now use it:</p>
-<div class="source"><pre class="prettyprint linenums"> ScriptRunner scriptRunner = new ScriptRunner();
- scriptRunner.run( "test", new File( "src/test/resources/bsh-test" ), "verify", buildContext(),
- new FileLogger( logFile, new MyMirrorHandler() ) );
-</pre></div><section>
-<h4><a name="Global_variables"></a>Global variables</h4>
-<p>Your scripts will have by default two global variables:</p>
-<ul>
-<li><code>basedir</code>: the base directory of your script</li>
-<li><code>context</code>: the build context (see below)</li></ul>
-<p>You can add more global variables as it.</p>
-<div class="source"><pre class="prettyprint linenums"> ScriptRunner scriptRunner = new ScriptRunner();
- scriptRunner.setGlobalVariable( name, value );
-</pre></div></section><section>
-<h4><a name="Build_context"></a>Build context</h4>
-<p>You can pass some values to your script using an execution context which have the type <code>Map<String, ? extends Object> context</code>:</p>
-<div class="source"><pre class="prettyprint linenums">private Map<String, Object> buildContext()
-{
- Map<String, Object> context = new HashMap<String, Object>();
- context.put( "foo", "bar" );
- return context;
-}
-</pre></div>
-<p>Then values are available in scripts context:</p>
-<div class="source"><pre class="prettyprint linenums"> // in your bsh script
- String value = context.get( "foo" );
-</pre></div>
-<p>value will be "bar"</p>
-<div class="source"><pre class="prettyprint linenums"> // in your Groovy script
- context.get("foo")
-</pre></div></section><section>
-<h4><a name="Additionnal_classpath_entries"></a>Additionnal classpath entries</h4>
-<p>You can add some additional classpath entries for your script execution</p>
-<div class="source"><pre class="prettyprint linenums">
- List<String> classpathEntries = list of jar paths
- ScriptRunner scriptRunner = new ScriptRunner();
- scriptRunner.setClassPath( classpathEntries );
- scriptRunner.run( "test", new File( "src/test/resources/bsh-test" ), "verify", buildContext(),
- new FileLogger( logFile ) );
-</pre></div></section></section></section>
- </main>
- </div>
- </div>
- <hr/>
- <footer>
- <div class="container-fluid">
- <div class="row-fluid">
- <p>© 2002–2020
-<a href="https://www.apache.org/">The Apache Software Foundation</a>
-</p>
- </div>
- </div>
- </footer>
- </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/apt/index.apt.vm at 2022-12-15
+ | Rendered using Apache Maven Fluido Skin 1.9
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+ <meta name="author" content="Olivier Lamy" />
+ <meta name="date" content="2013-07-24" />
+ <title>Apache Maven Script Interpreter – Introduction</title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+ <script src="./js/apache-maven-fluido-1.9.min.js"></script>
+ </head>
+ <body class="topBarDisabled">
+ <div class="container-fluid">
+ <header>
+ <div id="banner">
+ <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../images/apache-maven-project.png" alt="Apache Maven Script Interpreter"/></a></div>
+ <div class="pull-right"><a href="../../" id="bannerRight"><img src="../../images/maven-logo-black-on-white.png" alt=""/></a></div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+ <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li>
+ <li class=""><a href="../../index.html" title="Maven">Maven</a><span class="divider">/</span></li>
+ <li class=""><a href="../index.html" title="Shared Components">Shared Components</a><span class="divider">/</span></li>
+ <li class=""><a href="index.html" title="Apache Maven Script Interpreter">Apache Maven Script Interpreter</a><span class="divider">/</span></li>
+ <li class="active ">Introduction <a href="https://github.com/apache/maven-script-interpreter/tree/maven-script-interpreter-1.4/src/site/apt/index.apt.vm"><img src="./images/accessories-text-editor.png" title="Edit" /></a></li>
+ <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2022-12-15</li>
+ <li id="projectVersion" class="pull-right">Version: 1.4</li>
+ </ul>
+ </div>
+ </header>
+ <div class="row-fluid">
+ <header id="leftColumn" class="span2">
+ <nav class="well sidebar-nav">
+ <ul class="nav nav-list">
+ <li class="nav-header">Overview</li>
+ <li class="active"><a href="#"><span class="none"></span>Introduction</a></li>
+ <li><a href="apidocs/index.html" title="JavaDocs"><span class="none"></span>JavaDocs</a></li>
+ <li><a href="xref/index.html" title="Source Xref"><span class="none"></span>Source Xref</a></li>
+ <li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
+ <li><a href="download.html" title="Download"><span class="none"></span>Download</a></li>
+ <li class="nav-header">Parent Project</li>
+ <li><a href="../index.html" title="Apache Maven Shared Components"><span class="none"></span>Apache Maven Shared Components</a></li>
+ <li class="nav-header">Project Documentation</li>
+ <li><a href="project-info.html" title="Project Information"><span class="icon-chevron-down"></span>Project Information</a>
+ <ul class="nav nav-list">
+ <li class="active"><a href="#"><span class="none"></span>About</a></li>
+ <li><a href="summary.html" title="Summary"><span class="none"></span>Summary</a></li>
+ <li><a href="dependency-info.html" title="Dependency Information"><span class="none"></span>Dependency Information</a></li>
+ <li><a href="team.html" title="Team"><span class="none"></span>Team</a></li>
+ <li><a href="scm.html" title="Source Code Management"><span class="none"></span>Source Code Management</a></li>
+ <li><a href="issue-management.html" title="Issue Management"><span class="none"></span>Issue Management</a></li>
+ <li><a href="mailing-lists.html" title="Mailing Lists"><span class="none"></span>Mailing Lists</a></li>
+ <li><a href="dependency-management.html" title="Dependency Management"><span class="none"></span>Dependency Management</a></li>
+ <li><a href="dependencies.html" title="Dependencies"><span class="none"></span>Dependencies</a></li>
+ <li><a href="dependency-convergence.html" title="Dependency Convergence"><span class="none"></span>Dependency Convergence</a></li>
+ <li><a href="ci-management.html" title="CI Management"><span class="none"></span>CI Management</a></li>
+ <li><a href="plugin-management.html" title="Plugin Management"><span class="none"></span>Plugin Management</a></li>
+ <li><a href="plugins.html" title="Plugins"><span class="none"></span>Plugins</a></li>
+ <li><a href="distribution-management.html" title="Distribution Management"><span class="none"></span>Distribution Management</a></li>
+ </ul></li>
+ <li><a href="project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
+ <li class="nav-header">Maven Projects</li>
+ <li><a href="../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
+ <li><a href="../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li>
+ <li><a href="../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li>
+ <li><a href="../../extensions/index.html" title="Extensions"><span class="none"></span>Extensions</a></li>
+ <li><a href="../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li>
+ <li><a href="../../ref/current" title="Maven"><span class="none"></span>Maven</a></li>
+ <li><a href="../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li>
+ <li><a href="../../plugins/index.html" title="Plugins"><span class="none"></span>Plugins</a></li>
+ <li><a href="../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li>
+ <li><a href="../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li>
+ <li><a href="../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li>
+ <li><a href="../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li>
+ <li><a href="../index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li>
+ <li><a href="../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li>
+ <li><a href="../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li>
+ <li><a href="../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li>
+ <li class="nav-header">ASF</li>
+ <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li>
+ <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
+ <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Data Privacy"><span class="none"></span>Data Privacy</a></li>
+ <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
+ <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
+ </ul>
+ </nav>
+ <div class="well sidebar-nav">
+ <hr />
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div class="clear"></div>
+<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
+ </div>
+ </div>
+ </header>
+ <main id="bodyColumn" class="span10" >
+<section>
+<h2><a name="Apache_Maven_Script_Interpreter"></a>Apache Maven Script Interpreter</h2>
+<p>This component provides some utilities to interpret/execute some scripts for various implementations: groovy or beanshell.</p><section>
+<h3><a name="Dependency_declaration"></a>Dependency declaration</h3>
+<div class="source"><pre class="prettyprint linenums"> <dependency>
+ <groupId>org.apache.maven.shared</groupId>
+ <artifactId>maven-script-interpreter</artifactId>
+ <version>1.4</version>
+ </dependency></pre></div>
+<p><code>maven-script-interpreter</code> has dependency only to core interpreters library, all specific extensions should be added in your project.</p>
+<p>For example, if you want to use <a class="externalLink" href="https://docs.groovy-lang.org/latest/html/documentation/grape.html"><b>Grape</b></a> in a <b>Groovy</b> script, you must add a dependency to Ivy in your project or in the plugin that will invoke the script:</p>
+<div class="source"><pre class="prettyprint linenums"> <dependency>
+ <groupId>org.apache.ivy</groupId>
+ <artifactId>ivy</artifactId>
+ <version>...</version>
+ </dependency></pre></div></section><section>
+<h3><a name="Using_ScriptInterpreter"></a>Using ScriptInterpreter</h3><section>
+<h4><a name="Interpret_BeanShell_script"></a>Interpret BeanShell script</h4>
+<div class="source"><pre class="prettyprint linenums"> ScriptInterpreter interpreter = new BeanShellScriptInterpreter();
+ ByteArrayOutputStream out = new ByteArrayOutputStream();
+ interpreter.evaluateScript( script content, extra classPath entries,
+ Map<String, ? extends Object> globalVariables, new PrintStream( out ) );</pre></div>
+<p><code>out.toString()</code> returns script output.</p></section><section>
+<h4><a name="Interpret_a_Groovy_script"></a>Interpret a Groovy script</h4>
+<div class="source"><pre class="prettyprint linenums"> ScriptInterpreter interpreter = new GroovyScriptInterpreter();
+ ByteArrayOutputStream out = new ByteArrayOutputStream();
+ interpreter.evaluateScript( script content, extra classPath entries,
+ Map<String, ? extends Object> globalVariables, new PrintStream( out ) );</pre></div>
+<p><code>out.toString()</code> returns script output.</p></section></section><section>
+<h3><a name="Using_ScriptRunner"></a>Using ScriptRunner</h3>
+<p><code>ScriptRunner</code> class will detect the script file to run based on supported extensions (<code>.bsh</code>, <code>.groovy</code>).</p>
+<p>This class will search in the provided directory the script with the provided fileName and the supported extensions.</p>
+<p>See <a href="./apidocs/org/apache/maven/shared/scriptinterpreter/ScriptRunner.html">javadoc</a> for <code>run(...)</code> methods.</p>
+<div class="source"><pre class="prettyprint linenums"> ScriptRunner scriptRunner = new ScriptRunner();
+ scriptRunner.run( "test", new File( "src/test/resources/bsh-test" ), "verify", buildContext(),
+ new FileLogger( logFile ) );</pre></div></section><section>
+<h3><a name="Mirror_output_from_script_interpreter"></a>Mirror output from script interpreter</h3>
+<p>In order to do something more with script output, eg. log by your application you must implement <code>FileLoggerMirrorHandler</code></p>
+<div class="source"><pre class="prettyprint linenums">class MyMirrorHandler implements FileLoggerMirrorHandler
+{
+ void consumeOutput( String message )
+ {
+ // this method is invoked every time when flush occurs on the underlying stream.
+ }
+}</pre></div>
+<p>Now use it:</p>
+<div class="source"><pre class="prettyprint linenums"> ScriptRunner scriptRunner = new ScriptRunner();
+ scriptRunner.run( "test", new File( "src/test/resources/bsh-test" ), "verify", buildContext(),
+ new FileLogger( logFile, new MyMirrorHandler() ) );</pre></div><section>
+<h4><a name="Global_variables"></a>Global variables</h4>
+<p>Your scripts will have by default two global variables:</p>
+<ul>
+<li><code>basedir</code>: the base directory of your script</li>
+<li><code>context</code>: the build context (see below)</li></ul>
+<p>You can add more global variables as it.</p>
+<div class="source"><pre class="prettyprint linenums"> ScriptRunner scriptRunner = new ScriptRunner();
+ scriptRunner.setGlobalVariable( name, value );</pre></div></section><section>
+<h4><a name="Build_context"></a>Build context</h4>
+<p>You can pass some values to your script using an execution context which have the type <code>Map<String, ? extends Object> context</code>:</p>
+<div class="source"><pre class="prettyprint linenums">private Map<String, Object> buildContext()
+{
+ Map<String, Object> context = new HashMap<String, Object>();
+ context.put( "foo", "bar" );
+ return context;
+}</pre></div>
+<p>Then values are available in scripts context:</p>
+<div class="source"><pre class="prettyprint linenums"> // in your bsh script
+ String value = context.get( "foo" );</pre></div>
+<p>value will be "bar"</p>
+<div class="source"><pre class="prettyprint linenums"> // in your Groovy script
+ context.get("foo")</pre></div></section><section>
+<h4><a name="Additionnal_classpath_entries"></a>Additionnal classpath entries</h4>
+<p>You can add some additional classpath entries for your script execution</p>
+<div class="source"><pre class="prettyprint linenums">
+ List<String> classpathEntries = list of jar paths
+ ScriptRunner scriptRunner = new ScriptRunner();
+ scriptRunner.setClassPath( classpathEntries );
+ scriptRunner.run( "test", new File( "src/test/resources/bsh-test" ), "verify", buildContext(),
+ new FileLogger( logFile ) );</pre></div></section></section></section>
+ </main>
+ </div>
+ </div>
+ <hr/>
+ <footer>
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <p>© 2002–2022
+<a href="https://www.apache.org/">The Apache Software Foundation</a>
+</p>
+ </div>
+ </div>
+ </footer>
+ </body>
</html>
\ No newline at end of file