[
https://issues.apache.org/jira/browse/MNG-5998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15621494#comment-15621494
]
Lulseged Zerfu commented on MNG-5998:
-------------------------------------
Hi
We are now using -s option to point out location of our settings.xml file.
BR
Lulseged
> 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)