Added dependency scopes and javadoc and sources publishing