maven


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.

Related Links

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?

Categories

HOME
ionic-framework
image
azure-data-factory
jsp-tags
setup-deployment
maven-3
packages
azure-media-services
paradox
primary-key
session-variables
google-translate
node-pdfkit
windows-azure-storage
visual-studio-2005
opentracing
zapier
tar
csrf-protection
sylius
tapestry
cas
status
intel-pin
traffic
fluentvalidation
delicious-api
r-raster
tinymce-4
semantic-versioning
hybridauth
http-referer
y86
io-redirection
dosbox
scaffold
mesos-chronos
preconditions
bootstrap-dialog
outlook-api
angular-resource
osx-mavericks
pebble-watch
kbuild
nodebb
font-size
np-complete
sybase-asa
epson
xcb
color-picker
elements
transmitfile
nsfilemanager
mongocsharpdriver
bstr
fuzzy-search
dlna
design-by-contract
associative-array
phpcas
iad
separator
endeca-workbench
icu4j
wordml
operation
notify
device-orientation
umbraco6
kineticjs
jsonpickle
pick
issuu
onactivityresult
mesa
eol
xceed-datagrid
concurrent-collections
industrial
opcache
yui-compressor
quickdialog
propertyeditor
viewswitcher
buildr
custom-backend
psi
xdomainrequest
appendto
winbugs14
sql-server-profiler
site.master
.nettiers
gamma
mirah
multi-tier
zend-tool
sef
scripting-languages
uiq3

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App