Very nice video for Eclipse & ANTLR v3 development when software engineering is still complicated
Jan 10

By default, the source level is 1.3 in maven 2. We need to config maven compiler to use Java 1.6. Add the following snippet to your pom:

  1.  
  2. <build>
  3.         <plugins>
  4.                 <plugin>
  5.                         <groupId>org.apache.maven.plugins</groupId>
  6.                         <artifactId>maven-compiler-plugin</artifactId>
  7.                         <configuration>
  8.                                 <source>1.6</source>
  9.                                 <target>1.6</target>
  10.                         </configuration>
  11.                 </plugin>
  12.         </plugins>
  13. </build>
  14.  
  • Share/Bookmark

Leave a Reply