Skip to content

Build failure: package java.nio.file does not exist #2

@heuermh

Description

@heuermh

$ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions