Closed GeertJohan closed 12 years ago
Aalok, I spoke with Geert-Johan privately about this change. I am not sure why the conformance level was not needed in my local environment nor on Travis before, but it appears to be. The crux of the problem is that Maven compiles the Java classes in a pre-generics mode, yielding syntax errors.
Thanks for clarifying that Matt, I should've mentioned that in the description. BTW: The travis build on this pull request failed because the .travis.yml has "pomack/thrift4go" statically in it. I have added cross-repository travis ability in an other branch which is also requested for pull.
Edited pom.xml, added the maven compiler plugin with config. Must use java 1.6. Java 1.6 allows @Override annotations for methods that implement an interface (which the generated code does). This is also likely to fix the Travis-ci build.