[jira] [Commented] (SLING-10691) mvn sonar:sonar (Java 11) fails for many modules, "Unable to create javax script engine for javascript"

2021-07-30 Thread Eric Norman (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-10691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390745#comment-17390745
 ] 

Eric Norman commented on SLING-10691:
-

Likely the same root cause as SLING-8734 which still needs some attention to 
get all the modules updated to a recent sling parent (> 35)

> mvn sonar:sonar (Java 11) fails for many modules, "Unable to create javax 
> script engine for javascript"
> ---
>
> Key: SLING-10691
> URL: https://issues.apache.org/jira/browse/SLING-10691
> Project: Sling
>  Issue Type: Bug
>Reporter: Bertrand Delacretaz
>Priority: Major
>
> This error at 
> https://ci-builds.apache.org/job/Sling/view/Monitor/job/modules/job/sling-maven-launchpad-plugin/job/master/56/console
>  seems to be common to many of our modules, for which {{mvn sonar:sonar}} 
> fails on Jenkins:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-antrun-plugin:1.8:run
> (set-bundle-required-execution-environment) on project maven-launchpad-plugin:
> An Ant BuildException has occured:
> Unable to create javax script engine for javascript
> [ERROR] around Ant part ...
> 

[jira] [Commented] (SLING-10691) mvn sonar:sonar (Java 11) fails for many modules, "Unable to create javax script engine for javascript"

2021-07-30 Thread Bertrand Delacretaz (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-10691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390609#comment-17390609
 ] 

Bertrand Delacretaz commented on SLING-10691:
-

To experiment with minimal changes for one of these old modules I tried just 
setting the parent pom version to 43 and adding the missing dependencies 
versions to the {{sling-org-apache-sling-junit-healthcheck}} module, using the 
same versions as reported by {{mvn dependency:tree}} before the changes 
([commit 
571173|https://github.com/apache/sling-org-apache-sling-junit-healthcheck/commit/5711734d9284a2c8ed101ecf2b645e5f4ca5fc6b])
 and that build passes now.

> mvn sonar:sonar (Java 11) fails for many modules, "Unable to create javax 
> script engine for javascript"
> ---
>
> Key: SLING-10691
> URL: https://issues.apache.org/jira/browse/SLING-10691
> Project: Sling
>  Issue Type: Bug
>Reporter: Bertrand Delacretaz
>Priority: Major
>
> This error at 
> https://ci-builds.apache.org/job/Sling/view/Monitor/job/modules/job/sling-maven-launchpad-plugin/job/master/56/console
>  seems to be common to many of our modules, for which {{mvn sonar:sonar}} 
> fails on Jenkins:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-antrun-plugin:1.8:run
> (set-bundle-required-execution-environment) on project maven-launchpad-plugin:
> An Ant BuildException has occured:
> Unable to create javax script engine for javascript
> [ERROR] around Ant part ...
> 

[jira] [Commented] (SLING-10691) mvn sonar:sonar (Java 11) fails for many modules, "Unable to create javax script engine for javascript"

2021-07-30 Thread Bertrand Delacretaz (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-10691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390494#comment-17390494
 ] 

Bertrand Delacretaz commented on SLING-10691:
-

Note also [https://ci-builds.apache.org/job/Sling/view/Monitor/] - that's where 
all the orange prompted me to have a look.

> mvn sonar:sonar (Java 11) fails for many modules, "Unable to create javax 
> script engine for javascript"
> ---
>
> Key: SLING-10691
> URL: https://issues.apache.org/jira/browse/SLING-10691
> Project: Sling
>  Issue Type: Bug
>Reporter: Bertrand Delacretaz
>Priority: Major
>
> This error at 
> https://ci-builds.apache.org/job/Sling/view/Monitor/job/modules/job/sling-maven-launchpad-plugin/job/master/56/console
>  seems to be common to many of our modules, for which {{mvn sonar:sonar}} 
> fails on Jenkins:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-antrun-plugin:1.8:run
> (set-bundle-required-execution-environment) on project maven-launchpad-plugin:
> An Ant BuildException has occured:
> Unable to create javax script engine for javascript
> [ERROR] around Ant part ...
>