You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2023/10/27 10:47:53 UTC

(commons-crypto) branch master updated: Change default to UTF-8

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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new ad4a090  Change default to UTF-8
ad4a090 is described below

commit ad4a090f7cdb6023167c1f6d34e283e386327452
Author: Sebb <se...@apache.org>
AuthorDate: Fri Oct 27 11:47:47 2023 +0100

    Change default to UTF-8
---
 pom.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 2ec9b3b..1dced44 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,6 +123,8 @@ The following provides more details on the included cryptographic software:
     <project.inceptionYear>2016</project.inceptionYear>
     <maven.compiler.source>1.8</maven.compiler.source>
     <maven.compiler.target>1.8</maven.compiler.target>
+    <!-- override parent default of iso-8859-1 -->
+    <commons.encoding>UTF-8</commons.encoding>
     <commons.javadoc.java.link>http://docs.oracle.com/javase/8/docs/api/</commons.javadoc.java.link>
 
     <checkstyle.header.file>${basedir}/LICENSE-header.txt</checkstyle.header.file>
@@ -531,7 +533,7 @@ The following provides more details on the included cryptographic software:
         <artifactId>maven-resources-plugin</artifactId>
         <configuration>
           <!-- define filter encoding -->
-          <propertiesEncoding>UTF-8</propertiesEncoding>
+          <propertiesEncoding>${commons.encoding}</propertiesEncoding>
         </configuration>
         <executions>
           <execution>