THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Archiva Release Process
- Post to the dev list a few days before you plan to do an Archiva release
- Recreate the staging repository on VMBuild
- If there are changes in the parent pom, release parent pom – https://svn.apache.org/repos/asf/archiva/parent
mvn release:prepare
(verify that it has been properly tagged)mvn release:perform
(verify that it has been deployed correctly in the staging repo)
- Update the parent pom version of archiva – https://svn.apache.org/repos/asf/archiva/trunk
- change the parent pom version to the
archiva-parent
version that has just been released - commit the changes made
- change the parent pom version to the
- Update the release notes and the
site.xml
for version changes inarchiva-docs
- Verify that the webapp-tests are building successfully. Since it is in a separate profile but inside the Archiva source tree, it will not be released but will still be included in the release tag. If some tests are failing, comment it out first so that only the passing tests are executed when the webapp-tests module are built from the tag.
- Release archiva
- Make sure that you have the "apache-release" profile set in your
settings.xml
as shown below.<profile> <id>apache-release</id> <properties> <gpg.passphrase>[GPG_PASSWORD]</gpg.passphrase> </properties> </profile>
- Set your user credentials for the stage repo in the
<servers>
section of yoursettings.xml
forvmbuild.staging
Execute
mvn release:prepare
(check that it has been properly tagged. the tag name must be..archiva-[VERSION]
)- Then execute
mvn release:perform
- Make sure that you have the "apache-release" profile set in your
- Download the uploaded files via wget:
ex. wget http://vmbuild.apache.org/archiva/repository/staged-releases/org/apache/archiva/archiva-jetty/1.3/archiva-jetty-1.3-bin.tar.gz
- Verify the signatures:
ex. gpg -v archiva-jetty-1.3-bin.zip.asc
- The documentation is deployed as part of the process to the final location for review in the vote: http://archiva.apache.org/docs/1.3/
. If the vote doesn't pass, the documentation will need to be removed from the server for redeployment.
- Copy the sources and binaries from
org/apache/archiva/archiva-jetty
andorg/apache/archiva/archiva
to/www/people.apache.org/builds/archiva
. They will need to be renamed to match conventions of previous releases. - Call for a vote in the dev list and wait for 72 hrs. for the vote results. 3 binding votes is necessary for the release to be finalized. example
- If the vote fails or needs to be canceled, the version number should not be re-used if the version was made available for public download.
- After the vote has passed, copy the files from /www/people.apache.org/builds/archiva/ to /www/www.apache.org/dist/archiva
- To sync the jars to ibiblio, execute:
mvn stage:copy -Dsource="http://vmbuild.apache.org/archiva/repository/staged-archiva" -Dtarget="scp://[APACHE_USERNAME]@people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository" -Dversion=1.3 -DrepositoryId=apache.releases
- Update the archiva site (https://svn.apache.org/repos/asf/archiva/site/
) for the versions and release notes URL and run
mvn site-deploy
. Below are the list of pages that you need to update:src/site/xdoc/index.xml
src/site/apt/known-issues.apt
src/site/apt/versions.apt
src/site/apt/download.apt
src/site/resources/.htaccess
- updateRedirect Permanent /reports http://archiva.apache.org/ref/1.0.1
andRedirect Permanent /docs/current http://archiva.apache.org/docs/1.0.1/
to the latest released version
- Remove old versions from
/www/www.apache.org/dist/archiva
- Publish the reference docs (
mvn site-deploy
in thearchiva-modules
directory) from the release tag. You may have to exclude thearchiva-webapp
module to do this, and will requireMAVEN_OPTS=-Xmx256m
- Send out an announcement of the release to:
- users@archiva.apache.org
- users@maven.apache.org
- announce@apache.org