title: how to set pom.xml to download artifact from nexus remote repository
body: <p>I want to set a remote nexus repository with my local repository in maven, when a artifact is not in the local repository, then it should be downloaded from my remote repository and should be installed to the local repository. How can I set it?</p>