[ 
http://jira.amdatu.org/jira/browse/AMDATU-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koos Gadellaa closed AMDATU-122.
--------------------------------


I will close the issue, however, as the problem has been solved. As said, a 
question remains if it could have been spotted earlier, and if so, if such 
measures can be implemented.

> 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: Koos Gadellaa
>            Priority: Blocker
>             Fix For: 0.0.5
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to