archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <wsm...@gmail.com>
Subject Re: WELCOME to users@archiva.apache.org
Date Mon, 20 Jun 2011 16:12:39 GMT
On Mon, Jun 20, 2011 at 11:59 AM, Martin Schwarzbauer
<martin.schwarzbauer@gmail.com> wrote:
> Hi Wendy,
> no i don't have any other settings in the settings.xml (except a HTTP
> Proxy).
>
> What's missing?

Add an active <profile> with a <repository> that has
<snapshots><enabled>true.  (I usually re-define <id>central</id> to
avoid it searching multiple repo ids.)  The url you use is irrelevant,
it will be overridden by your mirror.

http://maven.apache.org/ref/3.0.3/maven-settings/settings.html

Without that, Maven is relying on its built-in definition of 'central'
which does NOT have snapshots enabled.

Here's a roundabout discussion that ends up at the solution.
http://maven.40175.n5.nabble.com/Cannot-retrieve-parent-snapshot-pom-but-can-depend-on-it-why-td3401886.html

-- 
Wendy

Mime
View raw message