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 create Maven Jar file when tests contain JUnit #Test annotations and no main class
How to determine when cmds in docker exec complete
Only 1 test class is running and TestNG execution hangs
Zip file empty using maven assembly plugin in pom
Jenkins deploying artifacts to Artifactory. maven-metadata.xml shows incorrect version for release and does not show versions for snapshot
How to restore artifacts in Jenkins multibranch job?
How to get the currently processed dependencys artefactid during process-resources
how do I get maven to tell me what jar it would build without building it?
1.0.0-SNAPSHOT in two Nexus repositories of one group
Failure to find org.jenkins-ci.plugins:plugin:pom:2.11 in https://repo.maven.apache.org/maven2
Cobertura wrong coverage reporting issues
Configuration of Maven profile to connect with SonarQube which is using LDAP
docker, maven start failed: Connection is still allocated
Build Failure while while building the Apache Zeppelin
Use EndptEnabler with maven
What is the final dependency scope when different scopes are specified for one JAR?