title: How to define a repository in Maven pom.xml
body: <p>How can we define a repository in the pom.xml?</p>
  
  <p>For example if dependency is not found in the repository defined in settings.xml then search for the dependency in the repository defined in pom.xml.</p>
  
  <p>An example on how this can be achieved would be great.</p>
  
  <p>I am aware that placing repositories in the pom.xml is not a good option, but circumstances are pushing for this.</p>