Legacy layout is the maven 1 layout. If you only use maven 2, don't
use the legacy layout.

I guess something goes wrong with your metadata. If you use a maven 2
layout like maven[1] there will be a metadata file, to construct the
final url. What does your metadata file say about your snapshots?

[1] 
http://repository.sonatype.org/content/repositories/apache-snapshots/org/apache/maven/maven/2.0.10-SNAPSHOT/maven-metadata.xml

With regards,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Mon, Feb 16, 2009 at 6:03 PM, Kent Närling <kent.narl...@seamless.se> wrote:
> I thought legacy layout was standard for snapshot repositories?
> Is it even possible to use non-legacy layout for snapshots?
>
> And it does try to use the correct path, it is just the
> timestamp/buildnumber that mismatch...?
>
>
> 2009/2/16 Nick Stolwijk <nick.stolw...@gmail.com>
>
>>
>> http://nexus:8081/nexus/content/groups/public-snapshots/com.my.common/poms/my-artifact-0.11-20090211.000348-293.pom
>>
>> Seeing you have a special directory for poms it looks like you have a
>> legacy repository defined. Maybe that goes wrong?
>>
>> Hth,
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> Iprofs BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> www.iprofs.nl
>>
>>
>>
>> On Mon, Feb 16, 2009 at 5:44 PM, Kent Närling <kent.narl...@seamless.se>
>> wrote:
>> > Anyone give me a pointer regarding this? please?
>> >
>> > Is it a very stupid question... ? :-(
>> >
>> > ---------- Forwarded message ----------
>> > From: Kent Närling <kent.narl...@seamless.se>
>> > Date: 2009/2/11
>> > Subject: Snapshots repositories, how should they work?
>> > To: Maven Users List <users@maven.apache.org>
>> >
>> >
>> > This might be a newbie question, bit I have tried to find documentation
>> > explaining how snapshot repositories should work... can anyone give me a
>> > pointer?
>> >
>> > We have an internal repository (nexus) and a build server (continuum)
>> which
>> > works fine with released artifacts etc
>> >
>> > However I cannot get automatic download of snapshot dependencies to work
>> > successfully...?
>> >
>> > I have added a snapshot-enabled repository to my settings and it does try
>> to
>> > download it, but it seems it gets the timestamp/build number incorrect
>> all
>> > the time!
>> >
>> > For instance, I can see that maven is trying to download:
>> > Downloading:
>> >
>> http://nexus:8081/nexus/content/groups/public-snapshots/com.my.common/poms/my-artifact-0.11-20090211.000500-295.pom
>> >
>> > But when I check the repo manually, the latest snapshot was  actually
>> named:
>> >
>> http://nexus:8081/nexus/content/groups/public-snapshots/com.my.common/poms/my-artifact-0.11-20090211.000348-293.pom
>> >
>> > What am I doing wrong?
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Kent Närling
>> >
>> > System Architect
>> > SEAMLESS
>> > Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden
>> > Phone: +46 8 5648 7800, fax: +46 8 5648 7823
>> > Mobile: +46 70 836 9925
>> > Mail: kent.narl...@seamless.se
>> > www.seamless.se
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
>
> --
> Kent Närling
>
> System Architect
> SEAMLESS
> Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden
> Phone: +46 8 5648 7800, fax: +46 8 5648 7823
> Mobile: +46 70 836 9925
> Mail: kent.narl...@seamless.se
> www.seamless.se
>

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

Reply via email to