You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/09 15:27:49 UTC

[maven-jlink-plugin] 23/38: o Improved error message o Fixed command line options issue.

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 <kh...@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" <co...@maven.apache.org>.