Hi all,

Can we use Java 1.6 for the maven-compiler-plugin?

Herewith I have attached a patch created from
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/components/stratos

The reason is I get errors in Eclipse when importing the project with
Eclipse Maven Plugin.

Almost every component has used @Override annotation for methods
implemented by interfaces. Since it is not supported in Java 1.5, I get
errors.

I can change the compiler version from the Eclipse project, but it resets
to 1.5 every time I update the Maven project.

Shall we commit the attached patch?

Thanks!

-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

Twitter: http://twitter.com/chrishantha | LinkedIn:
http://lk.linkedin.com/in/chrishantha/

Attachment: pom.patch
Description: Binary data

_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to