Release plugin checking remote dependencies for modules

2009-05-18 Thread Danilo Tuler
Hi,

I have a multi-module project with a dozen modules.
Whenever I do a maven release:prepare maven checks remotely for
SNAPSHOT dependencies of my own modules, instead of first checking the
reactor.
Is this correct?

I use archiva and have a lot of remote repositories, and because of
that the release takes an hour or so.
My modules does not define version themselves, but define the versioned parent.
The inter module dependencies are defined as ${version} instead of
sticking the version.
I'm using maven 2.1.0.

Thanks,
Danilo

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



Re: Release plugin checking remote dependencies for modules

2009-05-18 Thread Brian Fox
That's normal unless you disable automatic snapshot updates for each of
these repos in your settings.

On Mon, May 18, 2009 at 9:07 AM, Danilo Tuler tu...@pobox.com wrote:

 Hi,

 I have a multi-module project with a dozen modules.
 Whenever I do a maven release:prepare maven checks remotely for
 SNAPSHOT dependencies of my own modules, instead of first checking the
 reactor.
 Is this correct?

 I use archiva and have a lot of remote repositories, and because of
 that the release takes an hour or so.
 My modules does not define version themselves, but define the versioned
 parent.
 The inter module dependencies are defined as ${version} instead of
 sticking the version.
 I'm using maven 2.1.0.

 Thanks,
 Danilo

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




Re: Release plugin checking remote dependencies for modules

2009-05-18 Thread Wendy Smoak
On Mon, May 18, 2009 at 6:07 AM, Danilo Tuler tu...@pobox.com wrote:

 I use archiva and have a lot of remote repositories, and because of
 that the release takes an hour or so.

You can speed this up by creating a repository group [virtual
repository] and configuring Maven to only use the one url.

-- 
Wendy

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



Re: Release plugin checking remote dependencies for modules

2009-05-18 Thread Danilo Tuler
 I have a multi-module project with a dozen modules.
 Whenever I do a maven release:prepare maven checks remotely for
 SNAPSHOT dependencies of my own modules, instead of first checking the
 reactor.

 You can speed this up by creating a repository group [virtual
 repository] and configuring Maven to only use the one url.

Our version of archiva (1.0.2) does not support virtual repositories.
We plan to upgrade ASAP.

But why does maven do that?

Danilo

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



Re: Release plugin checking remote dependencies for modules

2009-05-18 Thread Brian Fox
Because it's making sure that the build is correct, it's basic snapshot
behavior.

On Mon, May 18, 2009 at 12:53 PM, Danilo Tuler danilo.tu...@gmail.comwrote:

  I have a multi-module project with a dozen modules.
  Whenever I do a maven release:prepare maven checks remotely for
  SNAPSHOT dependencies of my own modules, instead of first checking the
  reactor.

  You can speed this up by creating a repository group [virtual
  repository] and configuring Maven to only use the one url.

 Our version of archiva (1.0.2) does not support virtual repositories.
 We plan to upgrade ASAP.

 But why does maven do that?

 Danilo

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