Skip to content

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

Open

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.

Activity

  1. flefevre commented on Oct 4, 2013

    @flefevre

    in the main pom.xml
    switch to
    plugin
    groupId org.apache.maven.plugins
    artifactIdmaven-compiler-plugin
    version2.0.2version
    configuration
    source1.7source
    target1.7target
    configuration
    plugin

  2. heuermh commented on Oct 4, 2013

    @heuermh
    ContributorAuthor

    @flefevre this is fixed and merged into kingbd/basespace-java-sdk, which is the current HEAD of development as it were. At some point that repo may be merged back into this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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