title: Maven: How to fail maven build when the project found to have a specific version of a dependency?
body: <p>I have a module which is used as a maven dependency in many springboot projects. We keep on releasing new versions of the module. </p>
  
  <p>Now, it is found that some of the springboot projects uses very old version of the module as dependency. We want to fail the maven build for such project which uses older than a specific version of the module as maven dependency.</p>
  
  <p>Can you please share some pointers to achieve this ?</p>
  
  <p>Thanks in advance.</p>