maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SebbASF (JIRA)" <>
Subject [jira] (MNGSITE-222) Incorrect statement regarding profiles activated with -P
Date Thu, 22 Jan 2015 15:01:18 GMT
SebbASF created MNGSITE-222:

             Summary: Incorrect statement regarding profiles activated with -P
                 Key: MNGSITE-222
             Project: Maven Project Web Site
          Issue Type: Bug
            Reporter: SebbASF

Website as above says:

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

The last sentence above is not true.

As proof, try the following:

mvn -f <apache-parent-pom> help:active-profiles -Papache-release

The output is

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)

This message was sent by Atlassian JIRA

View raw message