On 2018-11-04T23:16:31 +0100
"Mirko Friedenhagen" <mfriedenha...@gmx.de> wrote:

> Maybe you run into 
> https://issues.apache.org/jira/plugins/servlet/mobile#issue/MDEPLOY-244. 
> maven-deploy-Plugin 3.0x has a slightly different syntax for specifying 
> alt*Repositories.
> 

Ouch! Yes, that would explain it. I did notice something odd in the
output of mvn -X:

[DEBUG] Using transporter WagonTransporter with priority -1.0 for 
https://packages.example.com/repository/example-releases
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for 
https://packages.example.com/repository/example-releases
Uploading to example-releases::default: 
https://packages.example.com/repository/example-releases/com/io7m/testartifact/com.io7m.testartifact/0.0.1/com.io7m.testartifact-0.0.1.jar
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Notice that suspicious space after "default". Given MDEPLOY-244, it
looks as though "example-releases::default" is being treated as the
repository ID (and therefore isn't finding credentials in settings.xml).

-- 
Mark Raynsford | http://www.io7m.com

Attachment: pgpkRSUoQ1UQL.pgp
Description: OpenPGP digital signature

Reply via email to