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 2023/02/09 14:53:04 UTC

[maven-site] branch elharo-patch-3 created (now 6ccf71ac)

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

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


      at 6ccf71ac Include namespace in project element

This branch includes the following new commits:

     new 6ccf71ac Include namespace in project element

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-site] 01/01: Include namespace in project element

Posted by el...@apache.org.
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 6ccf71ac73e81bbfda74f72081d6a798539bbd59
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Thu Feb 9 09:52:59 2023 -0500

    Include namespace in project element
    
    Not doing this is very bad practice that makes pom.xml files extremely inconvenient to process with standard XML tools such as DOM or XSLT.
---
 .../guides/introduction/introduction-to-the-pom.md | 30 +++++++++++-----------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/content/markdown/guides/introduction/introduction-to-the-pom.md b/content/markdown/guides/introduction/introduction-to-the-pom.md
index 9a19021d..b0d7e81c 100644
--- a/content/markdown/guides/introduction/introduction-to-the-pom.md
+++ b/content/markdown/guides/introduction/introduction-to-the-pom.md
@@ -111,7 +111,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>com.mycompany.app</groupId>
@@ -167,7 +167,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>com.mycompany.app</groupId>
@@ -202,7 +202,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
@@ -225,7 +225,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
@@ -276,7 +276,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
@@ -325,7 +325,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>com.mycompany.app</groupId>
@@ -339,7 +339,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>com.mycompany.app</groupId>
@@ -368,7 +368,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>com.mycompany.app</groupId>
@@ -423,7 +423,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>com.mycompany.app</groupId>
@@ -477,7 +477,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>com.mycompany.app</groupId>
@@ -491,7 +491,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>com.mycompany.app</groupId>
@@ -524,7 +524,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>com.mycompany.app</groupId>
@@ -543,7 +543,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
@@ -609,7 +609,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   ...
   <properties>
     <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
@@ -630,7 +630,7 @@ under the License.
 
 
 ```
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0">
   ...
   <properties>
     <mavenVersion>3.0</mavenVersion>