You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lulseged Zerfu (JIRA)" <ji...@apache.org> on 2016/04/12 15:19:25 UTC
[jira] [Created] (MNG-5998) Can not use external xml file
referenced from settings.xml
Lulseged Zerfu created MNG-5998:
-----------------------------------
Summary: Can not use external xml file referenced from settings.xml
Key: MNG-5998
URL: https://issues.apache.org/jira/browse/MNG-5998
Project: Maven
Issue Type: Bug
Components: core
Affects Versions: 3.3.9
Reporter: Lulseged Zerfu
Hi
I am trying to use DOCTYPE inside settings.zml file and I always get:
[FATAL] Non-parseable settings /home/<user>/.m2/settings.xml.
Mt settings.xml file looks like:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE settings-xml [ <!ENTITY maven-settings SYSTEM "~/.m2/xdms-settings.xml">
]>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
&maven-settings;
</settings>
I have moved middle parts of settings.xml in to xdms-settings.xml.
Is this not supported? it is at least according to xml standard.
BR
Lulseged
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)