24

What does the .RELEASE ending to a file mean?

e.g.

<dependencies>
  <dependency>
     <groupId>org.springframework</groupId>
     <artifactId>spring-context</artifactId>
     <version>3.0.0.RELEASE</version>
     <scope>runtime</scope>
  </dependency>
</dependencies>
M. Justin
  • 14,487
  • 7
  • 91
  • 130
Tomeister
  • 675
  • 2
  • 9
  • 26
  • 1
    It means that is an official stable Version. Not a developement version – Jens Aug 18 '16 at 12:26
  • see this other question for more information http://stackoverflow.com/questions/2107484/what-is-the-difference-between-ga-rc-and-m2-release – amicoderozer Aug 18 '16 at 12:31
  • Maybe do you know why version worked with e.g. `3.0.0.RELEASE` and not `${org.springframework.social.google-version}` while running maven project – Tomeister Aug 18 '16 at 12:32
  • We assume it's a release by default if there is no suffix. I think this is unnecesarry as few people does it. The author may have certain considerations but it shoud not be a must. – Leon Jan 15 '19 at 01:34

1 Answers1

39

The ".RELEASE" suffix was used in older Spring releases, but was dropped in 2020. It indicates that the version is the release version of the software, rather than a pre-release version.

Pre-2020 naming scheme

Per this (now-defunct) documentation, the pre-2020 naming scheme was {major}.{minor}.{micro}.{release_type}, where release_type was one of the following:

Current naming scheme

The current naming scheme used for new Spring releases is MAJOR.MINOR.PATCH[-MODIFIER], with no modifier used for release versions.

  • MODIFIER is an optional modifier such that <COUNT> is an incremented 1-based number:
    • For milestones, we will use M<COUNT> .
    • For release candidates, we will use RC<COUNT> .
    • For snapshots, we will use -SNAPSHOT. Note that .BUILD that was present in our previous scheme has been removed.
    • For releases, there will be no modifier.

Naming scheme comparison

Release Type Current Previous
Snapshot 5.2.0-SNAPSHOT 5.2.0.BUILD-SNAPSHOT
Milestone 5.2.0-M1 5.2.0.M1
Release Candidate 5.2.0-RC1 5.2.0.RC1
Release 5.2.0 5.2.0.RELEASE
M. Justin
  • 14,487
  • 7
  • 91
  • 130