title: Unable to pass user.dir parameter to code using pom.xml and mvn cmdline
body: <p>Im a newbie to azure and maven. I have created a build pipeline and it is dropping artifacts to Build.ArtifactDirectory. In CD pipeline, there is a java class which uses System.getProperty(&quot;user.dir&quot;). But this path is taking wrongly and it throws ClassNotFoundException.
  Reason for this:
  Actual artifacts in cd after drop is present in path: C:/agent1/1/a/buildpipeline/drop/s/TestCode/src/main/read.java
  user.dir : is searching in path: C:/agent1/1/a/ in which the code is not available.
  Fix the issue:</p>
  <ol>
  <li>To fix this, i need to manually pass the user.dir value through maven commandline that is -Duser.dir=&quot;pathname&quot;. But this is not working</li>
  <li>I can change the artifact drop path from build pipeline and include a task of download artifact in release pipeline - Is not working because, I need to add a maven task to integrate pom.xml and it is automatically showing the path C:/agent1/1/a/buildpipeline/drop/s/TestCode/pom.xml.
  Please help me with a solution</li>
  </ol>