Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 13579 invoked from network); 15 Jun 2007 14:59:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jun 2007 14:59:27 -0000 Received: (qmail 74625 invoked by uid 500); 15 Jun 2007 14:59:24 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 74508 invoked by uid 500); 15 Jun 2007 14:59:24 -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 74382 invoked by uid 99); 15 Jun 2007 14:59:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 07:59:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 07:59:19 -0700 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 25AFB14A8046 for ; Fri, 15 Jun 2007 09:58:59 -0500 (CDT) Message-ID: <831290.1181919539152.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Fri, 15 Jun 2007 09:58:59 -0500 (CDT) From: "Brett Porter (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (MNG-2234) activeProfile in ~/.m2/settings.xml is ignored when profiles section is missing or empty In-Reply-To: <77106498.1145553919163.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MNG-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter updated MNG-2234: ------------------------------ Component/s: Settings Profiles > activeProfile in ~/.m2/settings.xml is ignored when profiles section is missing or empty > ---------------------------------------------------------------------------------------- > > Key: MNG-2234 > URL: http://jira.codehaus.org/browse/MNG-2234 > Project: Maven 2 > Issue Type: Bug > Components: Profiles, Settings > Affects Versions: 2.0.4 > Reporter: Manfred Geiler > Fix For: 2.0.x > > > When i have this settings.xml file in my user home dir, the activeProfile setting is simply ignored by Maven: > > > env-test > > > Adding an empty profiles section does not help: > > > > > env-test > > > Well, adding a dummy profile makes it work: > > > > dummy > > > > env-test > > > Funny, isn't it? > Regards, > Manfred -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira