No. If that is the case, it's a bug that should be aggressively addressed with JIRA. The release rules do not allow snapshot dependencies within the Maven sphere.

If you use -U, you're then playing with fire, because you're overriding plugins. You're much better off deleting portions of your ~/.m2/repository. You might be getting some snapshots if your archetype is a snapshot archetype version. But I never allow snapshot repositories in my profiles unless I temporarily need them, and then I have them in a profile that I manually activate. That way I never get snapshots unless I'm explicitly allowing them.

Can you provide the full command-line, and I'll try it out on an empty local repo and see what I get?

Christian.

On 25-Feb-09, at 12:05 , Massimo Lusetti wrote:

On Wed, Feb 25, 2009 at 5:46 PM, Christian Edward Gruber
<christianedwardgru...@gmail.com> wrote:

It means that in the master pom.xml file that everything else inherits from
(even if you don't declare it) the version numbers for all the
maven-*-plugin and plexus*foo plugins are all set at a specific release version, so that with 2.0.9 any two re-fetches of all the plugins will not be different. You can still override the provided default plugin versions, but it means that if you are just building something twice, and someone
publishes a new plugin version, it won't be forced on you.

But the dependencies, which they have locked down, contains SNAPSHOTs
versions, isn't that the case?
I lost the output but just today i done a mvn -U archetype:generate
and it started to download some snapshots plugins... i would like to
have the output for you.

Regards
--
Massimo
http://meridio.blogspot.com

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


Christian Edward Gruber
e-mail: christianedwardgru...@gmail.com
weblog: http://www.geekinasuit.com/


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

Reply via email to