Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C0899940 for ; Fri, 27 Jan 2012 08:27:34 +0000 (UTC) Received: (qmail 85590 invoked by uid 500); 27 Jan 2012 08:27:32 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 85013 invoked by uid 500); 27 Jan 2012 08:27:22 -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 85003 invoked by uid 99); 27 Jan 2012 08:27:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2012 08:27:17 +0000 X-ASF-Spam-Status: No, hits=4.7 required=5.0 tests=FREEMAIL_FORGED_REPLYTO,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.139.91.72] (HELO nm2.bullet.mail.sp2.yahoo.com) (98.139.91.72) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 27 Jan 2012 08:27:05 +0000 Received: from [98.139.91.62] by nm2.bullet.mail.sp2.yahoo.com with NNFMP; 27 Jan 2012 08:26:43 -0000 Received: from [98.139.91.2] by tm2.bullet.mail.sp2.yahoo.com with NNFMP; 27 Jan 2012 08:26:38 -0000 Received: from [127.0.0.1] by omp1002.mail.sp2.yahoo.com with NNFMP; 27 Jan 2012 08:26:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 604409.44841.bm@omp1002.mail.sp2.yahoo.com Received: (qmail 40894 invoked by uid 60001); 27 Jan 2012 08:26:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1327652798; bh=6jFbHTJ6dPHzsKB97mBTXK4ekkl4Of4Ayou10sytxBI=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=dqCyXCh2c4d8mdcTFRsaeAZxAbu8y90Kagz6zxUFP/0Ttqa+iMw89AEus/bu2hE4WaDiSC+ENEUyeD9LxVM8oTZEGGWBN88c57Vw/SpPWmzRvQ6r8W8hlC/4+e25y5DLfGMdRJKftU9tjMBlzJ0RXYLtSOPH7Iur4N0o7w4WCWQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=yyfu9OI7bpu2vkLvZulP/PN6kCYMrypHxG1NSCHJ1kd8Oz5uim9DRM3RnHHx+pNHz9W+79qVX+Sn+EaVALxpuIvcdoOt+QaWgupki/mGt0IZuAfGLf8MBYe7YTFecUKjgDaqZvc2Ef0AhNfJvNUTjI7ORYvYC9Hx3ZCKjGXoMmE=; X-YMail-OSG: PkLvxzsVM1nA31uuXjR5.YBQTUJ4Up6BSVXaRXVqnflcowz gF9U6twDoUI.Sr57tNE1L5.3gPOtKbTDbrGXEyGLXSXdRNM3DiPn1U6jK2gz OXmnGof5weM_J67P3JS1m29FfQ5u8mitPEhEqUB6uoe6yFkj.wSmgzP2aR87 QeGXC_3BPsQp4LMZmB2vCi7hbgMdgI1n3si4JtmMsMhkSzLxeksldSZC9liK 6aTpX.mLMyQghrBqD5Ik_URg.IVB5NflJwvlCKyNw75h9lFrfbQgVcl.PAF. 7Mh5.2oFAYgzi8p2ntDopd9QdqaLStZ.NcLcyUGsL0U0WSsDsLeRKPhSMYIJ QUDsXcayjJBfqcTkQbQcenQ7hNYiyoM14njgzakCK3JfuUbbea37huswYZgP PG801rGwKt.V8tAQIJTOLusJt.19reY4SxLXodj2Gs1FnHo_TpDHP.eKIug. jATHW2TaJDG97vgT2vyfEd66n7fwtxNbqqLi8Cg-- Received: from [148.87.67.210] by web114712.mail.gq1.yahoo.com via HTTP; Fri, 27 Jan 2012 00:26:37 PST X-Mailer: YahooMailWebService/0.8.116.331537 References: Message-ID: <1327652797.40319.YahooMailNeo@web114712.mail.gq1.yahoo.com> Date: Fri, 27 Jan 2012 00:26:37 -0800 (PST) From: Ashish Reply-To: Ashish Subject: Maven parallel build with selective dependency exclusions To: Maven Users List In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1233517684-1531459681-1327652797=:40319" X-Virus-Checked: Checked by ClamAV on apache.org ---1233517684-1531459681-1327652797=:40319 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi,=0A=A0 I have a multi-module project and I want to create a shorter vers= ion of the build that selectively builds a sub-set of the modules. I am usi= ng a maven profile for this. So if total I have module=A0 a, b, c, d and e,= in a profile I have a module list of a, b and c. The module c's pom.xml ha= s a dependency on d which I don't want to build, and even if I have to buil= d I do not want to execute its Testcases. The optional =3D true doesn't wor= k and if a dependency exclusion in the profile is not working either. So ho= w can I write a profile to either skip d and e but still build 'c' or execu= te Testcases (cucumber testcases + Junit) for a, b and c but just compile d= and e if I have to. Appreciate your help,=0A=0A-Ashish ---1233517684-1531459681-1327652797=:40319--