2012/9/10 Jesse Glick <[email protected]>: > On 09/08/2012 02:55 AM, Olivier Lamy wrote: >> >> I just wonder if maven job running with a jdk 1.5 will still work > > > Does it not suffice to configure maven-compiler-plugin to use source/target > 1.5, and add an execution for animal-sniffer-maven-plugin to make sure you > are not “cheating”? Or use toolchains? Yes I know a bit those tools. I prefer animal-sniffer to toolchains which need some manual stuff when you install nodes. Hey cool normally jenkins do that for you but having to create/maintain a file ~/.m2/toolchains.xml is a pain. At least jenkins could create it (a new plugin idea maybe :-) )
My concern is not me but the majority of the users who have 1.5 build with maven-plugin. IMHO they are probably a lot (I'm doing some maintenance on ASF Jenkins instance and that's the case). If we do such changes we must really take care about a really visible warning mechanism to correctly inform of what to do/change to fix issues. > > If you need to run integration tests and the like using Java 5, can you use > a freestyle job and run Maven forked with an explicitly selected JDK? If you have all the features from maven-plugin available in freestyle and a tool to convert a maven job to a freestyle: sure I will be happy :-) -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy
