arend-von-reinersdorff commented on code in PR #659:
URL: https://github.com/apache/maven-site/pull/659#discussion_r1937969369


##########
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:
   value=true is a special case which allows to set the property on the command 
line without a value like this:
   mvn groupId:artifactId:goal -Ddebug
   
   Other values require a value to be specified on the command line like this:
   mvn groupId:artifactId:goal -Ddebug=test



-- 
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: [email protected]

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

Reply via email to