You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Julien HENRY (JIRA)" <ji...@codehaus.org> on 2009/08/03 10:45:59 UTC

[jira] Created: (MNG-4278) Allow wildcard in server id in settings.xml

Allow wildcard in server id in settings.xml
-------------------------------------------

                 Key: MNG-4278
                 URL: http://jira.codehaus.org/browse/MNG-4278
             Project: Maven 2
          Issue Type: New Feature
          Components: Settings
    Affects Versions: 2.2.0
            Reporter: Julien HENRY


In my company each project has a separate repository for deploying their artifacts (we are using Archiva).

One developer may work on several projects, and also the integration platform (Continuum) must be able to deploy on all repositories.

Currently I have to add in settings.xml

{code}
<server>
      <id>mycompany.project1Id.release</id>
      <username>userId</username>
      <password>xxxxxxx</password>
</server>
<server>
      <id>mycompany.project2Id.release</id>
      <username>userId</username>
      <password>xxxxxxx</password>
</server>
<server>
      <id>mycompany.project1Id.snapshots</id>
      <username>userId</username>
      <password>xxxxxxx</password>
</server>
<server>
      <id>mycompany.project2Id.snapshots</id>
      <username>userId</username>
      <password>xxxxxxx</password>
</server>
... (repeat for every projects)
{code}
Where userId and password are always the same.

It would be great to allow:
{code}
<server>
      <id>mycompany.*.*</id>
      <username>userId</username>
      <password>xxxxxxx</password>
</server>
{code}
in settings.xml.

In case there are several matches for a repositoryId, I think it is better to raise an error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-4278) Allow wildcard in server id in settings.xml

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-4278.
------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 2.x)

> Allow wildcard in server id in settings.xml
> -------------------------------------------
>
>                 Key: MNG-4278
>                 URL: http://jira.codehaus.org/browse/MNG-4278
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Settings
>    Affects Versions: 2.2.0
>            Reporter: Julien HENRY
>
> In my company each project has a separate repository for deploying their artifacts (we are using Archiva).
> One developer may work on several projects, and also the integration platform (Continuum) must be able to deploy on all repositories.
> Currently I have to add in settings.xml
> {code}
> <server>
>       <id>mycompany.project1Id.release</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project2Id.release</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project1Id.snapshots</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project2Id.snapshots</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> ... (repeat for every projects)
> {code}
> Where userId and password are always the same.
> It would be great to allow:
> {code}
> <server>
>       <id>mycompany.*.*</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> {code}
> in settings.xml.
> In case there are several matches for a repositoryId, I think it is better to raise an error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-4278) Allow wildcard in server id in settings.xml

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MNG-4278:
----------------------------

    Fix Version/s: 2.x

> Allow wildcard in server id in settings.xml
> -------------------------------------------
>
>                 Key: MNG-4278
>                 URL: http://jira.codehaus.org/browse/MNG-4278
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Settings
>    Affects Versions: 2.2.0
>            Reporter: Julien HENRY
>             Fix For: 2.x
>
>
> In my company each project has a separate repository for deploying their artifacts (we are using Archiva).
> One developer may work on several projects, and also the integration platform (Continuum) must be able to deploy on all repositories.
> Currently I have to add in settings.xml
> {code}
> <server>
>       <id>mycompany.project1Id.release</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project2Id.release</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project1Id.snapshots</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project2Id.snapshots</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> ... (repeat for every projects)
> {code}
> Where userId and password are always the same.
> It would be great to allow:
> {code}
> <server>
>       <id>mycompany.*.*</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> {code}
> in settings.xml.
> In case there are several matches for a repositoryId, I think it is better to raise an error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-4278) Allow wildcard in server id in settings.xml

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204637#action_204637 ] 

Brett Porter commented on MNG-4278:
-----------------------------------

I think the wildcarding would be confusing. Perhaps a more appropriate new request would be a default username and password to use if a server is not matched.

Feel free to file a feature request in Archiva to support multi-repository deployment by group ID from a single URL.

> Allow wildcard in server id in settings.xml
> -------------------------------------------
>
>                 Key: MNG-4278
>                 URL: http://jira.codehaus.org/browse/MNG-4278
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Settings
>    Affects Versions: 2.2.0
>            Reporter: Julien HENRY
>
> In my company each project has a separate repository for deploying their artifacts (we are using Archiva).
> One developer may work on several projects, and also the integration platform (Continuum) must be able to deploy on all repositories.
> Currently I have to add in settings.xml
> {code}
> <server>
>       <id>mycompany.project1Id.release</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project2Id.release</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project1Id.snapshots</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project2Id.snapshots</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> ... (repeat for every projects)
> {code}
> Where userId and password are always the same.
> It would be great to allow:
> {code}
> <server>
>       <id>mycompany.*.*</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> {code}
> in settings.xml.
> In case there are several matches for a repositoryId, I think it is better to raise an error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-4278) Allow wildcard in server id in settings.xml

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=186085#action_186085 ] 

John Casey commented on MNG-4278:
---------------------------------

this would seem to imply that we'll need to support server section merges, for cases where there is a matching wildcard server-id AND an exact match on server-id.

> Allow wildcard in server id in settings.xml
> -------------------------------------------
>
>                 Key: MNG-4278
>                 URL: http://jira.codehaus.org/browse/MNG-4278
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Settings
>    Affects Versions: 2.2.0
>            Reporter: Julien HENRY
>             Fix For: 2.x
>
>
> In my company each project has a separate repository for deploying their artifacts (we are using Archiva).
> One developer may work on several projects, and also the integration platform (Continuum) must be able to deploy on all repositories.
> Currently I have to add in settings.xml
> {code}
> <server>
>       <id>mycompany.project1Id.release</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project2Id.release</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project1Id.snapshots</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> <server>
>       <id>mycompany.project2Id.snapshots</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> ... (repeat for every projects)
> {code}
> Where userId and password are always the same.
> It would be great to allow:
> {code}
> <server>
>       <id>mycompany.*.*</id>
>       <username>userId</username>
>       <password>xxxxxxx</password>
> </server>
> {code}
> in settings.xml.
> In case there are several matches for a repositoryId, I think it is better to raise an error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira