title: Make maven version plugin fail if it can't check for new versions
body: <p>I'm using the maven version plugin to update specific properties:</p>
  <pre><code>mvn versions:update-properties &quot;-Dincludes=com.foo:my-dep:*:*:*&quot; &quot;-DgenerateBackupPoms=false&quot;
  </code></pre>
  <p>Anyway sometimes, due a network problem, the check fails with:</p>
  <blockquote>
  <p>[main] WARNING org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager - repository metadata for: 'artifact com.foo:my-dep' could not be retrieved from repository: central due to an error: Transfer failed for <a href="https://repo.maven.apache.org/maven2/com/foo/my-dep/maven-metadata.xml" rel="nofollow noreferrer">https://repo.maven.apache.org/maven2/com/foo/my-dep/maven-metadata.xml</a></p>
  </blockquote>
  <p>Nevertheless only a warning is printed and the build goes on.
  Would it be possible to halt everything in this case?</p>