You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slawekjaranowski (via GitHub)" <gi...@apache.org> on 2025/02/01 09:30:18 UTC
Re: [PR] Add example of profile activation with value true [maven-site]
slawekjaranowski commented on code in PR #659:
URL: https://github.com/apache/maven-site/pull/659#discussion_r1938238904
##########
content/apt/guides/introduction/introduction-to-profiles.apt:
##########
@@ -260,6 +260,30 @@ mvn groupId:artifactId:goal -P profile-1,profile-2,?profile-3
</profiles>
+---+
+ The following profile will be activated when the system property "debug" is defined with no value,
+ or is defined with the value "true".
+
++---+
+<profiles>
+ <profile>
+ <activation>
+ <property>
+ <name>debug</name>
+ <value>true</value>
+ </property>
+ </activation>
Review Comment:
Ok, but it is not a feature o profile but feature how user properties are initialized by CLI
By the way we need check if it documented somewhere
--
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.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org