Hello Robert, reading the information at https://maven.apache.org/plugins/maven-site-plugin/deploy-mojo.html I do not think there is an easy way to do this and probably never will be.
1) AFAIK there is no (central) server available which hosts sites by default. 2) As stated on above page, there are a lot of different means to deploy the site via wagon (ftp, http, ssh) 3) As a workaround you might think about using the site:stage-deploy goal instead for your "local" builds. Regards Mirko Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen) https://bitbucket.org/mfriedenhagen/ On Thu, Mar 20, 2014 at 8:29 PM, Robert Kuropkat <rkurop...@t-sciences.com> wrote: > > 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-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org