Fixed issue where javadoc dependencies were inherited