Maven has jre target 1.5 but the code isn't 1.5 compliant
---------------------------------------------------------
Key: AMDATU-122
URL: http://jira.amdatu.org/jira/browse/AMDATU-122
Project: Amdatu
Issue Type: Bug
Components: Maven setup
Reporter: Koos Gadellaa
Assignee: Ivo Ladage - van Doorn
Priority: Blocker
The maven setup in the main pom has the following:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
i.e. it requires and targets 1.5
However, the amdatu code itself also uses @overrides when implementing
interfaces. This is a 1.6 feature. :-/
i.e. a (proper) 1.5 compiler will not be able to build this code.
fix would be either to go to 1.6 (and update the pom), or to remove the
@overrides annotations from the methods which implement interfaces.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.amdatu.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira