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 489FF200D79 for ; Sat, 9 Dec 2017 16:27:32 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 44A5C160C0E; Sat, 9 Dec 2017 15:27:32 +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 81831160C21 for ; Sat, 9 Dec 2017 16:27:31 +0100 (CET) Received: (qmail 70170 invoked by uid 500); 9 Dec 2017 15:27:29 -0000 Mailing-List: contact commits-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 commits@maven.apache.org Received: (qmail 69769 invoked by uid 99); 9 Dec 2017 15:27:29 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Dec 2017 15:27:29 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 9CA918585D; Sat, 9 Dec 2017 15:27:27 +0000 (UTC) Date: Sat, 09 Dec 2017 15:27:49 +0000 To: "commits@maven.apache.org" Subject: [maven-jlink-plugin] 23/38: o Improved error message o Fixed command line options issue. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: hboutemy@apache.org In-Reply-To: <151283324670.27192.1519586459352769136@gitbox.apache.org> References: <151283324670.27192.1519586459352769136@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: maven-jlink-plugin X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: db77cd5ebbf85a1b5bb13ce7f71e2c67a771d811 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20171209152727.9CA918585D@gitbox.apache.org> archived-at: Sat, 09 Dec 2017 15:27:32 -0000 This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-jlink-plugin.git commit db77cd5ebbf85a1b5bb13ce7f71e2c67a771d811 Author: Karl Heinz Marbaise AuthorDate: Tue Sep 5 18:19:22 2017 +0000 o Improved error message o Fixed command line options issue. git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1807384 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java index 122b859..98c7d5a 100644 --- a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java +++ b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java @@ -451,8 +451,8 @@ public class JLinkMojo if ( endian != null && ( !"big".equals( endian ) || !"little".equals( endian ) ) ) { - String message = - "The given endian parameters " + endian + " is not in the valid value either 'little' or 'big'."; + String message = "The given endian parameter " + endian + + " does not contain one of the following values: 'little' or 'big'."; getLog().error( message ); throw new MojoFailureException( message ); } @@ -504,7 +504,7 @@ public class JLinkMojo if ( endian != null ) { - argsFile.println( "--bind-services" ); + argsFile.println( "--endians" ); argsFile.println( endian ); } if ( ignoreSigningInformation ) -- To stop receiving notification emails like this one, please contact "commits@maven.apache.org" .