diff --git a/pom.xml b/pom.xml
index 06389c4b5dd..c27f4676fdd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,7 +46,8 @@
https://download.eclipse.org/eclipse/updates/4.24/
scm:git:https://git.eclipse.org/r/cdt/org.eclipse.cdt
- -Xms256m -Xmx512m -ea
+
+ -Xms256m -Xmx512m -ea --add-opens=java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED
https://download.eclipse.org/tools/cdt/releases/10.6/cdt-10.6.0/