title: convert maven local repository to remote repository
body: <p>I have a repository directory under .m2 that I want to use as a remote repository (-Dmaven.repo.remote=http://remotehostname/repo) to other hosts.  I tried just to expose the directory .m2/repository/ under Apache as <a href="http://remotehostname/repo">http://remotehostname/repo</a>, the directory is fully visible via HTTP, but Maven doesn't seem to be reading from the exposed repo.  For various reasons, I do not want to add this new remote repo to settings.xml; limit it to -Dmaven.repo.remote</p>
  
  <p>What do I need to do to convert a local repo under .m2 as a remote repo?</p>