This looks similar to what Bruno is getting out of the build, but here’s what I’m seeing. It looks like a maven plugin issue. I wonder if there are some updates we could perform in the plugin zone that could potentially sort this out.
-Rob ------------------------------------------------------------------------------------------------------- Building with: chtompki@Robs-MacBook-Pro commons-vfs-2.7.0 % mvn --version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec Java version: 1.8.0_265, vendor: Amazon.com Inc., runtime: /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac" Oddly if I build from the zip I get the following: [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ commons-vfs2 --- ------------------------------------------------------- T E S T S ------------------------------------------------------- Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache Commons VFS Project 2.7.0: [INFO] [INFO] Apache Commons VFS Project ......................... SUCCESS [ 44.162 s] [INFO] Apache Commons VFS ................................. FAILURE [ 6.249 s] [INFO] Apache Commons VFS Jackrabbit 1 .................... SKIPPED [INFO] Apache Commons VFS Jackrabbit 2 .................... SKIPPED [INFO] Apache Commons VFS Examples ........................ SKIPPED [INFO] Apache Commons VFS Distribution .................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 50.608 s [INFO] Finished at: 2020-10-21T08:11:53-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.9.1:site (default-site) on project commons-vfs2: failed to get report for org.apache.maven.plugins:maven-surefire-report-plugin: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project commons-vfs2: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: There was an error in the forked process [ERROR] java.lang.UnsupportedClassVersionError: org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 [ERROR] at java.lang.ClassLoader.defineClass1(Native Method) [ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) [ERROR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) [ERROR] at java.net.URLClassLoader.access$100(URLClassLoader.java:74) [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:369) [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:363) [ERROR] at java.security.AccessController.doPrivileged(Native Method) [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:362) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) [ERROR] at java.lang.Class.getDeclaredMethods0(Native Method) [ERROR] at java.lang.Class.privateGetDeclaredMethods(Class.java:2729) [ERROR] at java.lang.Class.privateGetMethodRecursive(Class.java:3076) [ERROR] at java.lang.Class.getMethod0(Class.java:3046) [ERROR] at java.lang.Class.getMethod(Class.java:1812) [ERROR] at org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:61) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54) [ERROR] at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:52) [ERROR] at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:98) [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:311) [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.setTestsToRun(JUnit4Provider.java:191) [ERROR] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:134) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :commons-vfs2 > On Oct 20, 2020, at 7:25 PM, Bruno P. Kinoshita <ki...@apache.org> wrote: > > From the tag commons-vfs-2.7.0-RC1 > > > kinow@ranma:~/Development/java/apache/commons-vfs$ git log -n 1 > commit 8a34d82ead0780a9ee1f78fd9702e5dbd663070a (HEAD, tag: > commons-vfs-2.7.0-RC1, upstream/release) > Author: Gary Gregory <garydgreg...@gmail.com> > Date: Sun Oct 18 23:10:57 2020 -0400 > > Update POM version numbers for Apache Commons VFS release 2.7.0 > > My environment: > > > kinow@ranma:~/Development/java/apache/commons-vfs$ mvn -v > Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; > 2018-06-18T06:33:14+12:00) > Maven home: /opt/apache-maven-3.5.4 > Java version: 1.8.0_265, vendor: Private Build, runtime: > /usr/lib/jvm/java-8-openjdk-amd64/jre > Default locale: en_NZ, platform encoding: UTF-8 > OS name: "linux", version: "5.4.0-51-generic", arch: "amd64", family: "unix" > > > > > On Wednesday, 21 October 2020, 12:01:31 pm NZDT, Gary Gregory > <garydgreg...@gmail.com> wrote: > > Are working from the tag or the zip or tar? > > Gary > > On Tue, Oct 20, 2020, 18:52 Bruno P. Kinoshita <ki...@apache.org> wrote: > >> >Overall, I would not say this is a blocker. WDYT? >> >> If others are able to build it I'd say it's not a blocker. >> >> I tried the commands you sent below. I think they are the same ones I >> tried before, from your first message. >> >> `mvn -V -Ptest-deploy -Prelease clean install -DskipTests` runs OK. `git >> status` shows no files modified (I did a `git clean -d -f` and `git reset >> --hard` before running it) >> >> >> `mvn -V -Ptest-deploy -Prelease -P japicmp -P jacoco site` fails with the >> same error I had before. It could be something with my JVM or Maven version >> perhaps (can't recall when I last tried to build VFS, but probably it was a >> long time ago). >> >> >> >> [INFO] Rat check: Summary over all files. Unapproved: 2, unknown: 2, >> generated: 0, approved: 31 licenses. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] Apache Commons VFS Project 2.7.0 ................... SUCCESS [01:03 >> min] >> [INFO] Apache Commons VFS ................................. SUCCESS [05:47 >> min] >> [INFO] Apache Commons VFS Jackrabbit 1 .................... SUCCESS [ >> 56.233 s] >> [INFO] Apache Commons VFS Jackrabbit 2 .................... FAILURE [ >> 50.212 s] >> [INFO] Apache Commons VFS Examples ........................ SKIPPED >> [INFO] Apache Commons VFS Distribution 2.7.0 .............. SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 08:38 min >> [INFO] Finished at: 2020-10-21T11:43:47+13:00 >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-site-plugin:3.9.1:site (default-site) on >> project commons-vfs2-jackrabbit2: failed to get report for >> org.codehaus.mojo:jdepend-maven-plugin: Failed to execute goal >> org.apache.rat:apache-rat-plugin:0.13:check (rat-check) on project >> commons-vfs2-jackrabbit2: Too many files with unapproved license: 2 See RAT >> report in: >> /home/kinow/Development/java/apache/commons-vfs/commons-vfs2-jackrabbit2/target/rat.txt >> -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :commons-vfs2-jackrabbit2 >> >> >> Bruno >> >> >> >> On Tuesday, 20 October 2020, 2:34:27 am NZDT, Gary Gregory < >> garydgreg...@gmail.com> wrote: >> >> Hi Bruno, >> >> The files in BUILDING.txt are not up to date with what I do to test an RC >> build, so I'll update those with: >> >> mvn -V -Ptest-deploy -Prelease clean install -DskipTests >> mvn -V -Ptest-deploy -Prelease -P japicmp -P jacoco site >> mvn -V -Ptest-deploy -Prelease deploy >> mvn -V -Ptest-deploy -Prelease site:stage >> >> Notice that the above step 1 disables testing on install and leaves testing >> to the next step 2 when running site. >> >> It seems that one of the steps in the txt file must be leaving some test >> files behind and the next maven run runs a RAT check and finds these. >> >> The two files you found could also be excluded from the RAT check. I just >> ran step 1 and 2 and I did not get these files created. >> >> Of note is that the site to examine is in target/staging >> >> It's a pain that the process is a bit different for a multi-module Maven >> build compared to a single module build. >> >> Overall, I would not say this is a blocker. WDYT? >> >> Gary >> >> >> On Mon, Oct 19, 2020 at 3:03 AM Bruno P. Kinoshita <ki...@apache.org> >> wrote: >> >>> Checked signatures, and inspected files in the dist area. No issues. >>> >>> Tried building following instructions in `BUILDING.txt` but it failed due >>> to files without license when RAT report was executed. >>> >>> Tried again with the commands in the body of your e-mail Gary, but it >>> failed again on: mvn -V -Ptest-deploy -Prelease -P japicmp -P jacoco site >>> >>> >>> [INFO] BUILD FAILURE >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 08:33 min >>> [INFO] Finished at: 2020-10-19T19:58:17+13:00 >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] Failed to execute goal >>> org.apache.maven.plugins:maven-site-plugin:3.9.1:site (default-site) on >>> project commons-vfs2-jackrabbit2: failed to get report for >>> org.codehaus.mojo:jdepend-maven-plugin: Failed to execute goal >>> org.apache.rat:apache-rat-plugin:0.13:check (rat-check) on project >>> commons-vfs2-jackrabbit2: Too many files with unapproved license: 2 See >> RAT >>> report in: >>> >> /home/kinow/Development/java/apache/commons-vfs/commons-vfs2-jackrabbit2/target/rat.txt >>> -> [Help 1] >>> >>> >>> >>> $ git status >>> HEAD detached at commons-vfs-2.7.0-RC1 >>> Untracked files: >>> (use "git add <file>..." to include in what will be committed) >>> commons-vfs2-jackrabbit2/jackrabbit.log_IS_UNDEFINED >>> commons-vfs2-jackrabbit2/jetty.log_IS_UNDEFINED >>> >>> >>> >>> >>> On Monday, 19 October 2020, 5:13:13 pm NZDT, Gary Gregory < >>> ggreg...@apache.org> wrote: >>> >>> We have fixed a few bugs and added some enhancements since Apache >> Commons >>> VFS Project 2.6.0 was released, so I would like to release Apache Commons >>> VFS Project 2.7.0. >>> >>> Apache Commons VFS Project 2.7.0 RC1 is available for review here: >>> https://dist.apache.org/repos/dist/dev/commons/vfs/2.7.0-RC1 (svn >>> revision 41969) >>> >>> The Git tag commons-vfs-2.7.0-RC1 commit for this RC is >>> 8a34d82ead0780a9ee1f78fd9702e5dbd663070a which you can browse here: >>> >>> >>> >> https://gitbox.apache.org/repos/asf?p=commons-vfs.git;a=commit;h=8a34d82ead0780a9ee1f78fd9702e5dbd663070a >>> You may checkout this tag using: >>> git clone https://gitbox.apache.org/repos/asf/commons-vfs.git >> --branch >>> commons-vfs-2.7.0-RC1 commons-vfs-2.7.0-RC1 >>> >>> Maven artifacts are here: >>> >>> >>> >> https://repository.apache.org/content/repositories/orgapachecommons-1534/org/apache/commons/ >>> >>> These are the artifacts and their hashes: >>> >>> >>> /org/apache/commons/commons-vfs2/2.7.0/commons-vfs2-2.7.0.jar >>> (SHA1: fe698077c7cfaf82bf07a231deb63b045eb70b98) >>> >> /org/apache/commons/commons-vfs2/2.7.0/commons-vfs2-2.7.0-test-sources.jar >>> (SHA1: e48d07f626f75fc3ad6c1c89f918c567d9219426) >>> /org/apache/commons/commons-vfs2/2.7.0/commons-vfs2-2.7.0-tests.jar >>> (SHA1: 6a6d486fbd9401b28dcdd84ed801bf0cd5539996) >>> /org/apache/commons/commons-vfs2/2.7.0/commons-vfs2-2.7.0-javadoc.jar >>> (SHA1: 56bd7feab1008c5899915a50b5ede012f1418d7a) >>> /org/apache/commons/commons-vfs2/2.7.0/commons-vfs2-2.7.0.pom >>> (SHA1: 11d08a780d86ad2f6d4fb4d25d79810b6f2ec431) >>> /org/apache/commons/commons-vfs2/2.7.0/commons-vfs2-2.7.0-sources.jar >>> (SHA1: b795105a842138c693ebf679518b38a12e1777dc) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit2/2.7.0/commons-vfs2-jackrabbit2-2.7.0.jar >>> (SHA1: 8e69c6dea1b3e02948d17c73e28911e5cbaf8e7b) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit2/2.7.0/commons-vfs2-jackrabbit2-2.7.0-test-sources.jar >>> (SHA1: dcd9c32b4f414703501d5d60bc0b401e8dab522e) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit2/2.7.0/commons-vfs2-jackrabbit2-2.7.0-javadoc.jar >>> (SHA1: 2cbc1fb4eca472c1ccf1cfc66f53ea1226b3b61b) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit2/2.7.0/commons-vfs2-jackrabbit2-2.7.0.pom >>> (SHA1: 42a5f3d6de94382a38355591eb1d8b4898b5fa4a) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit2/2.7.0/commons-vfs2-jackrabbit2-2.7.0-sources.jar >>> (SHA1: 2a1e3d1cc086c68ce7d8fe7a6aa06bf46bd083a7) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit2/2.7.0/commons-vfs2-jackrabbit2-2.7.0-tests.jar >>> (SHA1: bea030773c51393a0068e4d503f58c48273a0002) >>> >>> >> /org/apache/commons/commons-vfs2-distribution/2.7.0/commons-vfs2-distribution-2.7.0.pom >>> (SHA1: fb644241a07d51d4c885a24b08635ba1c4b90129) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit1/2.7.0/commons-vfs2-jackrabbit1-2.7.0-test-sources.jar >>> (SHA1: f0174b6b7ba665652786bc1a6911586ee6eac747) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit1/2.7.0/commons-vfs2-jackrabbit1-2.7.0.jar >>> (SHA1: 1aa0d94636cd151e0b67a2e746a316d55a017926) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit1/2.7.0/commons-vfs2-jackrabbit1-2.7.0-javadoc.jar >>> (SHA1: 06b69c95938e96439428e19d354c23678db862cb) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit1/2.7.0/commons-vfs2-jackrabbit1-2.7.0-tests.jar >>> (SHA1: d88e7583aa2c67da137c729f9a1e6df64051f6c4) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit1/2.7.0/commons-vfs2-jackrabbit1-2.7.0-sources.jar >>> (SHA1: c4a389c504a0d5dcaf34ccc147f5e7afac6da9b6) >>> >>> >> /org/apache/commons/commons-vfs2-jackrabbit1/2.7.0/commons-vfs2-jackrabbit1-2.7.0.pom >>> (SHA1: 61b00c1d87ef22643c4b7699a252b45349aa50bc) >>> >>> >> /org/apache/commons/commons-vfs2-examples/2.7.0/commons-vfs2-examples-2.7.0.pom >>> (SHA1: 767f7444d5cef179303ea913d00b6f0de271aad7) >>> >>> >> /org/apache/commons/commons-vfs2-examples/2.7.0/commons-vfs2-examples-2.7.0.jar >>> (SHA1: b1acaa6943b0603bb715603ab3d5acc065af102d) >>> >>> >> /org/apache/commons/commons-vfs2-examples/2.7.0/commons-vfs2-examples-2.7.0-sources.jar >>> (SHA1: 5012e9a84ea1af60482580aede713d501d88ecbe) >>> >>> >> /org/apache/commons/commons-vfs2-examples/2.7.0/commons-vfs2-examples-2.7.0-javadoc.jar >>> (SHA1: 80b2c58990f5f941f9661f7e787a3c57380e7ffb) >>> >>> >> /org/apache/commons/commons-vfs2-project/2.7.0/commons-vfs2-project-2.7.0.pom >>> (SHA1: bbbdd1a250fd3fa8d43837357e82b60391ca917a) >>> >>> >> /org/apache/commons/commons-vfs2-project/2.7.0/commons-vfs2-project-2.7.0-site.xml >>> (SHA1: 110d3ade254a2c7f116684d8d433345c3c34455d) >>> >>> >>> I have tested this with >>> >>> mvn -V -Ptest-deploy -Prelease clean install -DskipTests >>> mvn -V -Ptest-deploy -Prelease -P japicmp -P jacoco site >>> mvn -V -Ptest-deploy -Prelease deploy >>> mvn -V -Ptest-deploy -Prelease site:stage >>> >>> using: >>> >>> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) >>> Maven home: C:\Java\apache-maven-3.6.3\bin\.. >>> Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: C:\Program >>> Files\Java\jdk1.8.0_261\jre >>> Default locale: en_US, platform encoding: Cp1252 >>> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >>> >>> Details of changes since 2.6.0 are in the release notes: >>> >>> >>> >> https://dist.apache.org/repos/dist/dev/commons/vfs/2.7.0-RC1/RELEASE-NOTES.txt >>> >>> >>> >> https://dist.apache.org/repos/dist/dev/commons/vfs/2.7.0-RC1/site/changes-report.html >>> >>> Site: >>> >>> >>> >> https://dist.apache.org/repos/dist/dev/commons/vfs/2.7.0-RC1/site/index.html >>> (note some *relative* links are broken and the 2.7.0 directories are >>> not yet created - these will be OK once the site is deployed.) >>> >>> JApiCmp Report (compared to 2.6.0): >>> >>> >>> >> https://dist.apache.org/repos/dist/dev/commons/vfs/2.7.0-RC1/site/commons-vfs2/japicmp.html >>> >>> RAT Report: >>> >>> >>> >> https://dist.apache.org/repos/dist/dev/commons/vfs/2.7.0-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 than 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, >>> >>> Gary Gregory, >>> Release Manager (using key 86fdc7e2a11262cb) >>> >>> For following is intended as a helper and refresher for reviewers. >>> >>> Validating a release candidate >>> ============================== >>> >>> These guidelines are NOT complete. >>> >>> Requirements: Git, Java, Maven. >>> >>> You can validate a release from a release candidate (RC) tag as follows. >>> >>> 1) Clone and checkout the RC tag >>> >>> git clone https://gitbox.apache.org/repos/asf/commons-vfs.git --branch >>> commons-vfs-2.7.0-RC1 commons-vfs-2.7.0-RC1 >>> cd commons-vfs-2.7.0-RC1 >>> >>> 2) Check Apache licenses >>> >>> This step is not required if the site includes a RAT report page which >> you >>> then must check. >>> >>> mvn apache-rat:check >>> >>> 3) Check binary compatibility >>> >>> Older components still use Apache Clirr: >>> >>> This step is not required if the site includes a Clirr report page which >>> you then must check. >>> >>> mvn clirr:check >>> >>> Newer components use JApiCmp with the japicmp Maven Profile: >>> >>> This step is not required if the site includes a JApiCmp report page >> which >>> you then must check. >>> >>> mvn install -DskipTests -P japicmp japicmp:cmp >>> >>> 4) Build the package >>> >>> mvn -V clean package >>> >>> You can record the Maven and Java version produced by -V in your VOTE >>> reply. >>> To gather OS information from a command line: >>> Windows: ver >>> Linux: uname -a >>> >>> 5) Build the site for a single module project >>> >>> Note: Some plugins require the components to be installed instead of >>> packaged. >>> >>> mvn site >>> Check the site reports in: >>> - Windows: target\site\index.html >>> - Linux: target/site/index.html >>> >>> 6) Build the site for a multi-module project >>> >>> mvn site >>> mvn site:stage >>> Check the site reports in: >>> - Windows: target\site\index.html >>> - Linux: target/site/index.html >>> >>> -the end- >>> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org