Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 41364 invoked from network); 4 Mar 2007 06:27:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2007 06:27:09 -0000 Received: (qmail 55486 invoked by uid 500); 4 Mar 2007 06:27:10 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 55428 invoked by uid 500); 4 Mar 2007 06:27:10 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 56959 invoked by uid 99); 4 Mar 2007 03:35:59 -0000 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=FORGED_MSGID_YAHOO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of matt.milliss@gmail.com designates 64.233.166.178 as permitted sender) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding:from; b=rZwYp3zpcf7cW2AW8HMElMeBuLa9mLgB5ojpziPt/jLMe9ZrigziCZ4b58bdzQu229UT89sWX7YEEfzArcvbUm5kpPaDTLp6AXSqbinS+WZmBKXPjV1FlQcXLU7gDhIUJEfdqfSm4Y4sXMKY9/24WJ6r8fz1eW3pXmIQQsaeDPU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding:from; b=s2Uir7eY1Y5kL0RIPlg9OqijJUyPXSpsciRSWQvR8Ea2mE79PPOmm9QIiTzaY/WrOt0sQeC/onyTpYylhMjobfpg3CHxxKNm1mf773jYxgDlwNHugRp3IZ1q33aHHskXpqP0vcO5D7YjrD4ImsTZbI2eOmvO4vbEQAo865fiAQc= Message-ID: <45EA3E8B.60102@yahoo.com> Date: Sun, 04 Mar 2007 14:35:39 +1100 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@maven.apache.org Subject: Execute specific process on maven success and failure. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Matthew Milliss X-Virus-Checked: Checked by ClamAV on apache.org Does anyone know if there is a way to execute one of two processes dependent on either the success or failure of a maven build. Executng the process needs to be independent of the build lifecycle ie doesn't matter if it fails at clean or test or deploy, just the fact that maven has failed should cause the 'failed' process to execute. The process to execute could either be a shell script, an ant task or an ssh command on a remote machine. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org