I would suggest to use a build toolchain (which has been around forever) for the actual compilation and maybe raise the minimum requirement for Maven to be something more modern. So you use a JDK 7+ to drive the build process but can use a JDK 6 to actually compile the jars.
We used that setup in many project where Java 6 compat was required but newer tools that need 7+ are desired. The javadoc lint errors are annoying (and it is a lot of busywork to fix them), so we should either turn off linting in JDK7+ or make a site build failure not a release blocker. -h On Thu, Sep 15, 2016 at 9:05 AM, Gary Gregory <garydgreg...@gmail.com> wrote: > On Thu, Sep 15, 2016 at 1:34 AM, Stian Soiland-Reyes <st...@apache.org> > wrote: > >> I wonder if japicmp needs >> >> mvn clean package site >> > > That does not work with Java 6, an annoyance since the requirements for > this component is Java 6: > > [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 enco > untered while executing > org.apache.maven.plugins:maven-site-plugin:3.4:site: > java.lang.UnsupportedClassVersionError: japicmp/maven/JApiCmpReport : > Unsupported major.minor version 51.0 > > With Java 7, it works, so now we're getting somewhere. japicmp needs > special care which users would never know about unless documented. > > Some Commons component have a BUILDING.txt file. I recommend we add one. > > Gary > > >> >> So that it will have a JAR to compare. Did that work with you? >> >> I'll have a look at the other errors. >> >> On 15 Sep 2016 6:49 a.m., "Gary Gregory" <garydgreg...@gmail.com> wrote: >> >> > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org