title: Is there are way to install maven dependencies before maven attempts to resolve them?
body: <p>I have to unpack some dependencies from a remote location and install them locally.</p>
  
  <p>I successfully get them (using the antrun plugin) and install them (using the install plugin)</p>
  
  <p>However, if I define them as dependencies (<code>&lt;dependency&gt;..&lt;/dependency&gt;</code>) maven first tries to resolve them, and only then, if succeeds, proceeds to the antrun and install.</p>
  
  <p>I also  tried the build-helper-plugin and its attach-artifact, but it doesn't do anything (it doesn't even add the artifacts to the final war file)</p>
  
  <p>So, how to run my executions before maven attempts to resolve dependencies?</p>