The cache ??

The log says: Updating /junit/junit/3.8.1/junit-3.8.1.jar in snapshot cache

Where is the cache? Does it mean the "repo.local-repo.url" variable?
Usually i can not write to that folder...
Fredy


"Maven Users List" <users@maven.apache.org> schrieb am 30.01.06 17:18:59:

I don't find what's wrong.
You have to retry . Sometimes on browsing central repository it takes
a  lot of times before you get the window messagedialog to download
.jar or .pom. If your httpproxy time out is short the request is
cancelled.
Sorry it seems stupid but could you connect to internet by using the
http proxy on browser?


2006/1/30, Fredy <[EMAIL PROTECTED]>:
> ok,
> i've fixed that.
>
> Onothe great mistake i had ;-((
>
> I had configured a proxy in my settings, because i need it before i installed 
> this proxy!!!
>
> Now Maven says:
>
> Downloading: file:///v:/mvnReleaseRepo/junit/junit/3.8.1/junit-3.8.1.jar
> [WARNING] Unable to get resource from repository kdg_release 
> (file:///v:/mvnReleaseRepo)
> Downloading: 
> http://<ip>:8080/maven-proxy-webapp/repository/junit/junit/3.8.1/junit-3.8.1.jar
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: junit
> ArtifactId: junit
> Version: 3.8.1
>
> Reason: Unable to download the artifact from any repository
>   junit:junit:3.8.1:jar
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   kdg_release (file:///v:/mvnReleaseRepo),
>   kdg_3rdparty (file:///v:/mvn3rdPartyRepo),
>   kdg_snapshot (file:///v:/mvnSnapshotRepo)
>
>
> And The maven-proxy Log says:
>
> 2006-01-30 16:58:07,673 [INFO ] proxy.servlets.RepositoryServlet  - Received 
> request: /junit/junit/3.8.1/junit-3.8.1.jar
> 2006-01-30 16:58:07,680 [DEBUG] proxy.engine.DownloadEngine  - Request: 
> source=<ip>, path=/junit/junit/3.8.1/junit-3.8.1.jar, lastModified=-1, 
> headOnly=false, ifModifiedSince=-1
> 2006-01-30 16:58:07,685 [DEBUG] proxy.config.FileRepoConfiguration  - 
> Repo[global]: Checking last modified time for 
> ./target/repo/junit/junit/3.8.1/junit-3.8.1.jar
> 2006-01-30 16:58:07,685 [DEBUG] proxy.config.FileRepoConfiguration  - 
> Repo[local-repo]: Checking last modified time for 
> ./target/repo-local/junit/junit/3.8.1/junit-3.8.1.jar
> 2006-01-30 16:58:07,686 [DEBUG] components.impl.DefaultSnapshotCache  - 
> Unable to find /junit/junit/3.8.1/junit-3.8.1.jar in snapshot cache
> 2006-01-30 16:58:07,686 [INFO ] proxy.config.HttpRepoConfiguration  - 
> Repo[www-ibiblio-org]: Checking last modified time for 
> http://www.ibiblio.org/maven/junit/junit/3.8.1/junit-3.8.1.jar
> 2006-01-30 16:58:08,703 [INFO ] components.impl.DefaultSnapshotCache  - 
> Adding /junit/junit/3.8.1/junit-3.8.1.jar to snapshot cache
>
> I can't find a problem in the log, but it doesn't work???
> Any other idea??
>
> Thanks
> Fredy
>
>
> "Maven Users List" <users@maven.apache.org> schrieb am 30.01.06 16:45:24:
>
> No I have not.I specify <mirror> tag on setings.xml
> - <mirrors>
> - <mirror>
>   <mirrorOf>central</mirrorOf>
>   <name>maven proxy local test</name>
>   <url>http://10.21.240.120:9999/repository</url>
>   <id>local-proxy</id>
>   </mirror>
>   </mirrors>
>
>
> 2006/1/30, Fredy <[EMAIL PROTECTED]>:
> > How have you configured your maven-proxy as repositoiry?
> >
> > I've extend my profile in settings.xml like this:
> >
> >   <repository>
> >          <id>maven-proxy</id>
> >          <name>...Repositories</name>
> >          <url>http://<ip>:8080/maven-proxy-webapp</url>
> >          <releases>
> >            <enabled>true</enabled>
> >           </releases>
> >           <snapshots>
> >             <enabled>true</enabled>
> >           </snapshots>
> >    </repository>
> >
> > Fredy
> >
> > "Maven Users List" <users@maven.apache.org> schrieb am 30.01.06 16:06:58:
> >
> > Sometimes , I get this error . I restart maven-proxy and it works again.
> >
> > 2006/1/30, Fredy <[EMAIL PROTECTED]>:
> > > So,
> > > I have set up the maven-proxy and it seems it's running.
> > >
> > > But if I delete a jar from my local repository and start mvn compile than 
> > > in hangs:
> > >
> > > Downloading: 
> > > http://<ip>:8080/maven-proxy-webapp/repository/junit/junit/3.8.1/junit-3.8.1.jar
> > >
> > > after a few minutes the following error occures:
> > >
> > > from the specified remote repositories:
> > >   central (http://repo1.maven.org/maven2),
> > >   kd_release (file:///v:/mvnReleaseRepo),
> > >   maven-proxy (http://<ip>:8080/maven-proxy-webapp/repository),
> > >   kd_3rdparty (file:///v:/mvn3rdPartyRepo),
> > >   kd_snapshot (file:///v:/mvnSnapshotRepo)
> > >
> > > ...
> > > Caused by I/O exception: Server returned HTTP response code: 500 for URL: 
> > > http://<ip>:8080/maven-proxy-webapp/repository/junit/junit/3.8.1/junit-3.8.1.jar
> > >
> > > How do I know if maven-proxy uses the proxy I have setup? (proxy.list=one)
> > >
> > > Fredy
> > >
> > > "Maven Users List" <users@maven.apache.org> schrieb am 30.01.06 14:32:17:
> > >
> > > Hello,
> > > you just  need to specify Ip adress or dns name  and port of your
> > > http-proxy and possibly authentication values.
> > > If you have one http-proxy
> > > proxy.list=one
> > > and
> > >  #Unauthenticated proxy
> > >  proxy.one.host=HtpProxyAddress
> > >  proxy.one.port=HttpProxyPort
> > > And so one if you are more tha one http-proxy. I think you can give
> > > any name for values of proxy.list But each name must match the
> > > corresponding description .(I don't try it).
> > >
> > > proxy.list=My1httproxy
> > > #Unauthenticated proxy
> > >  proxy.My1httproxy.host=proxy1.example.com
> > >  proxy.My1httproxy.port=3128
> > >
> > >
> > > Tom.
> > >
> > > 2006/1/30, Fredy <[EMAIL PROTECTED]>:
> > > > Hey all,
> > > > is it possible to use a http-proxy in the maven-proxy?
> > > > What is this configuration for= does it work?
> > > >
> > > > Fredy
> > > >
> > > > ################ PROXIES
> > > > #This is just a hack, it should auto discover them
> > > > proxy.list=one,two,three
> > > >
> > > > #Unauthenticated proxy
> > > > proxy.one.host=proxy1.example.com
> > > > proxy.one.port=3128
> > > >
> > > > #Authenticated proxy
> > > > proxy.two.host=proxy2.example.org
> > > > proxy.two.port=80
> > > > proxy.two.username=username2
> > > > proxy.two.password=password2
> > > >
> > > > #Authenticated proxy
> > > > proxy.three.host=proxy3.example.net
> > > > proxy.three.port=3129
> > > > proxy.three.username=username3
> > > > proxy.three.password=password3
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > > --
> > > Mit freundlichen Grüßen
> > > Fred Robert Hauschel
> > >
> > > http://www.Hauschel.de
> > >
> > > Mobil:    0179  - 6917092
> > > Telefon:  07427 - 91179
> > > Fax:      07427 - 91178
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > --
> > Mit freundlichen Grüßen
> > Fred Robert Hauschel
> >
> > http://www.Hauschel.de
> >
> > Mobil:    0179  - 6917092
> > Telefon:  07427 - 91179
> > Fax:      07427 - 91178
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> --
> Mit freundlichen Grüßen
> Fred Robert Hauschel
>
> http://www.Hauschel.de
>
> Mobil:    0179  - 6917092
> Telefon:  07427 - 91179
> Fax:      07427 - 91178
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
Mit freundlichen Grüßen
Fred Robert Hauschel

http://www.Hauschel.de

Mobil:    0179  - 6917092
Telefon:  07427 - 91179
Fax:      07427 - 91178



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to