TomP2P 5 Beta finally arrived. Check out the latest beta version.
I recommend to switch from TomP2P 4 to TomP2P 5 as TomP2P 4 will not be maintained anymore. Please change your pom.xml to:
<dependency>
<groupId>net.tomp2p</groupId>
<artifactId>tomp2p-core</artifactId>
<version>5.0-Beta1</version>
</dependency>
Some methods changed from get*() to *() -> getPeerMap() to peerMap(). The API is considered stable, but small changes may happen.