Adds jar creation to build for library export.
Fixes Javadoc.
Fixes Javadoc.