produce tests, sources, and javadoc jars correctly