How to stop Maven/Artifactory from keeping Snapshots with timestamps

前端 未结 6 826
Happy的楠姐
Happy的楠姐 2020-12-29 05:25

Due to disk space considerations I\'d like to only ever keep one version of any snapshot in my repository. Rather than keeping multiple versions with timestamp suffixes

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-29 06:15

    Using non-unique snapshots is not a good way to go. Instead get a repository manager that can clean up snapshots and configure that to keep disk space down. Having the timestamped snapshots makes it much easier to track down issues since you can easily see which version actually is being used.

提交回复
热议问题