On Tue, 13 Dec 2022 at 12:28, Gary Gregory <[email protected]> wrote: > > You can look at how Commons Text builds, basically, JavaScript (Nashorn) > was removed from the JRE, so you have to add a JS engine like GraalVM.
Given that all Commons components are likely to be affected by this, it seems to me that the fix should be applied to the Commons Parent POM, though of course it would be better if the Maven plugin could be adjusted to fix the issue. > Gary > > On Tue, Dec 13, 2022, 04:01 Alex Herbert <[email protected]> wrote: > > > On Tue, 13 Dec 2022 at 01:05, Gilles Sadowski <[email protected]> > > wrote: > > > > > > Hello. > > > > > > Running > > > $ JAVA_HOME=~/java/jdk/oracle/jdk1.8.0_333 mvn > > commons-build:download-page > > > [...] > > > [INFO] BUILD SUCCESS > > > [...] > > > > > > Running > > > $ JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ mvn > > commons-build:download-page > > > [...] > > > [ERROR] Failed to execute goal > > > org.apache.commons:commons-build-plugin:1.12:download-page > > > (default-cli) on project commons-math4-core: Failed to execute: > > > Executing Ant script: generate-xdocs.build.xml [download-page]: Failed > > > to execute.: The following error occurred while executing this line: > > > [ERROR] /tmp/plexus-ant-component18328128830526809687.build.xml:215: > > > Unable to create javax script engine for javascript > > > [...] > > > > I did not find a solution for this when doing the latest releases. I > > put this note in the release notes doc: > > > > Note: This command presently requires Java 8. > > > > Alex > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
