QuickTip : annotations are not supported in -source 1.3

If you are using Maven 2 and you see this issue when you are building your applications then easy way out is to add the following snippet to your pom.xml

installation

  1. download maven from the apache project website
  2. create the maven enviroment variable
    • export m2_home=/home/pweb/usr/springsource/maven
    • env
  3. add maven to the path
    • export path=/home/pweb/usr/springsource/maven/bin:${path}
  4. test maven
    • mvn --version