SpringSource/spring-framework — pull request #159 by rwinch (2012-10-05 16:45:03+00:00)
Title: merge-dist.gradle disables artifactoryPublish

An attempt to fix the build which was resulting in the following:

05-Oct-2012 09:20:44	* What went wrong:
05-Oct-2012 09:20:44	A problem was found with the configuration of task ':spring-test- mvc:artifactoryPublish'.
05-Oct-2012 09:20:44	> File '/opt/bamboo-home/xml-data/build-dir/SPR-B32X-JOB1/spring-test-mvc/build/poms/pom-default.xml' specified for property 'mavenDescriptor' does not exist.

Previously the project that was getting merged from would try to
execute the artifactoryPublish on the build box. This caused issues
since the mavenDescriptor did not exist.

The merge-dist.gradle now disables the artifactoryPublish task if it
exists (it will only exist on the build box).

Issue: SPR-9859, SPR-7951