redirect the output to a file: maven jar:compile > debug.txt
if you need to catch the stderr output as well: maven jar:compile > debug.txt 2>&1 regards, Wim P.S.: This is on Windows ofcourse -----Original Message----- From: GOKULAM Jayaram [mailto:[EMAIL PROTECTED] Sent: donderdag 24 maart 2005 11:07 To: Maven Users List Subject: Log file creation Hi all, I am trying to create a log file when a java compile fails, or when a deployment fails and so on. Can anybody help me how I should achieve this please. Thanks in advance, Jayaram Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.