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
Post a Comment