mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-06 23:52:12 +01:00
Set xerces documentBuilderFactory because xerces is in classpath
This commit is contained in:
@@ -51,6 +51,8 @@ class ScmServer {
|
||||
void start() throws Exception {
|
||||
info('start scm-server at port %s', configuration.port)
|
||||
|
||||
System.setProperty("javax.xml.parsers.DocumentBuilderFactory", "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");
|
||||
|
||||
System.setProperty('scm.home', configuration.home)
|
||||
if (configuration.disableCorePlugins) {
|
||||
info('disable core plugin extraction')
|
||||
|
||||
Reference in New Issue
Block a user