LDAP-251: Disable publishing of non core modules

This is necessary so that the Gradle builds can be promoted. Otherwise an
error like the following is displayed when promoting the build:

HTTP Status 400 - Unable to find artifact
'spring-ldap-article-sample-1.3.2.RELEASE.war'