[
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