I'm getting the error: annotations are not supported in version 1.3 when I do a mvn clean instal. However in my pom.xml I have
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
<dependencies>
<dependency>
<groupId>x.y</groupId>
<artifactId>z</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
So it seems to be ignoring my source and target version for some reason. Does anyone have any idea why this is occuring?