jira-importer commented on issue #539:
URL: 
https://github.com/apache/maven-deploy-plugin/issues/539#issuecomment-2771550129

   **[Mirko 
Friedenhagen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mfriedenhagen)**
 commented
   
   Seems to be the same error as in MDEPLOY-246. This is not only a problem for 
RPM but for standard java artifacts as well.  We set 
`altReleaseDeploymentRepository` and `altSnapshotDeploymentRepository` globally 
in our settings.xml file.
   
    
   
   The current regex at 
https://gitbox.apache.org/repos/asf?p=maven-deploy-plugin.git;a=blob;f=src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java;hb=72c179744b86120716e166ba59e2754b02fc1c4d#l56
 is not eager, so for
   
    central::default::https://example.com/maven2 is uses 
https://example.com/maven2 and central::default as id of the server (which 
could be used kind as workaround if you define both central and 
central::default entries in your settings.xml with identical user/password :) )
   
    
   
   And I for one would love [Peter 
lynch](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=peterlynch)'s
 suggestion to break not that hardly.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to