Some sonatype nexus questions.
Posted
by smallufo
on Stack Overflow
See other posts from Stack Overflow
or by smallufo
Published on 2010-06-05T04:48:58Z
Indexed on
2010/06/05
7:22 UTC
Read the original article
Hit count: 230
I deployed a sonatype nexus server inside my LAN , mapping some remote repositories to my public repositories :
First question is , why these repositories not sync with the "real" repositories ? For example , I mapped maven central (http://repo1.maven.org/maven2) to "central" , but when I browse http://smallufo:8081/nexus/content/repositories/central/org/springframework/ , the packages are not complete , in http://repo2.maven.org/maven2/org/springframework/ , there are tons of artifacts , but I only have some of them :
And versions are old ... ex : spring-core is only 2.5.6.SEC01 , but the latest version is 3.0.2.RELEASE. And my maven client seems can only find the old artifacts ...
"central" is a proxy directory , it should be the same with the remote server. I tried to "Expire Cache" , "ReIndex" , "Incremental ReIndex" the whole "central" :
After a long time with almost 100% java process load , the situation seems not better , just add some artifacts ... not reflecting the real "Maven Central" data...
Second question , what's difference with "Expire Cache" , "ReIndex" , "Incremental ReIndex" ?
Even I can "search" spring-core.3.0.2.RELEASE , my m2eclipse still cannot find it :
I can also see the spring-core-3.0.2.RELEASE in the "index" , (but not available in "storage") :
But why m2eclipse cannot make use of it ? it seems m2eclipse can only install artifacts in the storage , if this is how nexus works , how do I "force" download spring-core-3.0.2.RELEASE to nexus's storage ?
How do I solve these strange incompatibilities ? Thanks a lot !
© Stack Overflow or respective owner