<settings>
<servers>
<server>
<id>nexus.scala-tools.org</id>
<username>''MY_LOGIN''</username>
<password>''MY_PASSWORD''</password>
</server>
</servers>
</settings>
mvn clean package
mvn compile
mvn test
mvn package -Prelease
mvn clean install
mvn clean deploy
mvn clean release:prepare -Prelease -Dusername=''MY_SVN_LOGIN''
mvn release:perform -Prelease
mvn site
mvn clean site-deploy -Prelease
Subject: [VOTE] Release x.y.z for yyyy-MM-dd hh:mm
Message:
Releaser : name
We need Maven 2.2.1 and JDK 1.5 to build.
We also use maven-release-plugin
release :
mkdir tmp-release
cd tmp-release
git clone git@github.com:dpp/liftweb.git
cd liftweb
nano -w src/changes/changes.xml
git commit -a -m "updated version" ; git push
git checkout -b Lift-VERSION
grep -H -r "--include=*.xml" SNAPSHOT *
nano -w pom.xml
nano -w */pom.xml
nano -w */*/pom.xml
nano -w src/changes/changes.xml
grep -H -r "--include=*.xml" SNAPSHOT *
git commit -a -m "[release] prepare"
git push origin Lift-VERSION:Lift-VERSION
rm -Rf $HOME/.m2/mvnsites/liftweb
mkdir -p $HOME/.m2/mvnsites/liftweb
mvn clean deploy site-deploy -U -Prelease
file:///<your_home>/.m2/mvnsites/liftweb/index.html
file:///<your_home>/.m2/mvnsites/liftweb/changes-report.html
file:///<your_home>/.m2/mvnsites/liftweb/lift-base/lift-webkit/scaladocs/index.html
http://scala-tools.org/repo-releases/net/liftweb
git tag Lift-VERSION-release
git push --tags
mvn changes:announcement-generate -N
more target/announcement/announcement.vm
git checkout master
nano -w src/changes/changes.xml
git commit -a -m "[release] start <version+1>-SNAPSHOT"; git push
cd $HOME/.m2/mvnsites
rm liftweb.tar.bz2
tar -cjvf liftweb.tar.bz2 liftweb
# upload liftweb.tar.bz2 to http://dav.scala-tools.org/mvnsites (via dav or ssh depends of your access right)
date: 2009-11-04
releaser: Charles Munat
total duration: ???
comments: Problems with Nexus/Hudson fixed by Josh. Otherwise smooth, but took most of the day.
date: 2009-10-08
releaser: Charles Munat
total duration: 1h30
comments: Fairly smoothly. Forgot to update version number on commit and had to push twice. Doh.
date: 2009-09-10
releaser: Derek Chen-Becker
total duration: 1h45
comments:
date: 2009-09-09
releaser: Derek Chen-Becker
total duration: 1h45
comments:
= Lift 1.1-M5 =
;date: 2009-09-08
;releaser: Charles Munat
;total duration: 6h45
;comments:
:* Non-stop hassles, mostly related to having switched to a new computer recently. Needed a bigger heap was the main thing.
= Lift 1.1-M4 =
;date: 2009-08-04
;releaser: Charles Munat
;total duration: 1h45
;comments:
:* No problems. Had guidance from Jorge, who disappeared for 23 mins, so actual duration was more like 1h22.
= Lift 1.1-M3 =
;date: 2009-07-02
;releaser: Jorge Ortiz
;total duration: 1h20
;comments:
:* Charles had trouble with Maven. I finished up for him. No major troubles but the instructions need updating.
= Lift 1.1-M1 =
;date: 2009-05-01
;releaser: Jorge Ortiz
;total duration: 2+h
;comments:
:* Had to fix parts of pom because of changes to scala-tools
:* Weird non-deterministic compile errors. Eventually the compile went through.
:* Could not generate site no matter how much I tried. Kept getting errors.
= Lift 0.9 =
;date: 2008-06-15
;releaser: David Bernard
;total duration: 1h20
;comments:
:* failed to tag the code
:* update the process to reflect the change of scm : svn to git
:* remove some step in the process like dry run for deploy,…
:* I really should improve the upload
:* I should remove useless upload
= Lift 0.8 =
;date: 2008-05-09
;releaser: David Bernard
;total duration: 3H30
;comments:
:* api is not deployed
:* I really should improve the upload
:* I should remove useless upload
:* I should diseable backup tool during release to avoid CPU/disk activity and to avoid disk full => redo some operation 30min left
:* I should simply the process
= Lift 0.7 =
;date: 2008-04-03
;releaser: Steve Jenson
;total duration: 5:30
;comments:
:* DAV account wasn’t ready, dpp fixed that
:* had a massive problem with mvn release half-building the release, had to roll back the 3 release changesets and start over
:* had recurring OutOfMemory errors even though I always started the build with at least 2G of free memory. Used MAVEN_OPTS=“-Xmx1024M -Xms1024M” to ensure I had enough memory.
:* Spotlight on OS X hogs up huge amounts of memory during the build. disable it for liftweb directory to keep your cpu usage lower.
:* had a problem with SVN not liking my LC_ALL, so set it to LC_ALL=en_US to get around it.
:* had a problem with Java not finding Maven so I had to do some shuffling of files around
= Lift 0.6 =
;date: 2008-03-10
;releaser: Eric Torreborre
;total duration: 03:00:00
;comments:
:* The first release:prepare failed because of svn. I had to do first an “svn update” on the command line to accept the certificate from the googlecode site, then I was able to re-execute that goal.
:* Had an issue when generating the Scaladoc, removed the site generation from the process . This will be done later.
:* Eclipse was locking the jars in the repository, forbidding their update. This shown up as maven complaining about an undownloadable jar file
:* I had to remove the old Scala 2.7.0 libs first from my local repository.
= Lift 0.5 =
;date: 2008-02-05
;releaser: Jorge Ortiz
;total duration: 01:30:00
;comments:
:* some test is running derby and not cleaning up after itself, had to manually delete lift/derby.log a few times
:* didn’t realize I had to edit changes.xml, will edit this page to reflect that
= Lift 0.4 =
;date: 2008-01-07
;releaser: David Bernard
;total duration: >02:00:00
;comments:
:* lot of trouble with dav on scala-tools.org
:* need to fix configuration on server
:* lot of timeout => TODO find an other protocol for deployement
= Lift 0.3.0 =
;date: 2007-12-07
;releaser: David Bernard
;total duration: 01:20:00
;comments:
:* first deploy on http://scala-tools.org/
:* write the procedure
:* need to change the procedure during release, site-deploy is too long through dav protocol (files are push one by one != scp )