Maven Snapshot Repository vs Release Repository

后端 未结 5 1633
暗喜
暗喜 2020-12-04 14:10

What is the difference between a Snapshot Repository and Release Repository?

This is with reference to setting up Repositories (lik

5条回答
  •  一向
    一向 (楼主)
    2020-12-04 14:35

    Usually in maven we have two types of builds:

    1) Snapshot builds: SNAPSHOT is the special version that indicates current deployment copy and not a regular, specific version. Maven checks the version for every build in the remote repository. The snapshot builds are nothing but development builds.

    2) Release builds: Release means removing the SNAPSHOT at the version ID for the build. These are the regular build versions.

    Snapshot artifacts and release artifacts are push to snapshot, release repositories respectively.

提交回复
热议问题