git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache Commons CSV build does not work on Java 11 EA (Was: [VOTE] Release Apache Commons CSV 1.6 based on RC1)


Gary/Benedikt,

I was advised by my JaCoCo contact that you are using JaCoCo version 0.8.1,

while support for Java 11 was added in *0.8.2* - see https://www.jacoco.org/jacoco/trunk/doc/changes.html

Rgds,Rory

On 20/09/2018 13:45, Gary Gregory wrote:
This seems to be a problem surfaced by JaCoCo.

Gary


On Thu, Sep 20, 2018, 01:15 Benedikt Ritter <britter@xxxxxxxxxx> wrote:

Hello Rory,

please see below - the Apache Commons CSV component can not be build on
Windows using Java 11 EA. I did not have the time to investigate this yet,
but maybe you're already aware of this?

Regards,
Benedikt

---------- Forwarded message ---------
From: Gary Gregory <garydgregory@xxxxxxxxx>
Date: Do., 20. Sep. 2018 um 02:30 Uhr
Subject: Re: [VOTE] Release Apache Commons CSV 1.6 based on RC1
To: Commons Developers List <dev@xxxxxxxxxxxxxxxxxx>


+1

bin zip: ASC, SHA512 OK
src zip: ASC, SHA512 OK

 From src zip:

Builds OK with 'mvn -V clean package site' using

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T12:33:14-06:00)
Maven home: C:\Java\apache-maven-3.5.4\bin\..
Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk1.8.0_181\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Maven apache-rat:check OK
Maven clirr:check OK

Generated reports OK.

Running 'mvn clean package' OK with:

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T12:33:14-06:00)
Maven home: C:\Java\apache-maven-3.5.4\bin\..
Java version: 9.0.4, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk-9.0.4
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T12:33:14-06:00)
Maven home: C:\Java\apache-maven-3.5.4\bin\..
Java version: 10.0.2, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk-10.0.2
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

FAILs with:

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T12:33:14-06:00)
Maven home: C:\Java\apache-maven-3.5.4\bin\..
Java version: 11, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk-11
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 13.831 s
[INFO] Finished at: 2018-09-19T18:30:03-06:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test)
on project commons-csv: There are test failures.
[ERROR]
[ERROR] Please refer to
C:\temp\rc\commons-csv-1.6-src\target\surefire-reports for the individual
test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash
or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-11\bin\java"

-javaagent:C:\\Users\\ggregory\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.1\\org.jacoco.agent-0.8.1-runtime.jar=destfile=C:\\temp\\rc\\commons-csv-1.6-src\\target\\jacoco.exec
-jar

C:\Users\ggregory\AppData\Local\Temp\surefire8193357594532737911\surefirebooter4797436355437582319.jar
C:\Users\ggregory\AppData\Local\Temp\surefire8193357594532737911
2018-09-19T18-30-01_925-jvmRun1 surefire14765244413659300989tmp
surefire_06894247545608575344tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The
forked VM terminated without properly saying goodbye. VM crash or
System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-11\bin\java"

-javaagent:C:\\Users\\ggregory\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.1\\org.jacoco.agent-0.8.1-runtime.jar=destfile=C:\\temp\\rc\\commons-csv-1.6-src\\target\\jacoco.exec
-jar

C:\Users\ggregory\AppData\Local\Temp\surefire8193357594532737911\surefirebooter4797436355437582319.jar
C:\Users\ggregory\AppData\Local\Temp\surefire8193357594532737911
2018-09-19T18-30-01_925-jvmRun1 surefire14765244413659300989tmp
surefire_06894247545608575344tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR]         at

org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:671)
[ERROR]         at

org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
[ERROR]         at

org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278)
[ERROR]         at

org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244)
[ERROR]         at

org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1194)
[ERROR]         at

org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1022)
[ERROR]         at

org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:868)
[ERROR]         at

org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR]         at

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
[ERROR]         at

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
[ERROR]         at

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
[ERROR]         at

org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR]         at

org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR]         at

org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR]         at

org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR]         at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR]         at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR]         at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR]         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:954)
[ERROR]         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
[ERROR]         at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
[ERROR]         at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[ERROR]         at

java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR]         at

java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR]         at
java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR]         at

org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
[ERROR]         at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
[ERROR]         at

org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
[ERROR]         at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR]

Gary


On Wed, Sep 19, 2018 at 6:31 AM Benedikt Ritter <britter@xxxxxxxxxx>
wrote:

Hi,

we have fixed some bugs and added some features since Commons CSV 1.5 has
been released, so I would like to release Commons CSV 1.6 based on RC1

Commons CSV 1.6 is available for review here:
   https://dist.apache.org/repos/dist/dev/commons/csv/1.6-RC1/ (r29508)

The tag is here:



https://git-wip-us.apache.org/repos/asf?p=commons-csv.git;a=tag;h=3c2d7919f325d1f046dff55e139455693cc68005
The Maven Artifacts are here:



https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/
These are the Maven Artifacts and their hashes:
/org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar.asc
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar.asc
(SHA1: 5ca098877478f554085dace80ef4bf484ec422c0)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar.asc
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar.asc
(SHA1: 2c637fa312b01e091b6bf5388bca4c40890b6f8a)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar.asc
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar.asc
(SHA1: 3ac363851526e57f0b833faf9ae58d93769df377)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar
(SHA1: 22b3c2f901af973a8ec4f24e80c8c0c77a600b79)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom
(SHA1: 7d6919d5b7f35a736631b37cf07c6e146e02e2d6)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar
(SHA1: 1a912bc6e79af7903600cbc9ee7c365ee356c9af)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom.asc
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom.asc
(SHA1: 122fd1dd76797a3df6e21de7269f65843ade912c)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar
(SHA1: 25316661324eacc7f8f61a9f389cb9efe034e43f)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar
(SHA1: 7163d5c8c70c71d32507583a3f6297302b32fa71)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar.asc
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar.asc
(SHA1: 0f148adef1676bb532170a6e4fffbbcf98f69dd5)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar
(SHA1: 5c5d54b48c86d4972a9894dbf35edcdc5656930f)
/org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar.asc
<

https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar.asc
(SHA1: 2f03131beeab5cf5c38e0b19e85bd0d8dfe14fd2)

I have tested this with Java 8 using Maven 3.5.4.

Details of changes since 1.1 are in the release notes:



https://dist.apache.org/repos/dist/dev/commons/csv/1.6-RC1/RELEASE-NOTES.txt


http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/changes-report.html
Site:
   http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/
(note some *relative* links are broken and the 1.6 directories are not
yet
created - these will be OK once the site is deployed)

Clirr Report (compared to 1.5):



http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/clirr-report.html
RAT Report:


http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/rat-report.html
KEYS:
   https://www.apache.org/dist/commons/KEYS

Please review this release candidate and vote. This vote will close no
sooner than 72 hours from now, i.e. sometime after 14:30 CEST
22-September
2018

   [ ] +1 Release these artifacts
   [ ] +0 OK, but...
   [ ] -0 OK, but really should fix...
   [ ] -1 I oppose this release because...

Thanks!
Benedikt


--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland