Added support for setting the package name
Fixed conditional maven repository