mvn deploy works

Also creates source jars and javadoc jars. To do this I had to fix some problems in some javadocs.