[
https://issues.apache.org/jira/browse/MNG-5998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245197#comment-15245197
]
Lulseged Zerfu commented on MNG-5998:
-------------------------------------
Hi
We are developing in many different projects where we want a customized
settings.xml file is used. We have different repositories. Machines that we use
shall then point to project specific settings and that is why we need this
support.
Different environment setup scripts are sourced depending on which project we
are working in thus pointing to a specific settings file.
Is there any better solution?
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
> Fix For: waiting-for-feedback
>
>
> 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)