For your CI you need a repository for snapshots so that you can pull them in after the local maven repository cache is cleared. But for developers you dont want them pulling snapshots from a repository.
The reason is that Developer B pushes a snapshot of something you require, and guess what, they broke the interface/implementation of that jar, and now you can no longer work until you fix that snapshot. You want your developers in control of when and how often they update their snapshots, which generally means that they manually rebase from source control and build the snapshot jars locally. On 27 June 2014 10:15, Ben Podgursky <[email protected]> wrote: > IIRC snapshot timestamps are all explicitly set to UTC regardless of > location, so that a snapshot published earlier on a machine in a later > timezone does not accidentally override a snapshot published later from an > earlier timezone. I don't think you want to change this behavior (and > probably can't). > > > On Thu, Jun 26, 2014 at 4:04 AM, Aleksi Grönlund <[email protected]> > wrote: > > > I am using Maven version 3.0.4 and Nexus repository where to deploy Maven > > created snapshot artifacts. How I can change snapshots timestamp timezone > > from UTC to Europe/Helsinki ? > > > > I have tried to set timezone with following JAVA_OPTS and MAVEN_OPTS but > > those does not help with this issue. Any ideas? > > > > JAVA_OPTS=-Duser.timezone=Europe/Helsinki > > MAVEN_OPTS=-Duser.timezone=Europe/Helsinki > > > > Br, > > Kvartal00 > > > -- Buy your books from me and Book Depository at http://www.users.on.net/~baerrach/ Commissions go to http://www.plan.org.au/
