title: Jenkins repository location
body: <p>Which repository location does Jenkins use when building a Maven project? I have chosen <code>Default (~/.m2/repository)</code> option while configuring Jenkins but it seems the behavior is a bit different. Though there is this myown.jar present in my local repository i.e. in <code>/home/username/.m2</code>, it shows the error that myown.jar is not found. So I have to build a job for this <code>myown</code> project, build it and then the error gets solved.</p>
  <p>Not only this, when I put the Jenkins script in startup i.e. <code>/usr/bin/java -jar &lt;warpath&gt;.war</code>, it downloaded all the dependencies of my projects again while building it, though I had built the configured project 5 times before putting the script in startup !! Isn't it weird behavior? Which repository location does Jenkins use? Or is there something what I might be missing?</p>