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

Ivo Ladage - van Doorn resolved AMDATU-122.
-------------------------------------------

    Resolution: Fixed

I changed the source and target java versions in the root pom to 1.5 and to 1.6 
in the cassandra bundle.
Note however that effectively this doesn't have any effect at all. In Java 6 
the language syntax is unaffected, only rt classes (like @Override annotation) 
have been added/updated. See 
http://www.coderanch.com/t/382474/java/java/Compile-Java-Java


> 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.
-
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

        

Reply via email to