[1] https://maven.apache.org/guides/mini/guide-using-toolchains.html
On Tue, Jun 9, 2015 at 3:24 PM, Martijn Dashorst <[email protected]> wrote: > 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
