title: Maven Compile Error
body: <p>When I build and run my program in Netbeans, it works without a problem. But with same pom.xml file when I try "mvn compile" I get this error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project hadoop-test: Compilation failure
  [ERROR] /home/metin/NetBeansProjects/hadoop-test/src/main/java/com/citusdata/hadoop/HadoopTest.java:[53,8] error: generics are not supported in -source 1.3
  </code></pre>
  
  <p>My java version is not 1.3, here the result of "mvn -version"</p>
  
  <pre><code>Apache Maven 3.0.4
  Maven home: /usr/share/maven
  Java version: 1.7.0_03, vendor: Oracle Corporation
  Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux", version: "3.2.0-27-generic", arch: "amd64", family: "unix"
  </code></pre>
  
  <p>and this is the line 53:</p>
  
  <pre><code>Token&lt;BlockTokenIdentifier&gt; token = locatedBlock.getBlockToken();
  </code></pre>