Nope, I'm using 1.0 for everything, not SNAPSHOT. I really think this parameter should be tunable on a per dependency basis to bypass contacting the repository. Again, my builds are much slower than they need to be because I can't by pass this.
I will try the "-o" option from Wayne's email and see. -aps On 9/5/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote:
I also believe if you lock down all your plugin versions and never use a version that ends with SNAPSHOT it won't contact the remote repo if everything is downloaded. Wayne Fay wrote, On 2006-09-05 12:40 AM: > This is normal behavior for Maven -- it searches the repo once a day > (more or less, depending on your configuration settings) to make sure > there are no updates to any dependencies or plugins that it needs to > download before running your build. > > You can specify -o for "offline" ie "mvn -o package" (unsure how this > is done in Eclipse + M2) which will keep M2 from checking for updates, > to increase the speed of your builds. > > Wayne > > On 9/4/06, Alexander Sack <[EMAIL PROTECTED]> wrote: >> I've just started using Maven2 with Eclipse on a big project and so >> far so >> good. One odd thing though, I've had to import some dependencies in my >> local repository using mvn install:install-file goals. However, when I >> execute mvn, it still searches the default repo even though they are >> locally. Why is that? It makes the build much slower than I would have >> liked. >> >> Btw, I just saw Jason's email I can tell you that initally Maven 1 was >> pretty tough to live with for me. Maven 2 is vast improvement >> (especially >> on the Java EE side which I'm now using exclusively though the ejb >> plugiin >> has to be updated for Java EE 5). >> >> Thanks guys! >> >> -aps >> >> -- >> "What lies behind us and what lies in front of us is of little concern to >> what lies within us." -Ralph Waldo Emerson >> >> -- With kind regards, Geoffrey De Smet --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "What lies behind us and what lies in front of us is of little concern to what lies within us." -Ralph Waldo Emerson
