blob: 35c05ff24e03d56d5f1999fa7f71ca76d72efa52 [file] [log] [blame]
------
Deploy Maven Current References
------
Vincent Siveton
------
May 2007
------
~~ Licensed to the Apache Software Foundation (ASF) under one
~~ or more contributor license agreements. See the NOTICE file
~~ distributed with this work for additional information
~~ regarding copyright ownership. The ASF licenses this file
~~ to you under the Apache License, Version 2.0 (the
~~ "License"); you may not use this file except in compliance
~~ with the License. You may obtain a copy of the License at
~~
~~ http://www.apache.org/licenses/LICENSE-2.0
~~
~~ Unless required by applicable law or agreed to in writing,
~~ software distributed under the License is distributed on an
~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~~ KIND, either express or implied. See the License for the
~~ specific language governing permissions and limitations
~~ under the License.
~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/doxia/references/apt-format.html
Introduction
This document gives step-by-step instructions for deploying the Maven current references.
The primary audience is Maven PMC.
Prerequisite
Be sure that:
* you have all Maven servers defined in your settings.xml. For more information, please refer to
{{{../committer-settings.html}Committer settings}}.
* you have created your GPG keys. For more information, please refer to {{{../release/pmc-gpg-keys.html}Making GPG Keys}}.
Deploy Maven Current References
[[1]] Do a fresh check out of a release tag of Maven, for example:
+-----+
$ svn checkout https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-2.2.0 maven-2.2.0
+-----+
[[2]] Execute the site goal for the <maven-2.2.0> project
+-----+
maven-2.2.0$ mvn site -Preporting
+-----+
[[3]] Verify the documentation before deploying
You could also use the <stage> goal of the Maven Site Plugin to verify the site output. For instance:
+-----+
maven-2.2.0$ mvn site:stage -Preporting -DstagingDirectory=/tmp/maven-2.2.0
+-----+
[[4]] Deploy to people.apache.org
+-----+
maven-2.2.0$ mvn site-deploy -Preporting
+-----+
It will create a new folder <2.2.0> in </www/maven.apache.org/ref/> on the Apache server.
<<Note:>> It will take an hour or so to sync.
[]