Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 93926 invoked from network); 1 Oct 2007 06:29:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2007 06:29:50 -0000 Received: (qmail 25043 invoked by uid 500); 1 Oct 2007 06:29:39 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 25016 invoked by uid 500); 1 Oct 2007 06:29:38 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Delivered-To: moderator for continuum-users@maven.apache.org Received: (qmail 16983 invoked by uid 99); 30 Sep 2007 20:18:26 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jpensock@mho.com designates 64.58.4.6 as permitted sender) Message-ID: <4700043C.90508@mho.com> Date: Sun, 30 Sep 2007 14:17:00 -0600 From: jep User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: continuum-users@maven.apache.org Subject: ?Project build start & successful build finish hooks? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I am in the process of converting a large project from Subversion/Ant/CruiseControl to Subversion/Maven/Continuum(1.1-beta-2). One of the things done on the CruiseControl machine is to restore a database to a known state before the build starts (so the integration tests run during the build start with a known state, and it is only done once per build for performance reasons). Another thing done currently, is that if the build is successful, then a Subversion copy of the source tree is saved as the last known successful build (from which tags and branches are created when needed). Under Continuum, is there a prescribed way to perform such one time, pre- and post-build work? I have currently placed the pre-build work in the 'root' pom.xml file (is there a better way?), but haven't figured how to gain control after a build completes and test if was successful and perform the svn copy. Ideas? John