Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2015 12:55:44 +0300
From:      Dmitry Sivachenko <trtrmitya@gmail.com>
To:        freebsd-java@FreeBSD.org
Subject:   How to build a port with java-7 and maven?
Message-ID:  <13866652-CEA0-4CE1-A38C-10703EC9FA5C@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

Imagine a port which requires Java 7 (say, devel/hadoop2).
It uses maven build system.

Since default java version is Java 8, build cluster will install Java 8 =
package as maven's dependency (since maven does not require specific =
java version).

After that, despite JAVA_VERSION=3D1.7 in hadoop2 port, maven will use =
Java8 to compile hadoop's sources.

What is the proper way to fix that?

Thanks!=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13866652-CEA0-4CE1-A38C-10703EC9FA5C>