You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stéphane Nicoll <St...@bsb.com> on 2004/10/08 14:21:16 UTC

snapshot not being downloaded?

Hello list,
 
It seems we have a problem with snapshots not being downloaded on the local box sometimes
 
Getting URL: http://someserver/someitem
sending ==> If-Modified-Since: mer., 06-oct.-04 14:20:19 GMT
(1097072419000)
Received status code: 304
Not modified
 
On the filesystem hosting the repository, the last modification date is 08-oct-04 14:14:43GMT
 
We're using Apache2
 
Any idea why a 304 is returned (and not we're not using a proxy, it's a direct call)
 
Thanks,
 
Stéphane
 
PS : this artifact is not deployed with maven, it's being copied from an ant task from a non-maven project (the side effect is that there's no MD5 for that file but I assume it's ok)

Re: snapshot not being downloaded?

Posted by Brett Porter <br...@gmail.com>.
I seem to remember there being a bug fixed post-1.0, though I couldn't
find it in the changes report.

It's this:
http://cvs.apache.org/viewcvs.cgi/maven/src/java/org/apache/maven/util/HttpUtils.java?r1=1.28.4.14&r2=1.28.4.15&diff_format=h

Build MAVEN-1_0-BRANCH from CVS to see if it fixes it?

Thanks,
Brett


On Fri, 8 Oct 2004 18:31:50 -0500, Craig S. Cottingham
<cr...@cottingham.net> wrote:
> On Oct 8, 2004, at 18:26, Brett Porter wrote:
> 
> > What's mer., in the If-Modified-Since line?
> 
> I assume it's "Mercredi":
> 
> > On Fri, 8 Oct 2004 14:21:16 +0200, Stéphane Nicoll
> > <st...@bsb.com> wrote:
> >> Hello list,
> >>
> >> It seems we have a problem with snapshots not being downloaded on the
> >> local box sometimes
> >>
> >> Getting URL: http://someserver/someitem
> >> sending ==> If-Modified-Since: mer., 06-oct.-04 14:20:19 GMT
> 
> 2004-10-06 was a Wednesday.
> 
> --
> Craig S. Cottingham
> craig@cottingham.net
> OpenPGP key available from:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: snapshot not being downloaded?

Posted by "Craig S. Cottingham" <cr...@cottingham.net>.
On Oct 8, 2004, at 18:26, Brett Porter wrote:

> What's mer., in the If-Modified-Since line?

I assume it's "Mercredi":

> On Fri, 8 Oct 2004 14:21:16 +0200, Stéphane Nicoll
> <st...@bsb.com> wrote:
>> Hello list,
>>
>> It seems we have a problem with snapshots not being downloaded on the 
>> local box sometimes
>>
>> Getting URL: http://someserver/someitem
>> sending ==> If-Modified-Since: mer., 06-oct.-04 14:20:19 GMT

2004-10-06 was a Wednesday.

--
Craig S. Cottingham
craig@cottingham.net
OpenPGP key available from:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: snapshot not being downloaded?

Posted by Brett Porter <br...@gmail.com>.
yes, it's ok without md5.

What's mer., in the If-Modified-Since line?




On Fri, 8 Oct 2004 14:21:16 +0200, Stéphane Nicoll
<st...@bsb.com> wrote:
> Hello list,
> 
> It seems we have a problem with snapshots not being downloaded on the local box sometimes
> 
> Getting URL: http://someserver/someitem
> sending ==> If-Modified-Since: mer., 06-oct.-04 14:20:19 GMT
> (1097072419000)
> Received status code: 304
> Not modified
> 
> On the filesystem hosting the repository, the last modification date is 08-oct-04 14:14:43GMT
> 
> We're using Apache2
> 
> Any idea why a 304 is returned (and not we're not using a proxy, it's a direct call)
> 
> Thanks,
> 
> Stéphane
> 
> PS : this artifact is not deployed with maven, it's being copied from an ant task from a non-maven project (the side effect is that there's no MD5 for that file but I assume it's ok)
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org