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 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

Categories

HOME
variables
deezer
dictionary
google-play
plot
fme
relay
rsyslog
routes
youtube-api-v3
electronics
datastax-java-driver
dacpac
spring-kafka
rascal
windows-azure-storage
alignment
windows-server-2012
connection-string
excel-vba-mac
shared-hosting
jasonette
cloudhub
sylius
sparse-matrix
filezilla
maquette
jaxb2
webkitspeechrecognition
madlib
skia
google-rich-snippets
junit5
ecto
.net-4.0
semantic-versioning
amazon-kinesis-kpl
catalog
ios5
plsql-psp
hue
modelmapper
gpx
thin
apple-news
long-polling
avconv
pango
boost-multi-index
return-value
carrot
flow-control
gcsfuse
gnome-shell-extensions
elements
nsfilemanager
whois
unity-networking
vhd
jms2
ora-00900
content-length
emailrelay
iiviewdeckcontroller
p2
dia
clicktag
jscript.net
asp.net-web-api-odata
xcode-6.2
project-planning
jubula
pyhdf
dexterity
bulkloader
shellexecute
limejs
referrer
netbeans-6.9
gnu-prolog
nsobject
vdsp
gcj
infobox
xmlspy
tomcat-valve
xtype
servicehost
suppress
adrotator
pascal-fc
thread-local-storage
private-members

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