You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by sv...@apache.org on 2022/04/23 23:26:50 UTC

svn commit: r1900230 - in /maven/website/content: apache-maven.pdf guides/introduction/introduction-to-profiles.html maven-site-1.0-site.jar

Author: svn-site-role
Date: Sat Apr 23 23:26:49 2022
New Revision: 1900230

Log:
Site checkin for project Apache Maven Site

Modified:
    maven/website/content/apache-maven.pdf
    maven/website/content/guides/introduction/introduction-to-profiles.html
    maven/website/content/maven-site-1.0-site.jar

Modified: maven/website/content/apache-maven.pdf
==============================================================================
Binary files - no diff available.

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 Apr 23 23:26:49 2022
@@ -300,7 +300,8 @@ mvn groupId:artifactId:goal -Ddebug=fals
 <h4><a name="Deactivating_a_profile"></a>Deactivating a profile</h4>
 <p>Starting with Maven 2.0.10, one or more profiles can be deactivated using the command line by prefixing their identifier with either the character '!' or '-' as shown below:</p>
 <div class="source"><pre class="prettyprint linenums">mvn groupId:artifactId:goal -P !profile-1,!profile-2,!?profile-3</pre></div>
-<p>or +---+ mvn groupId:artifactId:goal -P -profile-1,-profile-2,-?profile-3 +---+</p>
+<p>or</p>
+<div class="source"><pre class="prettyprint linenums">mvn groupId:artifactId:goal -P -profile-1,-profile-2,-?profile-3</pre></div>
 <p>This can be used to deactivate profiles marked as activeByDefault or profiles that would otherwise be activated through their activation config.</p></section></section><section>
 <h3><a name="Which_areas_of_a_POM_can_be_customized_by_each_type_of_profile.3F_Why.3F"></a>Which areas of a POM can be customized by each type of profile? Why?</h3>
 <p>Now that we've talked about where to specify profiles, and how to activate them, it will be useful to talk about <i>what</i> you can specify in a profile. As with the other aspects of profile configuration, this answer is not straightforward.</p>

Modified: maven/website/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.