Versions Compared

Key

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

Revisions

kernel trunk r62359 r63343 (1.1-SNAPSHOT refresh)
kernel-1.0.x r62388 r63328 (1.0.9, 1.0.10-SNAPSHOT)

New versions

...

mvn -Prelease clean install deploy -DupdateReleaseInfo=true

if a SNAPSHOT:

mvn clean install javadoc:jar source:jar deploy

1. Check out 1.0.x branch (1.0.10-SNAPSHOT) and perform

...

2. Check out kernel trunk (1.1-SHAPSHOT) and perform

No Format
mvn clean install javadoc:jar source:jar deploy

Maven will deploy the new artifacts to the Sakai Maven2 SNAPSHOT Repo automatically.

Populate Maven Repo

(warning) This step may be rendered obsolete if Maven can push kernel-1.0.9 to the repo target as part of the release process.

Tar up kernel artifacts. Copy to https://source.sakaiproject.org/maven2/org/sakaiproject/. Make sure backup of existing /kernel directory is in place. Delete existing /kernel for a clean refresh. Unpack kernel-1.0.9.tgz.

No Format

cd /var/www/html/maven2/org/sakaiproject
tar -czvf  kernel-[YEARMONTHDAYHOURMINSEC].tgz kernel

copy kernelrepo.tgz to Maven2 repo

No Format

cd /var/www/maven2/org/sakaiproject
rm -rf kernel
tar -xzvf kernel-1.0.9.tgz

Repo permissions

...

Confirmation

  1. Confirm Maven2 repo and Maven2 snapshot repo are populated with new artifacts
  2. Confirm repo permissions are correct
No Format

sudo chown -R apache:apache kernel

Repo cleanup

Move old /kernel backup archive to /var/www/html/tarball. Delete kernel-1.0.9.tgz.

...