You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/10/22 04:16:14 UTC

[jira] Commented: (MAVEN-109) Maven does not return exit codes

The following comment has been added to this issue:

     Author: Ben Walding
    Created: Tue, 21 Oct 2003 9:15 PM
       Body:
The previous comment is correct for 1), I have not verified #2.  This will be an issue with build tools such as Continuum / DamageControl if they rely on exit codes.

eg.

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Attempting to download axis-1.1-RC1.jar.
WARNING: Failed to download axis-1.1-RC1.jar.
Attempting to download jaxrpc-1.1-RC1.jar.
WARNING: Failed to download jaxrpc-1.1-RC1.jar.
Attempting to download saaj-1.1-RC1.jar.
WARNING: Failed to download saaj-1.1-RC1.jar.
Attempting to download wsdl4j-1.1-RC1.jar.
WARNING: Failed to download wsdl4j-1.1-RC1.jar.
Attempting to download torque-gen-SNAPSHOT.jar.
Attempting to download torque-SNAPSHOT.jar.
Error retrieving artifact from [http://maven-proxy:4321/torque/jars/to
rque-SNAPSHOT.jar]: java.net.SocketException: Unexpected end of file from server
The build cannot continue because of the following unsatisfied dependencies:

axis-1.1-RC1.jar (no download url specified)
jaxrpc-1.1-RC1.jar (no download url specified)
saaj-1.1-RC1.jar (no download url specified)
wsdl4j-1.1-RC1.jar (no download url specified)

Total time: 7 seconds
Finished at: Wed Oct 22 11:46:01 EST 2003

[maven@host host]$ echo $?
0

This should have returned a non-zero error code

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-109


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-109
    Summary: Maven does not return exit codes
       Type: Bug

     Status: Unassigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.1
   Versions:
             1.0-beta-7

   Assignee: 
   Reporter: Vincent Massol

    Created: Wed, 18 Sep 2002 3:53 AM
    Updated: Thu, 9 Oct 2003 5:24 AM

Description:
I have some other scripts starting Maven and they need to know if the build was successful or not. But it seems Maven does not return any error code.

Thanks
-Vincent


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org