You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2026/09/28 13:30:53 UTC

(maven-resources-plugin) branch master updated: Remove redundant project.build.sourceEncoding from IT POMs (#522)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 857a8f6  Remove redundant project.build.sourceEncoding from IT POMs (#522)
857a8f6 is described below

commit 857a8f62ecf808b9fdc77ed85fe45590b9e5d751
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Mon Sep 28 15:30:46 2026 +0200

    Remove redundant project.build.sourceEncoding from IT POMs (#522)
    
    maven-resources-plugin 4.x requires Maven 4, which defaults
    project.build.sourceEncoding to UTF-8 (MNG-7763). The explicit
    declaration in IT pom.xml files is therefore redundant and can
    be removed. Empty <properties> blocks are also removed.
    
    Co-authored-by: Claude Sonnet 4.6 <no...@anthropic.com>
---
 src/it/MRESOURCES-110/pom.xml     | 1 -
 src/it/MRESOURCES-171/pom.xml     | 4 ----
 src/it/MRESOURCES-231/pom.xml     | 3 ---
 src/it/MRESOURCES-257/pom.xml     | 4 ----
 src/it/gh-312/pom.xml             | 1 -
 src/it/include-git-ignore/pom.xml | 4 ----
 6 files changed, 17 deletions(-)

diff --git a/src/it/MRESOURCES-110/pom.xml b/src/it/MRESOURCES-110/pom.xml
index 22bcf31..e3905fb 100644
--- a/src/it/MRESOURCES-110/pom.xml
+++ b/src/it/MRESOURCES-110/pom.xml
@@ -28,7 +28,6 @@ under the License.
   <name>MRESOURCES-110</name>
 
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <replaceThis>I am the replacement</replaceThis>
   </properties>
 
diff --git a/src/it/MRESOURCES-171/pom.xml b/src/it/MRESOURCES-171/pom.xml
index aea39c6..63de77e 100644
--- a/src/it/MRESOURCES-171/pom.xml
+++ b/src/it/MRESOURCES-171/pom.xml
@@ -24,10 +24,6 @@ under the License.
   <version>0.0.1-SNAPSHOT</version>
   <name>Bug Test</name>
 
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-  </properties>
-
   <build>
     <resources>
       <resource>
diff --git a/src/it/MRESOURCES-231/pom.xml b/src/it/MRESOURCES-231/pom.xml
index cdbfe9c..97a3b02 100644
--- a/src/it/MRESOURCES-231/pom.xml
+++ b/src/it/MRESOURCES-231/pom.xml
@@ -23,9 +23,6 @@ under the License.
   <artifactId>MRESOURCES-231</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <name>Bug Test</name>
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-  </properties>
   <build>
     <resources>
       <resource>
diff --git a/src/it/MRESOURCES-257/pom.xml b/src/it/MRESOURCES-257/pom.xml
index 80abd1b..4cb8336 100644
--- a/src/it/MRESOURCES-257/pom.xml
+++ b/src/it/MRESOURCES-257/pom.xml
@@ -50,10 +50,6 @@ under the License.
     </developer>
   </developers>
 
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-  </properties>
-
   <build>
     <resources>
       <resource>
diff --git a/src/it/gh-312/pom.xml b/src/it/gh-312/pom.xml
index a8ee700..bdf5ce5 100644
--- a/src/it/gh-312/pom.xml
+++ b/src/it/gh-312/pom.xml
@@ -29,7 +29,6 @@ under the License.
   <properties>
     <maven.compiler.source>17</maven.compiler.source>
     <maven.compiler.target>17</maven.compiler.target>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>
 
   <build>
diff --git a/src/it/include-git-ignore/pom.xml b/src/it/include-git-ignore/pom.xml
index f768420..45c34cc 100644
--- a/src/it/include-git-ignore/pom.xml
+++ b/src/it/include-git-ignore/pom.xml
@@ -25,10 +25,6 @@
   <version>1.0-SNAPSHOT</version>
   <packaging>jar</packaging>
 
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-  </properties>
-
   <build>
     <resources>
       <resource>