You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2022/11/05 21:32:00 UTC

[maven-site] 01/01: Remove yet another reference to Maven 2

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch elharo-patch-3
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit b4e27d014ae60c8482ae37e60333cb8e7b296646
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Sat Nov 5 21:31:54 2022 +0000

    Remove yet another reference to Maven 2
    
    @michael-o
---
 content/apt/pom.apt.vm | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/content/apt/pom.apt.vm b/content/apt/pom.apt.vm
index 8c06959c..c05265fc 100644
--- a/content/apt/pom.apt.vm
+++ b/content/apt/pom.apt.vm
@@ -1748,14 +1748,11 @@ scm:cvs:pserver:127.0.0.1:/cvs/root:my-project
   The only element that exists as a prerequisite in
   POM 4.0.0 is the <<<maven>>> element, which takes a minimum version number.
   
-  In Maven 3, use
+  Use
   {{{/enforcer/enforcer-rules/requireMavenVersion.html} Maven Enforcer Plugin's <<<requireMavenVersion>>> rule}},
   or other rules for <<build-time>> prerequisites. For packaging <<<maven-plugin>>> this is still used at <<run-time>> to make sure
   that the minimum Maven version for the plugin is met (but only in the pom.xml of the referenced plugin).
 
-  In Maven 2 those prerequisites were also evaluated at build time: if these are not met, Maven 2 will
-  fail the build before even starting.
-
 +-------------------------+
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -1831,8 +1828,8 @@ scm:cvs:pserver:127.0.0.1:/cvs/root:my-project
 
   * <<layout>>:
   In the above description of repositories, it was mentioned that they all follow a common layout. This
-  is mostly correct. The layout introduced with Maven 2 is the default layout for repositories used by Maven both 2 & 3; however, Maven 1.x had a different
-  layout. Use this element to specify which if it is <<<default>>> or <<<legacy>>>.
+  is mostly correct. The layout introduced with Maven 2 is the default layout for repositories used by Maven both 2 & 3.
+  However, Maven 1.x had a different layout. Use this element to specify whether it is <<<default>>> or <<<legacy>>>.
 
 * {Plugin Repositories}
 
@@ -2056,8 +2053,8 @@ scm:cvs:pserver:127.0.0.1:/cvs/root:my-project
 </project>
 +-------------------------+
 
-  Before Maven 3.2.2 Activation occurs when one or more of the specified criteria have been met. When the first positive result is encountered, processing stops and the profile is marked as active.
-  Since Maven 3.2.2 Activation occurs when all of the specified criteria have been met.
+  Before Maven 3.2.2 activation occurs when one or more of the specified criteria have been met. When the first positive result is encountered, processing stops and the profile is marked as active.
+  Since Maven 3.2.2 activation occurs when all of the specified criteria have been met.
 
   * <<jdk>>:
   <<<activation>>> has a built in, Java-centric check in the <<<jdk>>> element. This will activate if the test