Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E85D7200D55 for ; Fri, 24 Nov 2017 17:23:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E6F2C160C12; Fri, 24 Nov 2017 16:23:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 418C5160BF2 for ; Fri, 24 Nov 2017 17:23:06 +0100 (CET) Received: (qmail 89233 invoked by uid 500); 24 Nov 2017 16:23:05 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 89222 invoked by uid 99); 24 Nov 2017 16:23:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Nov 2017 16:23:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id ADDE01A072D for ; Fri, 24 Nov 2017 16:23:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 9GVHNTzo1XzN for ; Fri, 24 Nov 2017 16:23:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 3EE075FDCF for ; Fri, 24 Nov 2017 16:23:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DA798E0237 for ; Fri, 24 Nov 2017 16:23:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id F2866241A0 for ; Fri, 24 Nov 2017 16:23:00 +0000 (UTC) Date: Fri, 24 Nov 2017 16:23:00 +0000 (UTC) From: "Roberto Araujo (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MJLINK-6) Allow set the jmods path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 24 Nov 2017 16:23:07 -0000 [ https://issues.apache.org/jira/browse/MJLINK-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265399#comment-16265399 ] Roberto Araujo commented on MJLINK-6: ------------------------------------- But I can build a runtime image for Linux on OS X (At least for a docker containers). E.g., If I use the `--module-path` option the `jmod` folder from the Linux distribution (available at http://jdk.java.net/9/) the assembled runtime image will work on Docker container (tested with debian:sid). But if I use the `jmod` folder from my JAVA_HOME (i'm on OS X) the assembled runtime image will not work in the container (the binaries are not compatible). > Allow set the jmods path > ------------------------ > > Key: MJLINK-6 > URL: https://issues.apache.org/jira/browse/MJLINK-6 > Project: Maven JLink Plugin > Issue Type: Improvement > Affects Versions: 3.0.0-alpha-2 > Reporter: Roberto Araujo > Priority: Minor > > The current version of the plugin hard-coded the `jmods` folder (based on `jlink` binary location). But, for instance, if I want to build a runtime image for Linux running the build in a OSX the runtime image will not be compatible. > I suggest to allow users define the JDK `jmods` folder, and if nothing is set, use the one based on the JAVA_HOME/Toolchain configuration. -- This message was sent by Atlassian JIRA (v6.4.14#64029)