Isn't there a maven plugin that detects Java api usage? Animal sniffer or some such?
Gary <div>-------- Original message --------</div><div>From: Ralph Goers <rgo...@apache.org> </div><div>Date:08/20/2014 02:18 (GMT-05:00) </div><div>To: Log4J Developers List <log4j-dev@logging.apache.org> </div><div>Subject: Re: FindBugs 3.0.0 </div><div> </div>Specifying a target of 1.6 causes the version to be fine. However your other objection makes sense as it is easy to let new methods creep in. I think the build needs to be able to run with any of Java 6, 7, or 8. However, I think Findbugs runs as part of the site build. I really don't care if Java 8 is required for that so long as the release build uses Java 6. Sent from my iPad On Aug 19, 2014, at 9:34 PM, Remko Popma <remko.po...@gmail.com> wrote: Isn't the class version different when building on java 7? Java 6 won't run classes built with java 7 I think. If we can just do the Javadoc that should be ok. Sent from my iPhone On 2014/08/20, at 12:37, Gary Gregory <garydgreg...@gmail.com> wrote: If we want to use the current version of FindBugs 3.0.0, instead of 2.5.x, we need to build with Java 7 instead of 6. The target JRE can still be Java 6 of course. Thoughts? Gary -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition JUnit in Action, Second Edition Spring Batch in Action Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory