You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2017/09/05 18:19:22 UTC

svn commit: r1807384 - /maven/plugins/trunk/maven-jlink-plugin/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java

Author: khmarbaise
Date: Tue Sep  5 18:19:22 2017
New Revision: 1807384

URL: http://svn.apache.org/viewvc?rev=1807384&view=rev
Log:
o Improved error message
o Fixed command line options issue.

Modified:
    maven/plugins/trunk/maven-jlink-plugin/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java

Modified: maven/plugins/trunk/maven-jlink-plugin/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java?rev=1807384&r1=1807383&r2=1807384&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java (original)
+++ maven/plugins/trunk/maven-jlink-plugin/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java Tue Sep  5 18:19:22 2017
@@ -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 )