On Jul 30, 2010, at 2:21 PM, Shan Syed wrote: > ok, thanks > basically for liability reasons for a certain project, we have to provide > specific times of when a project was built and when/where all its > dependencies were retrieved at/from > we have to ensure a sanitary build for all these JARs and a complete log of > going from 0 to 100 for the build; so we are faced with either clearing out > the .m2 each time > I was wondering if there was a way to force this through maven >
Put the artifacts in a repository manager where you download the released artifact once and then manage it from your infrastructure. Once the artifact is within your infrastructure the released artifact is not going to change unless someone from within your organization changes it. They shouldn't, and can't if your permissions are setup correctly, and so the requirement of using the same artifacts and their origin becomes moot. If your organization cares that much about liability concerns then you absolutely should not be connecting to the outside world every time you build. > On Fri, Jul 30, 2010 at 12:57 PM, Manos Batsis > <manos_li...@geekologue.com>wrote: > >> On 07/30/2010 07:16 PM, Wayne Fay wrote: >> >>> is there a way to force a project to refresh certain dependencies every >>>> build? i.e. replicate SNAPSHOT behaviour with "released" artifacts >>>> >>> >>> Absolutely not. Released artifacts MUST NOT CHANGE. >>> >> >> +1, never ever ;-) >> >> Released artifact versioning is supposed to guarantee consistency. >> >> Manos >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl --------------------------------------------------------- believe nothing, no matter where you read it, or who has said it, not even if i have said it, unless it agrees with your own reason and your own common sense. -- Buddha