On 15 April 2016 at 23:42, Gary Gregory <[email protected]> wrote: > On Fri, Apr 15, 2016 at 1:27 PM, sebb <[email protected]> wrote: > >> On 15 April 2016 at 21:07, Gary Gregory <[email protected]> wrote: >> > Long story short: -1 because checkstyle-suppressions.xml is missing from >> > the src zip. >> > >> > Long story: >> > >> > Also, I cannot build with Java 6, see below. We should not that in a >> > BUILDING.txt file. I would be OK to make Java 7 the min after this >> release. >> >> Maven tends to need Java 7+. >> That's what the java-1.x profiles are for. >> >> I used Java 7 for running Maven and -Pjava-1.6 for compile and test. >> That could be added to instructions, though most people will >> presumably use Java 7+ >> >> > MD5, SHA1, ASC OK. >> > >> > Clirr & RAT reports on Sebb's site OK. >> >> I don't get any problems running 'mvn clean site' with Maven 3.3.3 and >> Java 8 >> I get OutOfMemory now for Java 7. >> > > When I get one of those I usually switch to Java 8 and keep the ball > rolling.
It ran OK with the instructions I added to BUILDING.txt > Gary > >> >> > Building with 'mvn clean site' using >> > >> > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; >> > 2015-11-10T08:41:47-08:00) >> > Maven home: E:\Java\apache-maven-3.3.9\bin\.. >> > Java version: 1.8.0_77, vendor: Oracle Corporation >> > Java home: C:\Program Files\Java\jdk1.8.0_77\jre >> > Default locale: en_US, platform encoding: Cp1252 >> > OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos" >> > >> > Builds OK but prints out the usual: >> > >> > [WARN] An issue has occurred with maven-changes-plugin:2.11:jira-report, >> > skipping LinkageError >> > >> org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V, >> > please report an issue to Maven dev t >> > eam. >> > java.lang.NoSuchMethodError: >> > >> org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V >> > at >> > >> org.apache.commons.logging.impl.SLF4JLocationAwareLog.trace(SLF4JLocationAwareLog.java:99) >> > >> > I wonder if the just releases maven-site-plugin 3.5.1 would helpl with >> > that... >> > >> > With Maven 3.0.5, I get this failure: >> > >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] BUILD FAILURE >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] Total time: 2:14.033s >> > [INFO] Finished at: Fri Apr 15 12:43:43 PDT 2016 >> > [INFO] Final Memory: 76M/1005M >> > [INFO] >> > ------------------------------------------------------------------------ >> > [ERROR] Failed to execute goal >> > org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on >> > project commons-validator: Error generating >> > maven-checkstyle-plugin:2.17:checkstyle: Failed during checkstyle >> > configuration: cannot initialize module >> > SuppressionFilter - Cannot set property 'file' to >> > 'E:\temp\rc\commons-validator-1.5.1-src/checkstyle-suppressions.xml' in >> > module SuppressionFilter: InvocationTargetException: Unable to find: >> > E:\temp\rc\commons-validator-1.5.1-src/*checkstyle-suppressions.xml* -> >> > [Help 1] >> > >> > Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 >> > 05:51:28-0800) >> > Maven home: E:\Java\apache-maven-3.0.5 >> > Java version: 1.8.0_77, vendor: Oracle Corporation >> > Java home: C:\Program Files\Java\jdk1.8.0_77\jre >> > Default locale: en_US, platform encoding: Cp1252 >> > OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos" >> > >> > With this Java 6 set up: >> > >> > Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 >> > 05:51:28-0800) >> > Maven home: E:\Java\apache-maven-3.0.5 >> > Java version: 1.6.0_45, vendor: Sun Microsystems Inc. >> > Java home: E:\Program Files\Java\jdk1.6.0_45\jre >> > Default locale: en_US, platform encoding: Cp1252 >> > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >> > >> > I get a problem due to something being compiler for a later Java version >> > (1.7.0): >> > >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] BUILD FAILURE >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] Total time: 1:20.100s >> > [INFO] Finished at: Fri Apr 15 12:51:38 PDT 2016 >> > [INFO] Final Memory: 36M/293M >> > [INFO] >> > ------------------------------------------------------------------------ >> > [ERROR] Failed to execute goal >> > org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on >> > project commons-validator: 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: >> > org/apache/maven/plugin/checkstyle/CheckstyleReport : Unsupported >> > major.minor version 51.0* >> > [ERROR] ----------------------------------------------------- >> > [ERROR] realm = plugin>org.apache.maven.plugins:maven-site-plugin:3.4 >> > [ERROR] strategy = >> > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy >> > >> > So then I tried with a java 7 set up: >> > >> > Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 >> > 05:51:28-0800) >> > Maven home: E:\Java\apache-maven-3.0.5 >> > Java version: 1.7.0_79, vendor: Oracle Corporation >> > Java home: C:\Program Files\Java\jdk1.7.0_79\jre >> > Default locale: en_US, platform encoding: Cp1252 >> > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >> > >> > I get: >> > >> > [ERROR] Failed to execute goal >> > org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on >> > project commons-validator: Error generating >> > maven-checkstyle-plugin:2.17:checkstyle: Failed during checkstyle >> > configuration: cannot initialize module >> > SuppressionFilter - Cannot set property 'file' to >> > 'E:\temp\rc\commons-validator-1.5.1-src/checkstyle-suppressions.xml' in >> > module SuppressionFilter: InvocationTargetException: Unable to find: >> > E:\temp\rc\commons-validator-1.5.1-src/checkstyle-suppress >> > ions.xml -> [Help 1] >> > [ERROR] >> > >> > So >> > >> > On Fri, Apr 15, 2016 at 8:52 AM, sebb <[email protected]> wrote: >> > >> >> It's probably about time to release the next version of VALIDATOR. >> >> There have been a few improvements and fixes since the last version. >> >> >> >> == >> >> >> >> Validator 1.5.1 RC1 is available for review here: >> >> https://dist.apache.org/repos/dist/dev/commons/validator/ >> >> (revision 13252) >> >> >> >> >> >> >> binaries/commons-validator-1.5.1-bin.tar.gz.sha1:6a0c6373c4d0fc1640cb1cda597d16986d7ca67f >> >> >> >> >> binaries/commons-validator-1.5.1-bin.zip.sha1:db96db2c9d92a6775a35ad8034c229402e52ad62 >> >> >> >> >> source/commons-validator-1.5.1-src.tar.gz.sha1:1cce2babf7ac2210a15c57cee8c456249571450f >> >> >> >> >> source/commons-validator-1.5.1-src.zip.sha1:eab2f02cc41fe27f20a6341e0a36f6eaee42f970 >> >> >> >> Maven artifacts are here: >> >> >> >> >> https://repository.apache.org/content/repositories/orgapachecommons-1148/commons-validator/commons-validator/1.5.1/ >> >> >> >> These are the artifacts and their hashes >> >> >> >> >> >> >> commons-validator-1.5.1-javadoc.jar.sha1:c6b8143ff1b52bdf4e1c257288a75da9ae6addc0 >> >> >> >> >> commons-validator-1.5.1-sources.jar.sha1:022fd265de18e1ddbb358fd5928839833cdc43a2 >> >> >> >> >> commons-validator-1.5.1-test-sources.jar.sha1:e626bd40fb72498cbbdcd247b6f891e51343218f >> >> >> >> >> commons-validator-1.5.1-tests.jar.sha1:8204f8f847b89c39048b9d57996ef05c291596e3 >> >> >> commons-validator-1.5.1.jar.sha1:7207be9f18aeefb094eca416b169778616f4abb6 >> >> >> commons-validator-1.5.1.pom.sha1:1bf362168b23bda071a98c5f822f9078e1b8c7b0 >> >> >> >> Details of changes since 1.5.0 are in the release notes: >> >> >> >> >> https://dist.apache.org/repos/dist/dev/commons/validator/RELEASE-NOTES.txt >> >> >> http://home.apache.org/~sebb/validator-1.5.1-RC1/changes-report.html >> >> >> >> I have tested this with JDK 1.6, 1.7, 1.8 using Apache Maven 3.3.3 >> >> >> >> The tag is here: >> >> >> >> >> http://svn.apache.org/repos/asf/commons/proper/validator/tags/VALIDATOR_1_5_1_RC1/ >> >> (revision 1739214) >> >> N.B. the SVN revision is required because SVN tags are not immutable. >> >> >> >> Site: >> >> http://home.apache.org/~sebb/validator-1.5.1-RC1/ >> >> >> >> (some *relative* links are broken - these will be OK once the site >> >> is deployed) >> >> Also the Javadoc link for 1.5.1 is missing; that will be fixed. >> >> >> >> Clirr Report (compared to 1.5.0): >> >> http://home.apache.org/~sebb/validator-1.5.1-RC1/clirr-report.html >> >> >> >> RAT Report: >> >> http://home.apache.org/~sebb/validator-1.5.1-RC1/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, >> >> i.e. sometime after 16:00 GMT 18 Apr 2016 >> >> >> >> >> >> [ ] +1 Release these artifacts >> >> [ ] +0 OK, but... >> >> [ ] -0 OK, but really should fix... >> >> [ ] -1 I oppose this release because... >> >> >> >> Thanks! >> >> >> >> Sebb >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [email protected] >> >> For additional commands, e-mail: [email protected] >> >> >> >> >> > >> > >> > -- >> > E-Mail: [email protected] | [email protected] >> > 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: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > -- > E-Mail: [email protected] | [email protected] > 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: [email protected] For additional commands, e-mail: [email protected]
