Re: Specifying a deployment repository *only* by ID?

2018-11-04 Thread Mark Raynsford
On 2018-11-04T00:24:46 +0100 "Mirko Friedenhagen" wrote: > Hello Mark, > > you may put the property in a profile of your settings.xml and just call „mvn > -P releases deploy“ given the profile is called releases. Ah, yes, thank you! Didn't think of that. -- Mark Raynsford | http://www.io7m.c

Re: Specifying a deployment repository *only* by ID?

2018-11-03 Thread Mirko Friedenhagen
Hello Mark, you may put the property in a profile of your settings.xml and just call „mvn -P releases deploy“ given the profile is called releases. Best Regards Mirko Friedenhagen — Sent from my mobile Am 03.11.18 um 17:55 schrieb Mark Raynsford > Hello. > > If I want to deploy to a differ

Specifying a deployment repository *only* by ID?

2018-11-03 Thread Mark Raynsford
Hello. If I want to deploy to a different repository, I can use the http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository property: $ mvn deploy -DaltDeploymentRepository=releases::default::https://packages.example.com/repository/releases This is cumbers