title: Maven: add a dependency to a jar by relative path outside the project directory
body: <p>The situation is largely similar as in <a href="https://stackoverflow.com/questions/2229757/maven-add-a-dependency-to-a-jar-by-relative-path">this SO question</a> except for the resource I'm trying to point to is outside the project folder. </p>
  
  <p>The background is that I have a git repo that contains a few projects. One of the projects requires a jar from another project for running so the intended dependency should be smth like this:   </p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;another-proj-jar&lt;/groupId&gt;
      &lt;artifactId&gt;another-proj-jar&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;scope&gt;system&lt;/scope&gt;
      &lt;systemPath&gt;../another-proj/build/another-proj.jar&lt;/systemPath&gt;
  &lt;/dependency&gt; 
  </code></pre>
  
  <p><code>another-proj</code> is not a Maven project (and converting it to a Maven proj is an issue of itself, let's skip it here) so I create that jar manually through Eclipse import.  </p>
  
  <p>However, I am not sure whether it is possible to indicate a relative path beyond the project directory because all examples point to <code>//${basedir}/my-repo</code> where <code>${basedir}</code> is essentially the current project folder. I need to make it one level up the current project's folder.  </p>
  
  <p>Could you tell me whether it's possible and how or what could be a workaround?</p>