{"action":"created","issue":{"url":"https://api.github.com/repos/Alfresco/Aikau/issues/116","labels_url":"https://api.github.com/repos/Alfresco/Aikau/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/Alfresco/Aikau/issues/116/comments","events_url":"https://api.github.com/repos/Alfresco/Aikau/issues/116/events","html_url":"https://github.com/Alfresco/Aikau/issues/116","id":62390849,"number":116,"title":"Project trying to compile against Java 1.3","user":{"login":"douglascrp","id":5930258,"avatar_url":"https://avatars.githubusercontent.com/u/5930258?v=3","gravatar_id":"","url":"https://api.github.com/users/douglascrp","html_url":"https://github.com/douglascrp","followers_url":"https://api.github.com/users/douglascrp/followers","following_url":"https://api.github.com/users/douglascrp/following{/other_user}","gists_url":"https://api.github.com/users/douglascrp/gists{/gist_id}","starred_url":"https://api.github.com/users/douglascrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglascrp/subscriptions","organizations_url":"https://api.github.com/users/douglascrp/orgs","repos_url":"https://api.github.com/users/douglascrp/repos","events_url":"https://api.github.com/users/douglascrp/events{/privacy}","received_events_url":"https://api.github.com/users/douglascrp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-17T13:07:05Z","updated_at":"2015-03-17T15:32:47Z","closed_at":null,"body":"I don't know why, but I tried to install this project, and I got the error logs below.\r\nThat's weird, because it was working yesterday, and it still works for other Alfresco SDK projects without having to \"force\" java version.\r\n\r\nIn order to be able to fix it, I had to include this on the pom.xml file:\r\n    <plugin>\r\n        <artifactId>maven-compiler-plugin</artifactId>\r\n        <version>3.2</version>\r\n        <configuration>\r\n            <source>1.7</source>\r\n            <target>1.7</target>\r\n        </configuration>\r\n    </plugin>\r\n\r\nuser@machine:~/Projetos/testes/aikau-client$ mvn install\r\n[INFO] Scanning for projects...\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building Aikau Client 1.0-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ aikau-client ---\r\n[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!\r\n[INFO] skip non existing resourceDirectory /home/user/Projetos/testes/aikau-client/src/main/resources\r\n[INFO] \r\n[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ aikau-client ---\r\n[INFO] Compiling 8 source files to /home/user/Projetos/testes/aikau-client/target/classes\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 1.315s\r\n[INFO] Finished at: Tue Mar 17 09:41:29 BRT 2015\r\n[INFO] Final Memory: 19M/982M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project aikau-client: Compilation failure: Compilation failure:\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauServletRequestWrapper.java:[39,15] error: generics are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable generics)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauServletRequestWrapper.java:[61,5] error: annotations are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable annotations)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauServletRequestWrapper.java:[111,24] error: for-each loops are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable for-each loops)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauPageViewResolver.java:[46,5] error: annotations are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable annotations)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauLogoutController.java:[65,5] error: annotations are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable annotations)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauUser.java:[46,35] error: generics are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable generics)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauUser.java:[54,5] error: annotations are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable annotations)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauAuthenticationFilter.java:[45,30] error: generics are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable generics)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauPageView.java:[82,5] error: annotations are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable annotations)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauLoginController.java:[63,5] error: annotations are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable annotations)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauLoginController.java:[127,49] error: for-each loops are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable for-each loops)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauUserFactory.java:[79,5] error: annotations are not supported in -source 1.3\r\n[ERROR] \r\n[ERROR] (use -source 5 or higher to enable annotations)\r\n[ERROR] /home/user/Projetos/testes/aikau-client/src/main/java/org/alfresco/AikauUserFactory.java:[102,67] error: generics are not supported in -source 1.3\r\n[ERROR] -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException\r\nuser@machine:~/Projetos/testes/aikau-client$ java -version\r\njava version \"1.7.0_76\"\r\nJava(TM) SE Runtime Environment (build 1.7.0_76-b13)\r\nJava HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)\r\nuser@machine:~/Projetos/testes/aikau-client$ java -version\r\njava version \"1.7.0_76\"\r\nJava(TM) SE Runtime Environment (build 1.7.0_76-b13)\r\nJava HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)"},"comment":{"url":"https://api.github.com/repos/Alfresco/Aikau/issues/comments/82416151","html_url":"https://github.com/Alfresco/Aikau/issues/116#issuecomment-82416151","issue_url":"https://api.github.com/repos/Alfresco/Aikau/issues/116","id":82416151,"user":{"login":"draperd","id":1084047,"avatar_url":"https://avatars.githubusercontent.com/u/1084047?v=3","gravatar_id":"","url":"https://api.github.com/users/draperd","html_url":"https://github.com/draperd","followers_url":"https://api.github.com/users/draperd/followers","following_url":"https://api.github.com/users/draperd/following{/other_user}","gists_url":"https://api.github.com/users/draperd/gists{/gist_id}","starred_url":"https://api.github.com/users/draperd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draperd/subscriptions","organizations_url":"https://api.github.com/users/draperd/orgs","repos_url":"https://api.github.com/users/draperd/repos","events_url":"https://api.github.com/users/draperd/events{/privacy}","received_events_url":"https://api.github.com/users/draperd/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T15:32:47Z","updated_at":"2015-03-17T15:32:47Z","body":"Thanks for the heads up... we'll update the Aikau poms to fix this."}}