title: set the default jdk for maven-compiler-plugin
body: <p>I have just installed maven on an new ubuntu system, which includes the maven-compiler-plugin. I have a java project that was previously building fine, defaulting to a javac source and target of 5 (jdk 1.5). However, the project is now trying to compile using jdk1.3 on the new system. Is there an easy way to configure the system to use >=jdk5  ?</p>
  
  <p>Here's some of the configuration details of the system:</p>
  
  <pre><code>$ java -version
  java version "1.6.0_45"
  
  $ dpkg -s maven
  Package: maven
  Status: install ok installed
  Priority: optional
  Section: java
  Installed-Size: 1489
  Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;
  Architecture: all
  Version: 3.0.4-2
  
  $ dpkg -s libmaven-compiler-plugin-java
  Package: libmaven-compiler-plugin-java
  Status: install ok installed
  Priority: optional
  Section: java
  Installed-Size: 75
  Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;
  Architecture: all
  Source: maven-compiler-plugin
  Version: 2.0.2-6
  </code></pre>
  
  <p>I've checked the maven-compiler-plugin-2.0.2.pom file, and plexus-compiler-javac.originalVersion and others are set to 1.5.3.</p>
  
  <p>I know I can set this on a per-project basis by including a source/target tag in a plugin context, but I'd like to configure maven-compiler to default to jdk5 or higher without having to do this across a large number of projects.</p>
  
  <p>how can i do this?</p>