Do not try to deploy main pom (#11208)

Change-Id: Id995b3ed1c057e1e8abe4ddd6ccea016bc6b0028