radcortez / javaee7-angular

Java EE 7 with Angular
https://codenvy.com/f?id=ybnr6nsyrimeoyhg
MIT License
235 stars 196 forks source link

Java 1.8 Update not within of allowed range #5

Closed Miladiir closed 9 years ago

Miladiir commented 9 years ago
❯ mvn install
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building javaee7-angular 3.2
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ javaee7-angular ---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
Detected JDK Version: 1.8.0-20 is not in the allowed range [1.7,1.8).
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

Not sure wether this is intended or not, so I will just leave it here. Changing the requirement from $java.version, 1.8 to 1.9 obviously fixes this. Project runs fine.

radcortez commented 9 years ago

Thank you @Miladiir, should be fixed.