maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject [maven-jlink-plugin] 23/38: o Improved error message o Fixed command line options issue.
Date Sat, 09 Dec 2017 15:27:49 GMT
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 <khmarbaise@apache.org>
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" <commits@maven.apache.org>.

Mime
View raw message