Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 84123 invoked from network); 5 Feb 2010 12:15:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2010 12:15:46 -0000 Received: (qmail 34434 invoked by uid 500); 5 Feb 2010 12:15:44 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 34313 invoked by uid 500); 5 Feb 2010 12:15:43 -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 34302 invoked by uid 99); 5 Feb 2010 12:15:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 12:15:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcjtmu-turbine-maven-user-846@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 12:15:35 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NdN5b-0004G4-Da for users@maven.apache.org; Fri, 05 Feb 2010 13:15:11 +0100 Received: from mail.elsag-solutions.com ([62.154.225.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2010 13:15:11 +0100 Received: from joerg.schaible by mail.elsag-solutions.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2010 13:15:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@maven.apache.org From: =?UTF-8?B?SsO2cmc=?= Schaible Subject: Re: question about profile inheritance Followup-To: gmane.comp.jakarta.turbine.maven.user Date: Fri, 05 Feb 2010 13:14:47 +0100 Lines: 77 Message-ID: References: <4B6C037D.9090800@proventis.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mail.elsag-solutions.com User-Agent: KNode/4.3.3 Sender: news Thomas Markus wrote at Freitag, 5. Februar 2010 12:39: > hi, > > i try to define profiles in a parent pom and activate these profiles in > a child pom. its a little bit confusion. > > in child project part1 > > mvn help:active-profiles > > shows > - test1 (source: pom) > - base (source: settings.xml) > > but a > > mvn > > doesn't runs my plugin (no inheritance) > > but a > > mvn -P test1 > > (expected to be same) > > executes the plugin > > what i'm missing here? i try to define profiles for different project > configurations. [snip] > parent pom: > > ------------------------------------------------------------------------ [snip] > > > test1 > [snip] > > > > > > ------------------------------------------------------------------------ > > child pom: > ------------------------------------------------------------------------ [snip] > > > test1 > > true > > > [snip] Activation of a profile is either global if set by command line or activated in the settings.xml, otherwise the activation is only local to the *current* POM i.e. in your parent is not activated and the profile in your child POM does actually not add something to the build. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org