You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/10/28 23:30:58 UTC

[jira] [Updated] (MNG-5998) Can not use external xml file referenced from settings.xml

     [ https://issues.apache.org/jira/browse/MNG-5998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated MNG-5998:
--------------------------------
    Fix Version/s:     (was: waiting-for-feedback)

> 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)