I tested successfully with: docker run -v $(pwd):/usr/src/app -v /usr/src/app/target -w /usr/src/app -it maven:3-jdk-7 mvn verify docker run -v $(pwd):/usr/src/app -v /usr/src/app/target -w /usr/src/app -it maven:3-jdk-8 mvn verify
(both of which use Apache Maven 3.3.9) BTW: maven:3-jdk-9 fails with an unrelated JCE encryption error (bug in the Docker image). maven:3-jdk-6 seems unhappy to run within Docker as it can't download plugins. Instead I used docker run -it ubuntu:14.04 bash apt-get install openjdk-6-jdk maven mvn clean verify (which there should be lots of installations of) - and unfortunately it fails with: Tests in error: MemoryLeakTestCase.testMappedPropertyDescriptor_MappedMethodReference2:225->forceGarbageCollection:491 IllegalState <error message="Your JVM is not releasing SoftReference, try running the testcase with less memory (-Xmx)" type="java.lang.IllegalStateException">java.lang.IllegalStateException: Your JVM is not releasing SoftReference, try running the testcase with less memory (-Xmx) eh.. so I need LESS memory? Not a very good test! :) It should not fail like that, but assume-bail out instead (e.g. "was not able to test low memory conditions") I get the same error with 1.9.2 - so this is not a regression: Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 20.837 sec <<< FAILURE! - in org.apache.commons.beanutils.memoryleaktests.MemoryLeakTestCase testMethodUtils_cache_memoryLeak(org.apache.commons.beanutils.memoryleaktests.MemoryLeakTestCase) Time elapsed: 10.774 sec <<< ERROR! java.lang.IllegalStateException: Your JVM is not releasing SoftReference, try running the testcase with less memory (-Xmx) at org.apache.commons.beanutils.memoryleaktests.MemoryLeakTestCase.forceGarbageCollection(MemoryLeakTestCase.java:496) at org.apache.commons.beanutils.memoryleaktests.MemoryLeakTestCase.testMethodUtils_cache_memoryLeak(MemoryLeakTestCase.java:282) However I guess the README and/or RELEASE-NOTES could say that to build with Java 6 you need -DskipTests=true - and we can let MemoryLeakTestCase bail out with an Assume instead of throwing exceptions. My Ubuntu 14.04 mvn/jdk info: root@f80c9b235260:/tmp/commons-beanutils-1.9.3-src# mvn -v Apache Maven 3.0.5 Maven home: /usr/share/maven Java version: 1.6.0_40, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux", version: "4.4.0-36-generic", arch: "amd64", family: "unix" On 15 September 2016 at 09:09, Gary Gregory <garydgreg...@gmail.com> wrote: > This is not a site nit. I cannot build it at all. How do you build it? > > Gary > > On Thu, Sep 15, 2016 at 12:54 AM, Benedikt Ritter <brit...@apache.org> > wrote: > >> I don't think the site build should block a release. As you like to put it: >> RERO. Let's fix it in 1.9.4. >> >> Benedikt >> >> Gary Gregory <garydgreg...@gmail.com> schrieb am Do., 15. Sep. 2016 um >> 07:49 Uhr: >> >> > From the src zip: MD5, SHA1, ASC OK. >> > >> > -1 because I cannot run 'mvn clean site' not matter what version of Java >> I >> > use: 6, 7, or 8. >> > >> > Users must be able to download the source zip or checkout this release >> tag, >> > apply mods and rebuild and see that they did not cause regressions or >> break >> > things. >> > >> > Building with 'mvn clean site' fails with Java 6 and Maven 3.0.5 due to: >> > >> > [ERROR] Failed to execute goal >> > org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on >> > project commons-beanutils: Execution default-site of goal >> > org.apache.maven.plugins:maven-site-plugin:3.4:site failed: An API >> > incompatibility was encountered while executing >> > org.apache.maven.plugins:maven-site-plugin:3.4:site: >> > java.lang.UnsupportedClassVersionError: japicmp/maven/JApiCmpReport : >> > Unsupported major.minor version 51.0 >> > >> > This is not a blocker but MUST be documented in the RN and site IMO. >> > >> > Building with 'mvn clean site' fails with Java 8 and Maven 3.3.9 due to >> > doclint errors; not a blocker but MUST be documented in the RN and site >> > IMO. >> > >> > Building with 'mvn clean site' fails with Java 7 and Maven 3.0.5 >> > >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] BUILD FAILURE >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] Total time: 2:30.776s >> > [INFO] Finished at: Wed Sep 14 22:43:23 PDT 2016 >> > [INFO] Final Memory: 51M/526M >> > [INFO] >> > ------------------------------------------------------------------------ >> > [ERROR] Failed to execute goal >> > org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on >> > project commons-beanutils: Error generating >> > japicmp-maven-plugin:0.9.0:cmp-report: Failed to generate report: Please >> > provide at least one resolvable >> > new version using one of the configuration elements <newVersion/> or >> > <newVersions/>. -> [Help 1] >> > >> > Gary >> > >> > >> > >> > On Wed, Sep 14, 2016 at 8:45 AM, Stian Soiland-Reyes <st...@apache.org> >> > wrote: >> > >> > > This is a [VOTE] for releasing Apache Commons BeanUtils 1.9.3 (from >> RC2) >> > > >> > > >> > > SVN tag: >> > > https://svn.apache.org/repos/asf/commons/proper/beanutils/ >> > > tags/BEANUTILS_1_9_3_RC2/ >> > > >> > > Site: >> > > https://stain.github.io/commons-beanutils/1.9.3-rc2/ >> > > >> > > Javadoc: >> > > https://stain.github.io/commons-beanutils/1.9.3-rc2/ >> apidocs/index.html >> > > >> > > API changes since 1.9.2 (japicmp): >> > > https://stain.github.io/commons-beanutils/1.9.3-rc2/japicmp.html >> > > >> > > RAT report: >> > > https://stain.github.io/commons-beanutils/1.9.3-rc2/rat-report.html >> > > >> > > Distribution files (rev 15358) >> > > https://dist.apache.org/repos/dist/dev/commons/beanutils/ >> > > BEANUTILS_1_9_3_RC2/ >> > > >> > > >> > > Distribution files hashes (SHA1): >> > > >> > > 40b7b1639eedf91b5fad5d38e6ebec01e659048f commons-rng-1.0-src.tar.gz >> > > 6296dbabde10169d6365bda99f2af6dcc191e515 commons-rng-1.0-src.zip >> > > a221e862c8ff970a9ca3e7fbd86c3200d1f8780a commons-rng-1.0-bin.tar.gz >> > > 689b2bfbdb1856d4f47851d75762aab42057805a commons-rng-1.0-bin.zip >> > > >> > > >> > > KEYS file to check signatures: >> > > http://www.apache.org/dist/commons/KEYS >> > > >> > > Maven artifacts: >> > > https://repository.apache.org/content/repositories/ >> > > orgapachecommons-1200/ >> > > >> > > >> > > [ ] +1 Release it. >> > > [ ] +0 Go ahead; I don't care. >> > > [ ] -0 There are a few minor glitches: ... >> > > [ ] -1 No, do not release it because ... >> > > >> > > This vote will be open for at least 72 hours, let's say >> > > 2016-09-19T08:00:00Z >> > > >> > > -- >> > > Stian Soiland-Reyes >> > > http://orcid.org/0000-0001-9842-9718 >> > > >> > > --------------------------------------------------------------------- >> > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> > > For additional commands, e-mail: dev-h...@commons.apache.org >> > > >> > > >> > >> > >> > -- >> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org >> > Java Persistence with Hibernate, Second Edition >> > <http://www.manning.com/bauer3/> >> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >> > Spring Batch in Action <http://www.manning.com/templier/> >> > Blog: http://garygregory.wordpress.com >> > Home: http://garygregory.com/ >> > Tweet! http://twitter.com/GaryGregory >> > >> > > > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > Java Persistence with Hibernate, Second Edition > <http://www.manning.com/bauer3/> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > Spring Batch in Action <http://www.manning.com/templier/> > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory -- Stian Soiland-Reyes http://orcid.org/0000-0001-9842-9718 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org