title: Building Netty on Mac OSX Lion under Java 1.6.x
body: <p>I'm trying to build The Netty Project on Mac OS X Lion which has Java 1.6.x. (IDE: NetBeans).
  Then I get the following error:</p>
  
  <pre><code>[enforcer:enforce]
  Rule 0: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
  Detected JDK Version: 1.6.0-31 is not in the allowed range [1.7.0,).
  ------------------------------------------------------------------------
  BUILD FAILURE
  ------------------------------------------------------------------------
  </code></pre>
  
  <p>If Netty only requires java 1.5 or above, I'm looking for a way to enable compiling under java 1.6.x.</p>
  
  <p>Thanks in advance.</p>