Re: How to compile some modules with a specific JDK, the rest with default JDK

2012-05-09 Thread Stephen Connolly
Just so you know, a far far better way to do this is to use toolchains.xml On 8 May 2012 17:36, jose.nunez-zul...@barclays.com wrote: Works like a charm (tested with mvn -X), inside the pom: project ...  nameX/name  build    plugins      plugin        

Re: How to compile some modules with a specific JDK, the rest with default JDK

2012-05-08 Thread Anders Hammar
Should be possible. Just configure this in that module, and not in the parent pom. /Anders On Tue, May 8, 2012 at 6:03 PM, jose.nunez-zul...@barclays.com wrote: Hello Maven users, It is possible to tell maven to compile a specific module with a different JDK than the rest of the project?

RE: How to compile some modules with a specific JDK, the rest with default JDK

2012-05-08 Thread jose.nunez-zuleta
Works like a charm (tested with mvn -X), inside the pom: project ... nameX/name build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.3.2/version configuration source1.7/source