Author: svn-site-role
Date: Sat Feb 22 10:52:51 2025
New Revision: 1923979

Log:
Site checkin for project Apache Maven Site

Modified:
    maven/website/content/guides/introduction/introduction-to-profiles.html

Modified: 
maven/website/content/guides/introduction/introduction-to-profiles.html
==============================================================================
--- maven/website/content/guides/introduction/introduction-to-profiles.html 
(original)
+++ maven/website/content/guides/introduction/introduction-to-profiles.html Sat 
Feb 22 10:52:51 2025
@@ -292,6 +292,21 @@
     ...
   </profile>
 &lt;/profiles&gt;</code></pre>
+<p>The following profile will be activated when the system property 
&quot;debug&quot; is defined with no value, or is defined with the value 
&quot;true&quot;.</p>
+<pre class="prettyprint linenums"><code>&lt;profiles&gt;
+  &lt;profile&gt;
+    &lt;activation&gt;
+      &lt;property&gt;
+        &lt;name&gt;debug&lt;/name&gt;
+        &lt;value&gt;true&lt;/value&gt;
+      &lt;/property&gt;
+    &lt;/activation&gt;
+    ...
+  &lt;/profile&gt;
+&lt;/profiles&gt;</code></pre>
+<p>To activate this you would type one of those on the command line:</p>
+<pre>mvn groupId:artifactId:goal -Ddebug
+mvn groupId:artifactId:goal -Ddebug=true</pre>
 <p>The following profile will be activated when the system property 
&quot;debug&quot; is not defined, or is defined with a value which is not 
&quot;true&quot;.</p>
 <pre class="prettyprint linenums"><code>&lt;profiles&gt;
   &lt;profile&gt;


Reply via email to