forked from tomp2p/TomP2P
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release_instructions.txt
46 lines (33 loc) · 1.29 KB
/
release_instructions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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())) {