Re: [Math] Release hurdles

2022-12-13 Thread Gilles Sadowski
Hello. Next problem: $ JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 mvn -Duser.name=erans clean deploy -Prelease [...] [INFO] Reactor Summary for Apache Commons Math 4.0-beta1: [INFO] [INFO] Apache Commons Math SUCCESS [ 11.845 s] [INFO] Miscellaneous core classes

Re: [Math] Release hurdles

2022-12-13 Thread Gilles Sadowski
Le mar. 13 déc. 2022 à 17:45, sebb a écrit : > > On Tue, 13 Dec 2022 at 14:09, Gilles Sadowski wrote: > > > > Hello. > > > > I'm at the step that should upload the artefacts to the "nexus" server: > > $ JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 mvn -Duser.name=erans > > clean deploy

Re: [Math] "mvn commons-build:download-page" fails with Java 11

2022-12-13 Thread sebb
On Tue, 13 Dec 2022 at 12:28, Gary Gregory 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

Re: [Math] Release hurdles

2022-12-13 Thread sebb
On Tue, 13 Dec 2022 at 14:09, Gilles Sadowski wrote: > > Hello. > > I'm at the step that should upload the artefacts to the "nexus" server: > $ JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 mvn -Duser.name=erans > clean deploy -Prelease > > I get this message: > ---CUT--- > [ERROR] Failed to

[Math] Release hurdles

2022-12-13 Thread Gilles Sadowski
Hello. I'm at the step that should upload the artefacts to the "nexus" server: $ JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 mvn -Duser.name=erans clean deploy -Prelease I get this message: ---CUT--- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy

Re: [Math] "mvn commons-build:download-page" fails with Java 11

2022-12-13 Thread Gary Gregory
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. Gary On Tue, Dec 13, 2022, 04:01 Alex Herbert wrote: > On Tue, 13 Dec 2022 at 01:05, Gilles Sadowski > wrote: > > > > Hello. > > > > Running > > $

Re: [Math] "mvn commons-build:download-page" fails with Java 11

2022-12-13 Thread Gilles Sadowski
Hi. Le mar. 13 déc. 2022 à 10:01, Alex Herbert a écrit : > > On Tue, 13 Dec 2022 at 01:05, Gilles Sadowski wrote: > > > > Hello. > > > > Running > > $ JAVA_HOME=~/java/jdk/oracle/jdk1.8.0_333 mvn commons-build:download-page > > [...] > > [INFO] BUILD SUCCESS > > [...] > > > > Running > > $

Re: [Math] "mvn commons-build:download-page" fails with Java 11

2022-12-13 Thread Alex Herbert
On Tue, 13 Dec 2022 at 01:05, Gilles Sadowski 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 > [...]