Currently the release procedure for Jetty6 is a mostly manual operation:
svn cp -m 'release x.y.z' https://svn.codehaus.org/jetty/jetty/branches/jetty-6.1 https://svn.codehaus.org/jetty/jetty/tags/jetty-x.y.z svn cp -m 'release x.y.z' https://svn.codehaus.org/jetty-contrib/jetty/branches/jetty-6.1 https://svn.codehaus.org/jetty-contrib/jetty/tags/jetty-contrib-x.y.z |
svn co https://svn.codehaus.org/jetty/jetty/tags/jetty-x.y.z |
cd jetty-x.y.z svn propedit svn:externals . # change branches to jetty/tags/jetty-contrib-x.y.z rm -fr contrib svn up |
find -name '*.xml' -o -name '*.TXT' -o -name '*.txt' | while read file ; do sed --in-place -e 's/6.1 SNAPSHOT/x.y.z/g' $file ; done |
svn commit -m 'release x.y.z' svn commit -m 'release x.y.z' contrib |
mvn -Pcodehaus-release deploy # find all instanced of plugin-plugin in pom.xml and comment them out. cd distribution/jetty-assembly mvn -Pcodehaus-release deploy cd ../.. # revert the plugin-plugin pom.xml files. Complain on lists that we should fix this. |
bin/build_release_bundles.sh . |
cd contrib/j2se6 (NOTE: you need to do this with jdk1.6!) mvn -Pcodehaus-release deploy cd ../../contrib/maven-beanshell-plugin mvn -Pcodehaus-release deploy cd ../../contrib/jetty-ant mvn -Pcodehaus-release deploy cd contrib/rpm mvn install cd ../../extra/jboss mvn -Djboss.home=<your jboss install dir> install cd ../.. |
promote the releases |