title: How to provide Nexus path in Maven pom.xml
body: <p>I am using maven for my project and need to provide a Nexus path after providing GroupId, ArtifactId and Version.</p>
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.org.abc&lt;/groupId&gt;
      &lt;artifactId&gt;myartifactid&lt;/artifactId&gt;
      &lt;version&gt;myversion&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.org.def&lt;/groupId&gt;
      &lt;artifactId&gt;myartifactid&lt;/artifactId&gt;
      &lt;version&gt;myversion&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.org.ghi&lt;/groupId&gt;
      &lt;artifactId&gt;myartifactid&lt;/artifactId&gt;
      &lt;version&gt;myversion&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p><strong>My Nexus path -</strong> https://nexus/content/repositories/</p>
  <p><strong>Artifact present in path -</strong> https:/mynexusdomain/nexus/content/repositories/snapshots/<strong>com/org/abc/myartifactid/MySnapshotVersion/plugins/MyRequiredJars</strong></p>
  <p><strong>Settings.xml:</strong></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;settings xmlns=&quot;http://maven.apache.org/settings/1.0.0&quot;
  xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation=&quot;http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd&quot;&gt;
   &lt;localRepository&gt;D:/Maven_repo&lt;/localRepository&gt;
    &lt;mirrors&gt;
      &lt;mirror&gt;
        &lt;id&gt;nexus&lt;/id&gt;          
        &lt;name&gt;Nexus&lt;/name&gt;
  &lt;url&gt;http://NexusDomain/nexus/content/repositories/myrepo/myrepo1/&lt;/url&gt;
        &lt;mirrorOf&gt;central&lt;/mirrorOf&gt;
      &lt;/mirror&gt;
    &lt;/mirrors&gt;
  </code></pre>
  <p>Here, as per the pom file, I can mention the groupid (com.org.abc), artifactid (myartifactid). Is there any possible ways to mention the path after artifactid in nexus url ie., to take artifact inside that particular folder ?</p>
  <p>Any inputs would be really appreciated. Thank you !</p>