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
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?
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