Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Archiva Release Process

...

  • mvn release:prepare (verify that it has been properly tagged)
  • mvn release:perform (verify that it has been deployed correctly in the staging repo)
Warning

page now here http://archiva

...

.apache.org/

...

  • change the parent pom version to the archiva-parent version that has just been released
  • commit the changes made

...


<profile>
  <id>release</id>
  <properties>
    <gpg.passphrase>[GPG_PASSWORD]</gpg.passphrase>
    <deploy.altRepository>apache.releases::default::scp://[HOSTNAME/PATH/TO/DIRECTORY/STAGE/REPO]</deploy.altRepository>
  </properties>
  <repositories>
    <repository>
      <id>apache.releases</id>
      <name>Apache Stage Repo</name>
      <url>[STAGE_REPO_URL]</url>     
    </repository>
  </repositories>
</profile>

...

Wiki Markup
Execute 'mvn release:prepare' (check that it has been properly tagged. the tag name must be.. archiva-\[VERSION\])

...

No Format

ex.
wget http://people.apache.org/builds/archiva/1.0.1/apache-archiva-1.0.1-bin.tar.gz

...

No Format

ex.
gpg -v apache-archiva-1.0.1-bin.zip.asc

...

No Format

ex.
md5sum apache-archiva-1.0.1-src.zip
cat apache-archiva-1.0.1-src.zip.md5

sha1sum apache-archiva-1.0.1-src.zip  
cat apache-archiva-1.0.1-src.zip.sha1

...

No Format

mvn stage:copy -Dsource="[STAGE_REPO_URL]"
     -Dtarget="scp://[APACHE_USERNAME]@people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository" 
     -Dversion=2.3 -DrepositoryId=apache.releases

...

...

developers/releasing.html