Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Java 5 compatibility checks #232
From yan...@google.com on June 24, 2013 12:11:58
Use the Animal Sniffer plugin to ensure we write code that is compatible with Java 5: http://mojo.codehaus.org/animal-sniffer-maven-plugin/ Use the Enforce Bytecode Version Plugin to ensure our dependencies are compatible with Java 5: http://mojo.codehaus.org/extra-enforcer-rules/enforceBytecodeVersion.html
From ngmic...@google.com on July 02, 2013 09:12:57
We added the Animal Sniffer plugin but not the Enforcer plugin. The Enforcer plugin crashes with a NullPointerException. This seems to be because we specify version numbers in instead of directly on the dependencies.
The following thread appears to be the issue we're facing as well: http://stackoverflow.com/questions/1017019/maven-assembly-plugin-fails-with-nullpointerexception Particularly the comment on the answer: http://stackoverflow.com/questions/1017019/maven-assembly-plugin-fails-with-nullpointerexception#comment826448_1017037 This will be tracked in a new issue: https://code.google.com/p/google-http-java-client/issues/detail?id=234