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

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git


The following commit(s) were added to refs/heads/master by this push:
     new 21bc09d824 use var for encoding, pass to surefire
21bc09d824 is described below

commit 21bc09d824b4f231c60606b660556796fb527146
Author: Alex Heneveld <[email protected]>
AuthorDate: Mon Sep 4 12:46:34 2023 +0100

    use var for encoding, pass to surefire
    
    hopefully this makes the unicode test pass on the new debian container
---
 parent/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index a8133a7393..a6b1a5b993 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -87,7 +87,7 @@
                     <configuration>
                         <source>${java.version}</source>
                         <target>${java.version}</target>
-                        <encoding>UTF-8</encoding>
+                        <encoding>${project.build.sourceEncoding}</encoding>
                         <!-- <release>8</release> only available with more 
recent JVMs -->
                     </configuration>
                 </plugin>
@@ -206,7 +206,7 @@
                     <artifactId>maven-surefire-plugin</artifactId>
                     <version>${surefire.version}</version>
                     <configuration>
-                         <argLine>-Xms768m -Xmx768m -verbose:gc 
-XX:SoftRefLRUPolicyMSPerMB=1</argLine>
+                         <argLine>-Xms768m -Xmx768m -verbose:gc 
-XX:SoftRefLRUPolicyMSPerMB=1 
-Dfile.encoding=${project.build.sourceEncoding}</argLine>
                     </configuration>
                 </plugin>
                 <plugin>

Reply via email to