concept version in category spring

appears as: versions, version, version, versions, The version
Spring Boot in Action

This is an excerpt from Manning's book Spring Boot in Action.

If you’re using the Spring Boot CLI on a Unix machine, it may be helpful to create a symbolic link to the unpacked archive and add the symbolic link to your path instead of the actual directory. This will make it easy to upgrade to a newer version of Spring Boot later (or even to flip between versions) by simply reassigning the symbolic link to the directory of the new version.

You can kick the tires a little on the installation by verifying the version of the CLI that was installed:

$ spring --version

If everything is working, you’ll be shown the version of the Spring Boot CLI that was installed.

Spring Dynamic Modules in Action

This is an excerpt from Manning's book Spring Dynamic Modules in Action.

You can choose the version that best suits your target environment (version of Java or Spring or supported OSGi platform). If you don’t have any constraints, you should choose Spring DM 2.0 (the latest version at the time of this writing) because it provides the most features and benefits from the latest bug fixes. This is the version we’ll be using throughout this book. Nevertheless, the Hello World example should work with any version.

  • The version of the project—The default (1.0-SNAPSHOT) is OK, so press Enter.
  • This technique takes advantage of Maven 2’s features and Bundlor’s substitution capacity, but we can push it further to let Bundlor calculate the version range, based only on the version property (there’s no need anymore to specify a property for the range). For a version property placeholder, Bundlor accepts not only the property name but also an expansion pattern that tells it how to generate the final version range. The following snippet illustrates the syntax of an expansion pattern with the previous spring.version property:

    Import-Template: org.springframework.*;
    version="${spring.version:[=.=.=.=, +1.0.0)}"

    The expansion pattern of the previous snippet specifies that the beginning of the range stays exactly the same as the value of the spring.version property (an = sign for each part of the version and the qualifier) and the end of the range should be one integer larger for the major number (+1) and 0 for the minor and micro numbers. The range generated by Bundlor is then [3.0.0,4.0.0).