Saturday, August 27, 2011

If you are getting generics are not supported in -source 1.3 in maven

When you execute maven clean install if you are getting "generics not supported in -source 1.3" then add the below plugin into the pom.xml then execute the maven eclipse:eclipse then refresh your project in eclipse.
<plugin>
<groupid>org.apache.maven.plugins</groupid>
<artifactid>maven-compile-plugin</artifactid>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>

No comments:

Post a Comment