I am using a nexus repo in a linux system which downloads missing artifacts for me in my windows system when i build my project, by using:
mvn install command
The artifacts are downloaded by my nexus repo from a remote repo which is mapped to the nexus repo.
This connection between the nexus repo set up in linux system and the remote repo used to work earlier and thus I used to get all the required artifacts for my maven build automatically when i used to build my project using maven.
But due to some reasons the nexus repo in linux is not downloading artifacts from the remote repo.I want this connection to happen so that i could get the required artifact say, tomcat-catalina-7.0.16.jar,downloaded from the remote repo.
I am new to nexus..so may be I would not have been able to explain my problem properly or would have been technically unsound in my question.But I eagerly want to solve my problem.So please if any one could help, please do.
hi, i checked nexus.log and found the following exception while mvn install command was running and when nexus was trying to download the missing tomcat-catalina-7.0.16.jar artifact from the remote repo:
2012-01-18 11:58:35 ERROR [http-8090-23 ] - o.s.n.p.m.m.M2Repos~ - Got Storage Exception while storing remote artifact, will attempt next mirror, cause: org.sonatype.nexus.proxy.RemoteStorageException: The method execution returned result code 407. [repositoryId="central", requestPath="/org/apache/tomcat/tomcat-catalina/7.0.16/tomcat-catalina-7.0.16.jar.sha1", remoteUrl="http://repo.ibsplc.com/artifactory/repo/org/apache/tomcat/tomcat-catalina/7.0.16/tomcat-catalina-7.0.16.jar.sha1"]
2012-01-18 11:58:35 ERROR [http-8090-23 ] - o.s.n.r.ContentPlex~ - Got exception during processing request "GET http://192.168.4.8:8090/nexus/content/repositories/central/org/apache/tomcat/tomcat-catalina/7.0.16/tomcat-catalina-7.0.16.jar.sha1": org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
2012-01-18 11:58:35 ERROR [http-8090-23 ] - o.s.n.p.m.m.M2Repos~ - Got Storage Exception while storing remote artifact, will attempt next mirror, cause: org.sonatype.nexus.proxy.RemoteStorageException: The method execution returned result code 407. [repositoryId="central", requestPath="/org/apache/tomcat/tomcat-catalina/7.0.16/tomcat-catalina-7.0.16.jar.sha1", remoteUrl="http://repo.ibsplc.com/artifactory/repo/org/apache/tomcat/tomcat-catalina/7.0.16/tomcat-catalina-7.0.16.jar.sha1"]
2012-01-18 11:58:35 ERROR [http-8090-23 ] - o.s.n.r.ContentPlex~ - Got exception during processing request "GET http://192.168.4.8:8090/nexus/content/repositories/central/org/apache/tomcat/tomcat-catalina/7.0.16/tomcat-catalina-7.0.16.jar.sha1": org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
2012-01-18 11:58:25 INFO [http-8090-23 ] - o.a.c.h.a.AuthChall~ - Basic authentication scheme selected
2012-01-18 11:58:25 INFO [http-8090-23 ] - o.a.c.h.HttpMethodD~ - Failure authenticating with BASIC 'Squid proxy-caching web server'@192.168.0.46:80
2012-01-18 11:58:25 ERROR [http-8090-23 ] - o.s.n.p.m.m.M2Repos~ - Got Storage Exception while storing remote artifact, will attempt next mirror, cause: org.sonatype.nexus.proxy.RemoteStorageException: The method execution returned result code 407. [repositoryId="central", requestPath="/org/apache/tomcat/tomcat-catalina/7.0.16/tomcat-catalina-7.0.16.pom", remoteUrl="http://repo.ibsplc.com/artifactory/repo/org/apache/tomcat/tomcat-catalina/7.0.16/tomcat-catalina-7.0.16.pom"]
If anyone can find a solution.please do help
nexus.log
file. It is (also) accessible from the nexus webapp after login viaAdministration -> System files -> Select file (?) -> nexus.log
– FrVaBe