Release Management
==================
To make a release, use the maven plugin:

  mvn release:prepare
  mvn release:perform
  
if using a netbook or similar, use:

  mvn release:prepare -Darguments='-Dmaven.test.skip=true'
  mvn release:perform -Darguments='-Dmaven.test.skip=true'
  
Announce on:

 * tomp2p/downloads
 * tomp2p/news
 * tomp2p/mailinglist - release notes and planning for next version
 * freecode.com (http://freecode.com/projects/tomp2p)
 * update wikipedia with version number (http://en.wikipedia.org/wiki/TomP2P)  

Adding 3rd party libraries to repository
========================================

E.g. upload snapshot of Netty using scp from the TomP2P working directory

mvn deploy:deploy-file \
 -DgroupId=org.jboss.netty \
 -DartifactId=netty \
 -Dversion=3.3.0.Patched \
 -Dpackaging=jar \
 -Dfile=netty-3.3.0.Patched.jar \
 -DrepositoryId=ssh-tomp2p \
 -Durl=scp://tomp2p.net/home/##username##/maven \
 -Dusername=##username## \
 -Dpassword=##password## \
 -Dsources=netty-3.3.0.Patched-sources.jar
 

Netty Patches
=============

These are the patches against 3.3.0.

In src/main/java/org/jboss/netty/channel/socket/nio/NioWorker.java:
 
if (selector.keys().isEmpty()) { ->
if (selector.keys().isEmpty() || thread.isInterrupted()) {

if (registerTaskQueue.isEmpty() && selector.keys().isEmpty()) { ->
if (registerTaskQueue.isEmpty() && (selector.keys().isEmpty() || thread.isInterrupted())) {