bitbucket - Should new maven snapshot upload overwrite existing one -


i have opensource project , periodically upload downloads of new versions (the build maven). have download of jaudiotagger-2.2.4-snapshot uploaded

https://bitbucket.org/ijabz/jaudiotagger/downloads

and work in progress, ive made number of modifications , want upload new versions of 2.2.4 should overwrite existing 2.2.4 uploads (this mean losing download count) or should timestamp files name dont clash, , if do manually modifying filename or there procedure via editing pom.

you can continue uploading 2.2.4-snapshot

when snapshot artifact uploaded artifact repository, timestamped, , artifacts being uploaded same version not lost. e.g. if have uploaded 10 snapshot artifacts 2.2.4, there 10 artifacts in repository. when 2.2.4 being requested, latest artifact being uploaded returned requestor.

maven versioning follows major.minor.bug, therefore advisable change version in response change.

for example, if latest artifact have released 2.2.3-ga, , there bug discovered in 2.2.3-ga, start work on bug fix version 2.2.4-snapshot, , continue uploading same version until ready ship (release it), , becomes 2.2.4-ga.

by same theory, though not making artifacts available through artifact repository such sonatype or artifactory, via download page (bitbucket), makes little reason version snapshot artifacts unless meaningful so.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -