You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maarten Mulders (Jira)" <ji...@apache.org> on 2020/12/09 09:20:00 UTC

[jira] [Created] (MNG-7051) Optionally skip non-existing profiles

Maarten Mulders created MNG-7051:
------------------------------------

             Summary: Optionally skip non-existing profiles
                 Key: MNG-7051
                 URL: https://issues.apache.org/jira/browse/MNG-7051
             Project: Maven
          Issue Type: Sub-task
          Components: Profiles
            Reporter: Maarten Mulders
            Assignee: Maarten Mulders


For Maven 4, the behaviour of the {{-P}} command line option will change:

* {{-P apache-release}} will activate the *apache-release* profile. If such a profile cannot be found, the build will break.
* {{-P ?apache-release}} will activate the *apache-release* profile. If such a profile cannot be found, the build will continue but log a warning.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)