maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Kuropkat <rkurop...@t-sciences.com>
Subject Site Repository Property was: Open Source Best Practices with Maven - distributionManagement
Date Thu, 20 Mar 2014 19:29:09 GMT

So is there an equivalent to altReleaseDeploymentRepository and 
altSnapshotDeploymentRepository for the Site Deployment information 
also?  Since all three are in the Distribution Management directive, I 
was hoping I could define this last one in the settings.xml also.

Robert Kuropkat


On 03/19/2014 05:15 PM, Mirko Friedenhagen wrote:
> Hello Eric,
>
> as outlined in https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
> in your settings.xml you might define properties
> altReleaseDeploymentRepository and altSnapshotDeploymentRepository in
> a profile internal-repository which is activated by default while you
> do not define any repository at all in your pom.
> Now while developing you just invoke mvn deploy and everything should
> go to your local Nexus.
> When invoking mvn -P!internal-repository everything should go to central.
> Regards Mirko
> --
> http://illegalstateexception.blogspot.com/
> https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
> https://bitbucket.org/mfriedenhagen/
>
>
>
<snip>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message