You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jin Kwon (Jira)" <ji...@apache.org> on 2020/04/21 09:47:00 UTC
[jira] [Comment Edited] (MNG-6895) Add aliasing feature for
settings.xml:///servers/server
[ https://issues.apache.org/jira/browse/MNG-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17088493#comment-17088493 ]
Jin Kwon edited comment on MNG-6895 at 4/21/20, 9:46 AM:
---------------------------------------------------------
Nope. The situation is opposite. For a same endpoint of a repository, different projects (from different divisions) uses different {{id}} in their repositories/distributionManagement section.
Unifying the {{id}} value in such a huge organization might not possible.
was (Author: jinahya):
Nope. The situation is opposite. For a same endpoint of a repository, different projects (from different divisions) uses different {{id}} in their repositories/distributionManagement section.
> Add aliasing feature for settings.xml:///servers/server
> -------------------------------------------------------
>
> Key: MNG-6895
> URL: https://issues.apache.org/jira/browse/MNG-6895
> Project: Maven
> Issue Type: New Feature
> Components: Settings
> Reporter: Jin Kwon
> Priority: Major
>
> In some cases there might be multiple server elements for the same endpoint with different {{id}}s.
> {code:xml}
> ...
> <servers>
> ...
> <server>
> <id>some</id>
> <username>username</username>
> <password>{password}</password>
> </server>
> <server>
> <id>other</id> <!-- just a mismatched value in same organization -->
> <username>username</username> <!-- same as some -->
> <password>{password}</password> <!-- same as some -->
> </server>
> ...
> {code}
> Can we have an attribute look like this?
> {code:xml}
> ...
> <servers>
> ...
> <server>
> <id>some</id>
> <username>username</username>
> <password>{password}</password>
> </server>
> <server aliasing="some">
> <id>other</id> <!-- just a mismatched value in same organization -->
> </server>
> ...
> {code}
> Or
> {code:xml}
> ...
> <servers>
> ...
> <server aliases="other">
> <id>some</id>
> <username>username</username>
> <password>{password}</password>
> </server>
> ...
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)