Correction WRT Java 10.0.1. This is fixed by using the current version of
the Maven Jacoco plugin.

But, then we get the same problem with Java 11 build 11-ea+17, so go
figure; at least we can build with Java 10.

Gary


On Fri, Jun 15, 2018 at 4:13 PM Gary Gregory <[email protected]> wrote:

> +1
>
> Typo in RELEASE-NOTES.txt: commons-release-plgin ->
> commons-release-plugin.
>
> From src zip, ASC, SHA1, SHA256 OK.
>
> PMD report shows minor TODOs. Other reports OK. RAT check OK.
>
> Builds OK with 'mvn clean site' and 'mvn clean install' using:
>
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297;
> 2018-02-24T12:49:05-07:00)
> Maven home: C:\Java\apache-maven-3.5.3\bin\..
> Java version: 1.8.0_172, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_172\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297;
> 2018-02-24T12:49:05-07:00)
> Maven home: C:\Java\apache-maven-3.5.3\bin\..
> Java version: 9.0.4, vendor: Oracle Corporation
> Java home: 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"
>
> Note that running 'mvn clean install' using:
>
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297;
> 2018-02-24T12:49:05-07:00)
> Maven home: C:\Java\apache-maven-3.5.3\bin\..
> Java version: 10.0.1, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk-10.0.1
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
> Blows up in Surefire:
>
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [WARNING] Corrupted STDOUT by directly writing to native stream in forked
> JVM 1. See FAQ web page and the dump file
> C:\temp\rc\commons-release-plugin-1.3-src\target\surefire-reports\2018-06-15T16-11-08_434-jvmRun1.dumpstream
> [INFO]
> [INFO] Results:
> [INFO]
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 15.712 s
> [INFO] Finished at: 2018-06-15T16:11:09-06:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test)
> on project commons-release-plugin: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> C:\temp\rc\commons-release-plugin-1.3-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-10.0.1\bin\java"
> -javaagent:C:\\Users\\ggregory\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.0\\org.jacoco.agent-0.8.0-runtime.jar=destfile=C:\\temp\\rc\\commons-release-plugin-1.3-src\\target\\jacoco.exec
> -jar
> C:\Users\ggregory\AppData\Local\Temp\surefire4422633738836169736\surefirebooter6779609331536465893.jar
> C:\Users\ggregory\AppData\Local\Temp\surefire4422633738836169736
> 2018-06-15T16-11-08_434-jvmRun1 surefire7905804489586457560tmp
> surefire_02614775821662875920tmp"
> [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-10.0.1\bin\java"
> -javaagent:C:\\Users\\ggregory\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.0\\org.jacoco.agent-0.8.0-runtime.jar=destfile=C:\\temp\\rc\\commons-release-plugin-1.3-src\\target\\jacoco.exec
> -jar
> C:\Users\ggregory\AppData\Local\Temp\surefire4422633738836169736\surefirebooter6779609331536465893.jar
> C:\Users\ggregory\AppData\Local\Temp\surefire4422633738836169736
> 2018-06-15T16-11-08_434-jvmRun1 surefire7905804489586457560tmp
> surefire_02614775821662875920tmp"
> [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:1149)
> [ERROR]         at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:978)
> [ERROR]         at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:854)
> [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:956)
> [ERROR]         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
> [ERROR]         at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
> [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:564)
> [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]
>
> Hopefully, the next version of Surefire will address that.
>
> Gary
>
>
>
> On Fri, Jun 15, 2018 at 10:45 AM Rob Tompkins <[email protected]> wrote:
>
>> We have fixed quite a few bugs and added some significant enhancements
>> since Apache Commons Release Plugin 1.2 was released, so I would like to
>> release Apache Commons Release Plugin 1.3.
>>
>> Apache Commons Release Plugin 1.3 RC1 is available for review here:
>>
>> https://dist.apache.org/repos/dist/dev/commons/commons-release-plugin/1.3-RC1
>> (svn revision 27489)
>>
>> The Git tag commons-commons-release-plugin-1.3-RC1 commit for this RC is
>> fatal: ambiguous argument 'commons-commons-release-plugin-1.3-RC1': unknown
>> revision or path not in the working tree.
>> Use '--' to separate paths from revisions, like this:
>> 'git <command> [<revision>...] -- [<file>...]' which you can browse here:
>>
>> https://git-wip-us.apache.org/repos/asf?p=commons-commons-release-plugin.git;a=tag;h=refs/tags/commons-commons-release-plugin-1.3-RC1
>>
>> Maven artifacts are here:
>>
>> https://repository.apache.org/content/repositories/orgapachecommons-1336/org/apache/commons/commons-release-plugin/1.3/
>>
>> These are the Maven artifacts and their hashes in Nexus:
>>
>> #Release SHA-1s
>> #Fri Jun 15 12:08:38 EDT 2018
>>
>> commons-release-plugin-1.3-bin-zip=32a3da15ef466eaa43dfec8c93490df5b6dd8acf
>>
>> commons-release-plugin-1.3-bin-tar.gz=af71049855b71e37c7a20ffe3676b960b33617fe
>>
>> commons-release-plugin-1.3-tests-test-jar=0eaeb7ec6d16880e076ee066288ecd02feb503ea
>>
>> commons-release-plugin-1.3-tests-jar.asc=356322900d2f987868c11709c73d40fdbbf8db35
>>
>> commons-release-plugin-1.3-sources-jar.asc=af07ad503c2a76d1800d88be57de07e881fb934e
>>
>> commons-release-plugin-1.3-bin-zip.asc=ecb888806e34f67d407d296b7fbb5eccc21a78dd
>>
>> commons-release-plugin-1.3-test-sources-jar.asc=ac0f78689f5af7ec15a5c928b84221b3a43fad59
>>
>> commons-release-plugin-1.3-bin-tar.gz.asc=399f74d29fa215cb022d99304e325dd267d923cb
>>
>> commons-release-plugin-1.3-jar.asc=9792d1407fe9a68a76da197c93ac3388298a9e9d
>>
>> commons-release-plugin-1.3-javadoc-jar.asc=bc950f7111a5723c0f8525331754664b12e29a9e
>>
>> commons-release-plugin-1.3-src-tar.gz.asc=9a644c637792570f93029bd897e109a9c5672992
>>
>> commons-release-plugin-1.3-src-zip.asc=88f129cfad36ff87c6afc043b0ab37899e04a5c5
>>
>> commons-release-plugin-1.3-test-sources-java-source=4cb3779a3960c129ab2c07d2e69b36080712aae9
>>
>> commons-release-plugin-1.3-src-zip=f53ca736bb85e9d8d48ded946ce4bf57d0fed213
>>
>> commons-release-plugin-1.3-sources-java-source=db086aacc9e4f287daacb2a72df36ff0bb8e016c
>>
>> commons-release-plugin-1.3-pom.asc=03451012bb384dde4d05b2a7b71c4a38960bcaa5
>>
>> commons-release-plugin-1.3-src-tar.gz=cedbe7e7021ebe45d81dbe0bc467302e2b8d87be
>>
>> commons-release-plugin-1.3-javadoc-javadoc=2e7298d31b48bd4241afe391cbe20dae79830095
>>
>> #Release SHA-256s
>> #Fri Jun 15 12:08:38 EDT 2018
>>
>> commons-release-plugin-1.3-bin-zip=ef7f1fb397204aa11c53f6260b894b8b451dd5306ea86953ef41eb71ec268f76
>>
>> commons-release-plugin-1.3-bin-tar.gz=f72bb461862b8b622a5ad873bc99121467adbde6c2d9fa0dc9fbddbdb05b86ef
>>
>> commons-release-plugin-1.3-tests-test-jar=135df2cf9a204188df970c0e7e5cd6a89d0ac6747ec1b44acdd1c7bf30c3e441
>>
>> commons-release-plugin-1.3-tests-jar.asc=ec5c7c56ba111cc90a295b8e2e54fbdd6a2c907cf774326e1e6ed9a5dc9d1b51
>>
>> commons-release-plugin-1.3-sources-jar.asc=d9eb399525c67c0f393c32aa997ada09ef7c0d5f0e8a535ec39bca5424565444
>>
>> commons-release-plugin-1.3-bin-zip.asc=e78f7180b0ed01aa330345fa1a78d12bba153cc79411fa153e510721c0b00a61
>>
>> commons-release-plugin-1.3-test-sources-jar.asc=ee9cf3b9f0588b8958ae6194d1dbb2563df1dfe834d165ba456865ec6aefffa2
>>
>> commons-release-plugin-1.3-bin-tar.gz.asc=19fe2a3baef3c192dc5a9ad38d4a6d6235f4f22e822e51754c661337f614f91f
>>
>> commons-release-plugin-1.3-jar.asc=7515106ffdfb6b08cc6a8c3557f79e31c7199c3a97f55478296a2f9c1f17f137
>>
>> commons-release-plugin-1.3-javadoc-jar.asc=1adced754fae7ee7fb61163510f8e4f1ea6efc270808085ce339a8ac2d3f8d08
>>
>> commons-release-plugin-1.3-src-tar.gz.asc=df8c02badd70be5c563491bdbc01c7854f2d55127448d88ea91755d39a83931e
>>
>> commons-release-plugin-1.3-src-zip.asc=5fc3ebe043588243e56001a36695527b0c12ca807359a37dc08e3ebfb34974df
>>
>> commons-release-plugin-1.3-test-sources-java-source=3d1b7725d411976f440a4eba79026348d7809bd081b1738104c4ab480b872c04
>>
>> commons-release-plugin-1.3-src-zip=30492410173efb950ddaf613e7c0670ef6cc3e96c53ba865b5edca5dc09cb114
>>
>> commons-release-plugin-1.3-sources-java-source=8bae96c79ccf6778b9ac91f72cb732363cda3f73aa976a2526b9302ebaee1d82
>>
>> commons-release-plugin-1.3-pom.asc=ff6fb495722d0ff9fa3d3cdd740248a0a95d34eba583e7cfbbe507930b030b1a
>>
>> commons-release-plugin-1.3-src-tar.gz=cea44c8f5cb8aa63404856a704db6c7afc791aaec399c11759d2d099871f2289
>>
>> commons-release-plugin-1.3-javadoc-javadoc=acfeaa7de55c37308b56ccf860f9e4507dd98a24304bc8f04ac3c4fd1136ea61
>>
>> (no need for .asc hashes!)
>>
>> I have tested this with 'mvn clean install site' using:
>> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297;
>> 2018-02-24T14:49:05-05:00)
>> Maven home: /usr/local/Cellar/maven/3.5.3/libexec
>> Java version: 1.8.0_162, vendor: Oracle Corporation
>> Java home:
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "mac os x", version: "10.13.5", arch: "x86_64", family: "mac"
>>
>>
>> Details of changes since 1.2 are in the release notes:
>>
>> https://dist.apache.org/repos/dist/dev/commons/commons-release-plugin/1.3-RC1/RELEASE-NOTES.txt
>>
>> https://dist.apache.org/repos/dist/dev/commons/commons-release-plugin/1.3-RC1/site/changes-report.html
>>
>> Site:
>>
>> https://dist.apache.org/repos/dist/dev/commons/commons-release-plugin/1.3-RC1/site
>>     (note some *relative* links are broken and the 1.3 directories are
>> not yet created - these will be OK once the site is deployed.)
>>
>> CLIRR Report (compared to 1.2): (not concerned with CLIRR errors)
>>
>> https://dist.apache.org/repos/dist/dev/commons/commons-release-plugin/1.3-RC1/site/clirr-report.html
>>
>> JApiCmp Report (compared to 1.2): (empty)
>>
>> https://dist.apache.org/repos/dist/dev/commons/commons-release-plugin/1.3-RC1/site/japicmp.html
>>
>> RAT Report:
>>
>> https://dist.apache.org/repos/dist/dev/commons/commons-release-plugin/1.3-RC1/site/rat-report.html
>>
>> KEYS:
>>   https://www.apache.org/dist/commons/KEYS
>>
>> Please review the release candidate and vote.
>> This vote will close no sooner that 72 hours from now.
>>
>>   [ ] +1 Release these artifacts
>>   [ ] +0 OK, but...
>>   [ ] -0 OK, but really should fix...
>>   [ ] -1 I oppose this release because...
>>
>> Thank you,
>>
>> Rob Tompkins,
>> Release Manager (using key B6E73D84EA4FCC47166087253FAAD2CD5ECBB314)
>>
>>

Reply via email to