[GitHub] [maven-site] slawekjaranowski commented on a change in pull request #225: [MNG-7051] Add examples of ? prefix in profile activation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [maven-site] slawekjaranowski commented on a change in pull request #225: [MNG-7051] Add examples of ? prefix in profile activation

GitBox

slawekjaranowski commented on a change in pull request #225:
URL: https://github.com/apache/maven-site/pull/225#discussion_r553961399



##########
File path: content/apt/guides/introduction/introduction-to-profiles.apt
##########
@@ -100,9 +100,11 @@ Introduction to Build Profiles
   profile IDs to use. The profile(s) specified in the option
   are activated in addition to any profiles which are activated by their activation
   configuration or the <<<\<activeProfiles\>>>> section in <<<settings.xml>>>.
+  Maven will refuse to activate or deactivate a profile that cannot be resolved.
+  To prevent this, prefix the profile identifier with an <<<?>>>, marking it as optional:

Review comment:
       Does this behavior will be implemented in current version `3.6.x`? - if not, information which version will be impact will be useful




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]