added scopes for dependencies and added javadoc and sources generation