myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch 2.3.x updated: Java11 build support
Date Thu, 02 Apr 2020 18:58:14 GMT
This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch 2.3.x
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/2.3.x by this push:
     new 554f0b9  Java11 build support
554f0b9 is described below

commit 554f0b926fbb6975e284bdbd045504806c6f500b
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Thu Apr 2 20:57:15 2020 +0200

    Java11 build support
---
 parent/pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/parent/pom.xml b/parent/pom.xml
index fd58e7c..0ee802e 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -193,6 +193,22 @@
                 <plugin>
                     <artifactId>maven-surefire-plugin</artifactId>
                     <version>2.16</version>
+                    <configuration>
+                        <systemProperties>
+                             <!--
+                             Java 9 introduce CLDR locales as defaults
+                             some tests however fail because the local
+                             checks follow the java conventions.
+                             Setting it to provider should enable locale behavior
+                             across all supported JDKs
+                             -->
+                             <property>
+                                 <name>java.locale.providers</name>
+                                 <value>COMPAT</value>
+                             </property>
+                         </systemProperties>
+                         <argLine>-Djava.locale.providers=COMPAT</argLine>
+                    </configuration>
                 </plugin>
 
                 <plugin>


Mime
View raw message