Jagger is a project mainly written in ..., it's free.
Java XMPP Chatroom Bot
To Build the JAR:
mvn clean package assembly:single