You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2023/02/10 11:30:26 UTC

[maven-site] branch master updated: Include namespace in project element

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b48552c2 Include namespace in project element
b48552c2 is described below

commit b48552c2e22089e4ef71b74d55bd0cec3a5ad521
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 201ec775..4554ee0d 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>