Hi, well - a lot of manual steps to know before building wicket then. (Assuming Eclipse / JDK 8):
1. Install marketplace plugin for maven-eclipse-settings 2. Configure toolschain 3. Disable clirr plugin 4. Configure save actions, ... We have to update the contribution docs. kind regards Tobias > Am 10.06.2015 um 08:30 schrieb Martin Grigorov <mgrigo...@apache.org>: > > Hi, > > On Tue, Jun 9, 2015 at 6:32 PM, Tobias Soloschenko < > tobiassolosche...@googlemail.com> wrote: > >> Ah I see - that's right. >> >> +1 for toolschain - but we need to ensure that the build keeps running on >> jdk > 6 for wicket-6.x (unit tests, etc.) and that toolschain does not >> abort the build nor requires jdk 6 > > You can setup your ~/.m2/toolchains.xml to point to the same JDK for all > versions. I.e. <jdkHome>/path/to/same/jdk</jdkHome> > But you should never make an official release! All builds are for your own > consumption. > > >> I personally don't want to install several jdks :-/ to apply and test >> changes on wicket-6.x > > Then use Docker to build Wicket in isolation without polluting your OS :p > > >> >> Maybe we can use toolschain in test scope and do a dummy compile or >> something like that. > > See above. > > >> >> kind regards >> >> Tobias >> >>>> Am 09.06.2015 um 16:55 schrieb Martijn Dashorst < >>> martijn.dasho...@gmail.com>: >>> >>> No. String#isEmpty() for example is JDK 7 only. There are subtle API >>> differences in the JDK between 6 and 7 (and 8) that warrant extreme >>> caution trying to use a JDK N+1 for a JDK N compatible product. >>> >>> If this avenue fails, we can opt to use the animalsniffer plugin to >>> detect wrong API usage, but that is a last resort. >>> >>> Martijn >>> >>> On Tue, Jun 9, 2015 at 4:50 PM, Tobias Soloschenko >>> <tobiassolosche...@googlemail.com> wrote: >>>> Saw that it is already set - isn't this enought - is it? >>>> >>>> kind regards >>>> >>>> Tobias >>>> >>>>> Am 09.06.2015 um 15:24 schrieb Martijn Dashorst < >> martijn.dasho...@gmail.com>: >>>>> >>>>> All, >>>>> >>>>> I'm currently trying to build a release with Maven but ran into a snag >>>>> that Maven 3.3 doesn't support running on java 6 anymore. However I >>>>> like to ensure our wicket 6.x releases are built with an actual Java 6 >>>>> release, so I am in the process of using toolchains [1] for the >>>>> release building. >>>>> >>>>> Maven toolchains allow you to specify a required Java version in your >>>>> pom, and in your local maven settings (~/.m2/toolchains.xml) where >>>>> Maven can find the particular JDK version. >>>>> >>>>> This allows us to run Maven with Java 7 and compile using an actual >> Java 6 JDK. >>>>> >>>>> Martijn >>> >>> >>> >>> -- >>> Become a Wicket expert, learn from the best: http://wicketinaction.com >>