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> </profiles></code></pre> +<p>The following profile will be activated when the system property "debug" is defined with no value, or is defined with the value "true".</p> +<pre class="prettyprint linenums"><code><profiles> + <profile> + <activation> + <property> + <name>debug</name> + <value>true</value> + </property> + </activation> + ... + </profile> +</profiles></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 "debug" is not defined, or is defined with a value which is not "true".</p> <pre class="prettyprint linenums"><code><profiles> <profile>