Hi.

Le mar. 13 déc. 2022 à 10:01, Alex Herbert <alex.d.herb...@gmail.com> a écrit :
>
> On Tue, 13 Dec 2022 at 01:05, Gilles Sadowski <gillese...@gmail.com> 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.

Yes, I was checking back and forth if there were differences between the
"howto" document in [Math] and [RNG], and I noticed that remark, but
somehow I translated it to "This does not work for *older* JDK anymore"
(i.e. in the same way that we say "Requires Java 8" in the release notes
of a component).  [Does the error imply that there is a bug in the "script"
mentioned ("generate-xdocs.build.xml")?]

Since we are trying to process the release of all math-related components
in the same way, wouldn't it be better to have a single "howto" document?

Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to