Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 15232 invoked from network); 25 Mar 2009 15:16:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Mar 2009 15:16:24 -0000 Received: (qmail 32538 invoked by uid 500); 25 Mar 2009 15:16:22 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 32452 invoked by uid 500); 25 Mar 2009 15:16:22 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 32442 invoked by uid 99); 25 Mar 2009 15:16:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2009 15:16:22 +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: local policy) Received: from [83.166.162.179] (HELO mail.exubero.com) (83.166.162.179) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 25 Mar 2009 15:16:13 +0000 Received: by mail.exubero.com (Postfix, from userid 505) id ACB9F186E01; Wed, 25 Mar 2009 15:15:50 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on castor.exubero.com X-Spam-Level: Received: from mail.exubero.com (castor.exubero.com [127.0.0.1]) by mail.exubero.com (Postfix) with ESMTP id A1082186DBA for ; Wed, 25 Mar 2009 15:15:41 +0000 (GMT) Received: from 171.159.33.4 (SquirrelMail authenticated user joe) by mail.exubero.com with HTTP; Wed, 25 Mar 2009 15:15:41 -0000 (UTC) Message-ID: <64319.171.159.33.4.1237994141.squirrel@mail.exubero.com> In-Reply-To: <22703348.post@talk.nabble.com> References: <22695495.post@talk.nabble.com> <2ee5b0120903250739r1fcda348g1050538371c234ce@mail.gmail.com> <22703348.post@talk.nabble.com> Date: Wed, 25 Mar 2009 15:15:41 -0000 (UTC) Subject: Re: How do I run maven build from ant From: "Joe Schmetzer" To: "Ant Users List" User-Agent: SquirrelMail/1.4.8-4.0.1.el5.centos.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4 The Maven tasks for Ant are limited to dependency management, artifact deployment and POM processing. They currently do not handle invoking Mave= n builds from Ant. I suspect the easiest solution for you is to just invoke Maven directly using an task. Regards, Joe On Wed, March 25, 2009 2:58 pm, eyalg1972 wrote: > > Thanks, I saw the ant-task issue, but I still did not understood how to > use > them to invoke from ant a maven build... > > Eyal > > > mchenryc wrote: >> >> The maven team has created a set of Ant tasks to do some of the things >> maven >> does. I have not used it myself: >> http://maven.apache.org/ant-tasks/index.html >> >> However, once upon a time I did use a set of macros that would invoke >> maven. >> It was part of the JavaGen Ant Modules, which are no longer maintained >> (and >> point you to the Maven Ant Tasks) >> http://javagen.com/jam/index.html >> >> ...Chad >> >> On Wed, Mar 25, 2009 at 1:26 AM, eyalg1972 wrote: >> >>> >>> Hi, >>> >>> I have an ant build process, that needs to rely on some component bui= lt >>> by >>> maven. >>> >>> How can I run the maven build from ant? >>> >>> Just using the exec? >>> >>> Did anyone did it? >>> >>> Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org