You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/04/10 10:03:05 UTC

[maven-site] branch master updated: Users shouldn't start their own properties with project.

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

rfscholte 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 088c5d2  Users shouldn't start their own properties with project.
088c5d2 is described below

commit 088c5d2b7dc7fa3a6a78f76a233d4bd0345552ee
Author: Robert Scholte <rf...@apache.org>
AuthorDate: Sat Apr 10 12:02:59 2021 +0200

    Users shouldn't start their own properties with project.
---
 content/apt/pom.apt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/content/apt/pom.apt b/content/apt/pom.apt
index 807ae40..858ea56 100644
--- a/content/apt/pom.apt
+++ b/content/apt/pom.apt
@@ -823,7 +823,9 @@ Display parameters as parsed by Maven (in canonical form) and comparison result:
   <properties>
     <maven.compiler.source>1.7</maven.compiler.source>
     <maven.compiler.target>1.7</maven.compiler.target>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <!-- Following project.-properties are reserved for Maven in will become elements in a future POM definition. -->
+    <!-- Don't start your own properties properties with project. -->
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
   </properties>
   ...