Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 33B279213 for ; Sat, 14 Apr 2012 07:23:36 +0000 (UTC) Received: (qmail 97638 invoked by uid 500); 14 Apr 2012 07:23:36 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 97262 invoked by uid 500); 14 Apr 2012 07:23:31 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 97220 invoked by uid 99); 14 Apr 2012 07:23:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 07:23:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 07:23:23 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 0F3E8B0480 for ; Sat, 14 Apr 2012 02:23:03 -0500 (CDT) Date: Sat, 14 Apr 2012 02:23:02 -0500 (CDT) From: "Trevor Baker (JIRA)" To: issues@maven.apache.org Message-ID: <1824928840.66042.1334388183077.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> In-Reply-To: <1689651735.66040.1334387162892.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> Subject: [jira] (MNG-5276) CLI property doesn't override profile property MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 [ https://jira.codehaus.org/browse/MNG-5276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296459#comment-296459 ] Trevor Baker commented on MNG-5276: ----------------------------------- The maven antrun plugin gets the command-line myprop property value (override), but the effective pom's myprop property is the profile's property value (profile-prop). Was expecting the myprop values to be the same (override). > CLI property doesn't override profile property > ---------------------------------------------- > > Key: MNG-5276 > URL: https://jira.codehaus.org/browse/MNG-5276 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Inheritance and Interpolation > Affects Versions: 3.0.4 > Environment: n/a > Reporter: Trevor Baker > Attachments: pom.xml > > > Run: > mvn initialize help:effective-pom -Dmyprop=override > on the attached pom. > Expected: > {code:xml} > > override > override > > {code} > Actual: > {code:xml} > > profile-prop > override > > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira