[
https://issues.apache.org/jira/browse/SLING-7072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16136558#comment-16136558
]
Bertrand Delacretaz commented on SLING-7072:
--------------------------------------------
We indeed use the antrun plugin in other places, for various things like
copying files, creating test bundles etc. so getting rid of it is not
convenient.
List of poms which refer to maven-antrun-plugin:
{code}
./bundles/commons/log/pom.xml
./bundles/commons/log-webconsole/pom.xml
./contrib/extensions/datasource/pom.xml
./contrib/extensions/distribution/it/pom.xml
./contrib/extensions/slf4j-mdc/pom.xml
./installer/core/pom.xml
./installer/it/pom.xml
./launchpad/base/pom.xml
./parent/pom.xml
./tooling/maven/archetypes/servlet/pom.xml
./tooling/maven/archetypes/taglib/pom.xml
{code}
> Build failure with Java 9 - unable to create javax script engine for
> javascript
> -------------------------------------------------------------------------------
>
> Key: SLING-7072
> URL: https://issues.apache.org/jira/browse/SLING-7072
> Project: Sling
> Issue Type: Bug
> Components: General
> Reporter: Robert Munteanu
> Fix For: Parent 32
>
>
> {noformat}[ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-antrun-plugin:1.8:run
> (set-bundle-required-execution-environment) on project
> org.apache.sling.engine: An Ant BuildException has occured: Unable to create
> javax script engine for javascript
> [ERROR] around Ant part ...<script language="javascript">var System =
> java.lang.System;... @ 4:33 in
> /home/robert/Documents/sources/apache/sling/bundles/engine/target/antrun/build-main.xml
> [ERROR] -> [Help 1]{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)