What exactly is a Maven Snapshot and why do we need it?

前端 未结 13 2296
名媛妹妹
名媛妹妹 2020-11-22 07:07

I am a bit confused about the meaning of a Maven Snapshot and why we build one?

13条回答
  •  一向
    一向 (楼主)
    2020-11-22 07:17

    A "release" is the final build for a version which does not change.

    A "snapshot" is a build which can be replaced by another build which has the same name. It implies that the build could change at any time and is still under active development.

    You have different artifacts for different builds based on the same code. E.g. you might have one with debugging and one without. One for Java 5.0 and one for Java 6. Generally its simpler to have one build which does everything you need. ;)

提交回复
热议问题