Can Sonatype Nexus use maven's local repository
I now have a PC working as a sonatype nexus server and a development environment. I know nexus store artifacts for "proxy type" Repositoy in "SonatypRoot\sonatype-work\nexus\storage", and maven will use a local Repository to store artifacts(default directory is "C:\USERS\USER_NAME.m2\repository"). So the question comes when i'm using maven with nexus running on the same machine, because i have two copies of every artifact which is big waste of storage. In Nexus's Configuration tab for proxy type repository, there is an option named "Override Local Storage Location", my question is can i set this to my maven's local Repository.
That's a bad idea. One common purpose of nexus to publish artifact internally within your organisation. Typically this is done using mvn deploy. On the other hand your maven local repository serves purpose as a cache to avoid downloading stuff that has been obtained before. If you mix them together you might be accidentally publishing artifacts to your organisation while you just want to test locally in your PC.
How to use the same target platform multiple sub-projects in Tycho
Maven Grails web.xml
Can I make a Maven profile add webResources to a war and still add non-profiled webResources?
HTTP Status 409 - The target deployment path […] does not match the POM's expected path prefix
Maven command to go back to previous day snapshot
Maven site on multi module project could not resolve dependency
Glassfish Maven Deploy Plugin - Deployment Failure
zmq failed when running unit test in Intellij IDEA with Maven
How Can I Distribute Jetty With My WAR Using Maven?
Referencing the Maven dependencies in antrun plugin
eclipse comands.jar 3.3.0 dependency not found
Hot deploy on Glassfish at Netbeans
Maven compilation failure but dependencies exist
Deploy Artifact to Nexus from Eclipse
Problems adding xom to Maven project
Maven 3 antrun issue