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

Detected JDK Version: 1.8.0-91 is not in the allowed range [1.7,1.8]. #70

Open
jamesonwildwood opened this issue Sep 21, 2016 · 2 comments
Assignees

Comments

@jamesonwildwood
Copy link

Need to edit your POM properties to allow Fix Versions of JDK 1.8

Something may need to be updated for builds in Java 8

@jamesonwildwood
Copy link
Author

[INFO] --- maven-enforcer-plugin:1.3.1:enforce (default-enforce) @ anaplan-connector --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.036 s [INFO] Finished at: 2016-09-22T15:58:58+00:00 [INFO] Final Memory: 30M/273M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (default-enforce) on project anaplan-connector: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message: [ERROR] Detected JDK Version: 1.8.0-91 is not in the allowed range [1.7,1.8]. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

@shuvozula
Copy link
Contributor

So Devkit 3.7.1 enforces 1.7 >= JDK <= 1.8. We have to keep using Devkit-3.7.1 for existing customers. So overriding maven-enforcer-plugin to use required-java-version to >= 1.7.

We will have to hash this out as part of the regular regression tests for feature/INTEGRA-1024 (#68), apart from the Mulesoft certification testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants