-
Notifications
You must be signed in to change notification settings - Fork 5
Description
$ mvn install
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project basespace-sdk: Compilation failure: Compilation failure:
[ERROR] /Users/xxx/working/basespace-java-sdk/src/main/java/com/illumina/basespace/DefaultBaseSpaceSession.java:[18,20] package java.nio.file does not exist
[ERROR]
...
$ mvn -v
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 07:51:28-0600)
Maven home: /Users/xxx/bin/maven-latest
Java version: 1.6.0_43, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.8.3", arch: "x86_64", family: "mac"
If the intent is that the build requires JDK 1.7 or later, then the maven-enforcer-plugin should be configured to enforce this restriction.