[jira] [Commented] (MNG-6895) Add aliasing feature for settings.xml:///servers/server

2020-04-21 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/MNG-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089007#comment-17089007
 ] 

Michael Osipov commented on MNG-6895:
-

Great, this is something I really wanted to have in the system for years now. I 
will definitve put this on the roadmap. My actual goal is to decouple the 
storage of credentials to multiple providers like Git or Subversions do. 
Plaintext, Windows Credential Store, Keychain, KWallet, etc.

> 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
> Fix For: Issues to be reviewed for 4.x
>
>
> In some cases there might be multiple server elements for the same endpoint 
> with different {{id}}s.
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> 
>   other 
>   username 
>   {password} 
> 
> ...
> {code}
> Can we have an attribute look like this?
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> 
>   other 
> 
> ...
> {code}
> Or
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> ...
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MNG-6895) Add aliasing feature for settings.xml:///servers/server

2020-04-21 Thread Jin Kwon (Jira)


[ 
https://issues.apache.org/jira/browse/MNG-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17088552#comment-17088552
 ] 

Jin Kwon commented on MNG-6895:
---

Exactly!

> 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}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> 
>   other 
>   username 
>   {password} 
> 
> ...
> {code}
> Can we have an attribute look like this?
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> 
>   other 
> 
> ...
> {code}
> Or
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> ...
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MNG-6895) Add aliasing feature for settings.xml:///servers/server

2020-04-21 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/MNG-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17088546#comment-17088546
 ] 

Michael Osipov commented on MNG-6895:
-

So, I think I know what you want. This is an issue with the current model. It 
is too simple. I want to introduce with Maven 4/5 this:

{code:xml}

  
some
other
  
...

{code}

Is that what you are looking for?

> 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}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> 
>   other 
>   username 
>   {password} 
> 
> ...
> {code}
> Can we have an attribute look like this?
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> 
>   other 
> 
> ...
> {code}
> Or
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> ...
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MNG-6895) Add aliasing feature for settings.xml:///servers/server

2020-04-21 Thread Jin Kwon (Jira)


[ 
https://issues.apache.org/jira/browse/MNG-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17088493#comment-17088493
 ] 

Jin Kwon commented on MNG-6895:
---

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}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> 
>   other 
>   username 
>   {password} 
> 
> ...
> {code}
> Can we have an attribute look like this?
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> 
>   other 
> 
> ...
> {code}
> Or
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> ...
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MNG-6895) Add aliasing feature for settings.xml:///servers/server

2020-04-21 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/MNG-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17088475#comment-17088475
 ] 

Michael Osipov commented on MNG-6895:
-

Please describe your usecase. Do you intend to reuse credentials for different 
endpoints?

> 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}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> 
>   other 
>   username 
>   {password} 
> 
> ...
> {code}
> Can we have an attribute look like this?
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> 
>   other 
> 
> ...
> {code}
> Or
> {code:xml}
> ...
>   
> ...
> 
>   some
>   username
>   {password}
> 
> ...
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)