<commit_before>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=io.netty \
 -DartifactId=netty \
 -Dversion=3.5.x.Patched \
 -Dpackaging=jar \
 -Dfile=netty-3.5.x.Patched.jar \
 -DrepositoryId=ssh-tomp2p \
 -Durl=scp://tomp2p.net/home/##username##/maven
 
Netty Patches
=============

These are the patches against 3.5.x.

In src/main/java/org/jboss/netty/channel/socket/nio/AbstractNioWorker.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())) {<commit_msg>removed uneeded comment<commit_after>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=io.netty \
 -DartifactId=netty \
 -Dversion=3.5.x.Patched \
 -Dpackaging=jar \
 -Dfile=netty-3.5.x.Patched.jar \
 -DrepositoryId=ssh-tomp2p \
 -Durl=scp://tomp2p.net/home/##username##/maven
{'fraction_non_alphanumeric': 0.17649609713790113, 'fraction_numerical': 0.012142237640936688, 'mean_word_length': 4.390186915887851, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7453258', 'n_tokens_mistral': 812, 'n_tokens_neox': 768, 'n_words': 172}