On Mon, Jun 20, 2011 at 11:59 AM, Martin Schwarzbauer
<martin.schwarzba...@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

Reply via email to