David, great suggestion! I recommend either Archiva <http://archiva.apache.org/> or Nexus<http://nexus.sonatype.org/>for "corporate" or 'intranet' repositories. If you're using maven for any corporation and you don't have a "corporate" repository, you're certainly missing out! We're using Archiva at my workplace (with a slow/shared internet connection), and it has drastically improved build times. We've also manually edited our project poms so they only use the corporate repository (not central). This has the benefit of ensuring a company copy of all artifacts used from central (or other remote repositories) and drammatically decreasing internet traffic during builds. I also recommend backing up your Archiva/Nexus instance as if it were your VCS/SCM system. Just remember to set up automatic purging of SNAPSHOT artifacts when new snapshots become available.
And if you're doing things locally and you have a spare box, throw a VM up that can run a repository. It's definitely worth it for any long-running project. -Josh On Tue, Mar 3, 2009 at 11:56 PM, David Pollak <[email protected] > wrote: > Lee, > It's also possible for your to host your own Maven repository and just > publish the versions of Lift you want up to your repository. If your > repository comes first in your Maven config, it will be consulted before > other Maven repositories. > > Thanks, > > David > > On Tue, Mar 3, 2009 at 5:34 PM, Lee Mighdoll <[email protected]>wrote: > >> I've a local copy of the lift sources that I'd like to build and debug my >> app against. So I currently reference the 1.1-SNAPSHOT artifact in my >> application's pom.xml. >> >> But maven seems to pull stuff down from the net more often than I'd like. >> I'd like my snapshot not to change until I git pull the latest lift version >> manually. What's the best way to do this? >> >> I was thinking perhaps one way would be to locally modify the version in >> all the lift pom.xml files to 1.1-SNAPSHOT.local. Or maybe there's some >> configuration option? Or perhaps I should setup a local maven repository? >> >> >> >> >> > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Git some: http://github.com/dpp > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
