You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/10/22 03:58:51 UTC
cvs commit: maven/src/java/org/apache/maven/cli App.java
dion 2003/10/21 18:58:51
Modified: src/java/org/apache/maven/cli App.java
Log:
Apply a patch for part 1) of Maven-109
Revision Changes Path
1.37 +5 -1 maven/src/java/org/apache/maven/cli/App.java
Index: App.java
===================================================================
RCS file: /home/cvs/maven/src/java/org/apache/maven/cli/App.java,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- App.java 21 Aug 2003 03:56:45 -0000 1.36
+++ App.java 22 Oct 2003 01:58:51 -0000 1.37
@@ -147,6 +147,9 @@
/** return code for a failure due to anything else */
private static final int RC_OTHER_FAILURE = 90;
+ /** return code for a failure due to failed dependency */
+ private static final int RC_FAILED_DEPENDENCY = 100;
+
// O P T I O N S
/** Console banner option. */
@@ -547,6 +550,7 @@
{
failed = true;
System.err.println( e.getLocalizedMessage() );
+ returnCode = RC_FAILED_DEPENDENCY;
}
catch ( ChecksumVerificationException e )
{
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org