• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Maven 3 - Time Stamped Artifacts in Repository

Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have read that versions setting is no longer executed and is ignored in Maven 3 or later, as explained here: Non-unique Versions. And by design, Maven 3 or later will always produce time stamped SNAPSHOT versions.

When I build artifacts though, I have some artifacts that only produce the base SNAPSHOT version, even if I build it multiple times, there .

After building some artifacts, in my local repository there will be that base artifact-SNAPSHOT file that I built, and a few other time stamped versions of the same artifact. There is the base artifact: artifactID-, and then there are others in the same directory with versions appended to them: e.g. artifact-

I don't want the time stamp files built and put into my repository, as it only eats up disk space. I would like to figure out how to only produce the base version and nothing else.

Other than writing a script to deleted these accumulating time stamped artifacts, Has anyone figure out a way to disable them completely so they are not created in Maven 3 or later?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!