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 458F418077 for ; Tue, 28 Apr 2015 09:07:06 +0000 (UTC) Received: (qmail 61814 invoked by uid 500); 28 Apr 2015 09:07:06 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 61762 invoked by uid 500); 28 Apr 2015 09:07:06 -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 61746 invoked by uid 99); 28 Apr 2015 09:07:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 09:07:06 +0000 Date: Tue, 28 Apr 2015 09:07:05 +0000 (UTC) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (MNGSITE-222) Incorrect statement regarding profiles activated with -P MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MNGSITE-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov resolved MNGSITE-222. ------------------------------------ Resolution: Fixed Fixed with [r1676451|http://svn.apache.org/r1676451]. > Incorrect statement regarding profiles activated with -P > -------------------------------------------------------- > > Key: MNGSITE-222 > URL: https://issues.apache.org/jira/browse/MNGSITE-222 > Project: Maven Project Web Site > Issue Type: Bug > Environment: http://maven.apache.org/guides/introduction/introduction-to-profiles.html > Reporter: Sebb > Assignee: Michael Osipov > > Website as above says: > {quote} > Profiles can be explicitly specified using the -P CLI option. > This option takes an argument that is a comma-delimited list of profile-ids to use. When this option is specified, no profiles other than those specified in the option argument will be activated. > {quote} > The last sentence above is not true. > As proof, try the following: > {code} > mvn -f help:active-profiles -Papache-release > {code} > The output is > {code} > Active Profiles for Project 'org.apache:apache:pom:16': > The following profiles are active: > - apache-release (source: org.apache:apache:16) > - maven-3 (source: org.apache:apache:16) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)