This commit adds support for running Spring Batch jobs with a MongoDB
store. It aligns as much as possible to the JDBC counterpart, with
spring-boot-starter-batch-data-mongodb and spring-boot-starter-batch-data-mongodb-test.
As we do not have a way to initialize a MongoDB store at the moment,
this commit adds a conservative approach of executing commands defined
by the standard Spring Batch schema script.
Closes gh-43236
Micrometer Tracing's bom isn't a pure bill of materials for the
Micrometer Tracing project as it also imports Micrometer's bom.
As Boot itself also imports Micrometer's bom this can lead to
conflicts when the versions do not all align. For example, at the
time of writing, Boot is using 1.5.10-SNAPSHOT of Micrometer Tracing
and trying to use 1.15.10-SNAPSHOT of Micrometer. This results in some
conflicts as the Micrometer Tracing bom imports 1.15.9 of the
Micrometer bom.
Closes gh-49456
Update `JavaConventions` and `EclipseConventions` to align the
Eclipse import with the regular Gradle Build.
Imported projects now use Java 25 for the JRE but have
compatibility set to Java 17 and a project configuration
that uses the `--release` flag.
This update also removes the calls to `setSourceCompatibility`
and `setTargetCompatibility` on the `JavaPluginExtension`
in favor of just using `compile.options.release`.
We now also enforce that Java 25 or above is being used to
build the project.
Since buildship doesn't offer a way to set the `--release`
JDT project setting, a custom task is used. Projects may need
to be reimported or cleaned to actually have the setting apply
correctly.
Closes gh-48929
Refine `buildSrc` so that `spring.mavenRepositories()` are considered
for all build types (not just milestones and snapshots). We now pass
"springFrameworkVersion" to `SpringRepositorySupport.groovy` so that
repo.spring.io doesn't get added for OSS builds using release artifacts.
Closes gh-46823
Add the `since` field to all deprecated properties in all
additional-spring-configuration-metadata.json files in the project.
Add to the CheckAdditionalSpringConfigurationMetadata build task to
ensure that all deprecated properties have a non-empty `since` field.
See gh-47980
Signed-off-by: Scott Frederick <scottyfred@gmail.com>
Add an architecture rule to ensure that all usages of
`@DeprecatedConfigurationProperty` in the Spring Boot codebase include
the `since` attribute.
Add the `since` attribute to the few places where it was not already
included.
See gh-47980
Signed-off-by: Scott Frederick <scottyfred@gmail.com>