Added mavenProperties guard for using stan as a submodule