Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the Enforcer plugin to ensure our dependencies are compatible with Java 5 #234

Closed
wonderfly opened this issue Jan 9, 2015 · 0 comments
Assignees
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release.

Comments

@wonderfly
Copy link
Contributor

From ngmic...@google.com on July 02, 2013 09:12:30

Use the Enforce Bytecode Version Plugin to ensure our dependencies are compatible with Java 5: http://mojo.codehaus.org/extra-enforcer-rules/enforceBytecodeVersion.html The java6 package should obviously enforce Java 6 compatibility. App Engine also requires at least Java 6.

We attempted to do this once, but ran into the following problem:

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

Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=234

@wonderfly wonderfly added imported priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Jan 9, 2015
@wonderfly wonderfly self-assigned this Jan 9, 2015
@wonderfly wonderfly removed their assignment May 20, 2016
clundin25 pushed a commit to clundin25/google-http-java-client that referenced this issue Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release.
Projects
None yet
Development

No branches or pull requests

4 participants