Commit Graph

12005 Commits (08e86741fd11dea6917c2543a5bc4e335b887120)

Author SHA1 Message Date
Scott Frederick a9e711e503 Enforce builder and run images in the same registry
Previously, when an authenticated Docker builder registry was
configured in the Maven or Gradle plugin and the builder and run
images specified different registries, the authentication credentials
would be sent to both registries. This could cause confusion if both
registries don't recognize the same credentials. This commit enforces
that both images are in the same registry when authentication
is configured.

Fixes gh-24552
4 years ago
Phillip Webb a6a7c06e55 Merge branch '2.3.x' into 2.4.x 4 years ago
Phillip Webb 9da0bd8523 Update copyright year of changed files 4 years ago
Phillip Webb b6cb9c016f Detect bad properties in profile specific files
Throw an `InvalidConfigDataPropertyException` if bad properties are
detected in profile specific files. The following properties will now
trigger an exception if used in a profile specific file:

	`spring.profiles.include`
	`spring.profiles.active`
	`spring.profiles.default`
	`spring.config.activate.on-profile`
	`spring.profiles`

Prior to this commit, profile based properties in a profile specific
file would be silently ignored, making them hard to find.

Fixes gh-24733
4 years ago
Madhura Bhave 5ed2b11e34 Fix typo 4 years ago
Andy Wilkinson 5cae1a2842 Merge branch '2.3.x' into 2.4.x
Closes gh-24790
4 years ago
Andy Wilkinson 7b1d07fa98 Use SpringSessionDataSource-annotated DataSource when one is available
Fixes gh-24624
4 years ago
Stephane Nicoll c5d4ca933b Upgrade to Reactor Dysprosium-SR16
Closes gh-24765
4 years ago
Andy Wilkinson c3dfb9bd29 Merge branch '2.3.x' into 2.4.x
Closes gh-24768
4 years ago
Andy Wilkinson 997505005b Handle files larger than Integer.MAX_VALUE bytes in bootJar and bootWar
Fixes gh-24618
4 years ago
Stephane Nicoll f02951fb17 Upgrade to Netty 4.1.56.Final
Closes gh-24764
4 years ago
Stephane Nicoll 2e69198f97 Upgrade to Neo4j OGM 3.2.19
Closes gh-24763
4 years ago
Stephane Nicoll 5fb1ca6043 Upgrade to Johnzon 1.2.9
Closes gh-24762
4 years ago
Stephane Nicoll 37f653121f Upgrade to Jetty Reactive HTTPClient 1.1.5
Closes gh-24761
4 years ago
Stephane Nicoll 3ae9639cbb Upgrade to Jackson Bom 2.11.4
Closes gh-24760
4 years ago
Stephane Nicoll 371e59cd80 Upgrade to Hibernate Validator 6.1.7.Final
Closes gh-24759
4 years ago
Stephane Nicoll e48e48988a Upgrade to Hibernate 5.4.27.Final
Closes gh-24758
4 years ago
Stephane Nicoll 66daeab221 Upgrade to Hazelcast 3.12.11
Closes gh-24757
4 years ago
Stephane Nicoll 682c952306 Upgrade to Dropwizard Metrics 4.1.17
Closes gh-24756
4 years ago
Stephane Nicoll 7ab9fad062 Upgrade to Byte Buddy 1.10.19
Closes gh-24755
4 years ago
Stephane Nicoll b3bc79b10f Upgrade to AppEngine SDK 1.9.84
Closes gh-24754
4 years ago
Stephane Nicoll 8058370f3e Upgrade to Spring Framework 5.3.3
Closes gh-24699
4 years ago
Phillip Webb bd21c43d71 Simplify resource registration
Simplify resource registration by using the new Spring Framework API
that allows `Resource` instances to be registered directly.

See gh-24745
4 years ago
Phillip Webb f1fcfa6fc3 Merge branch '2.3.x' into 2.4.x
Closes gh-24748
4 years ago
Phillip Webb 72dd3b5628 Merge branch '2.2.x' into 2.3.x
Closes gh-24747
4 years ago
Phillip Webb f9e3e0d532 Register default resource path using a Resource
Update `WebMvcAutoConfiguration` so that the default "/" resource path
is registered directly as a `ServletContextResource`.

Closes gh-24745
4 years ago
Phillip Webb 53a6fa2fed Respect spring.dao.exceptiontranslation setting
Update `DataSourceTransactionManagerAutoConfiguration` to respect
the `spring.dao.exceptiontranslation` setting. If `exceptiontranslation`
is `false` then we create a classic `DataSourceTransactionManager`
rather than a `JdbcTransactionManager`.

Fixes gh-24321
4 years ago
Phillip Webb cff3e4c831 Fix tests following upstream framework changes 4 years ago
Phillip Webb 039df1d96d Test spring.profiles.include in profile file
Add a test to ensure that `spring.profiles.include` is not silently
ignored when used in a profile-specific file.

See gh-24733
4 years ago
Phillip Webb 26a68ca2cf Polish 4 years ago
Stephane Nicoll 31de36565f Upgrade to Reactor 2020.0.3
Closes gh-24698
4 years ago
Andy Wilkinson 5ae9fbedcd Merge branch '2.3.x' into 2.4.x
Closes gh-24738
4 years ago
Andy Wilkinson 7625a979db Configure bootRun to use project's Java toolchain by default
Previously, unlike the application plugin's run task, our bootRun task
ignored the project's Java toolchain. This meant that the application
was run on a JVM with the same Java version as the one being used by
Gradle itself. This could result in a failure if the application
required a more modern JVM.

This commit updates the plugin to configure the bootRun task's
JavaLauncher convention to be one derived from the project's Java
toolchain. Toolchain support was introduced in Gradle 6.7 so this is
only done when using Gradle 6.7 and later.

Fixes gh-24517
4 years ago
Andy Wilkinson 3c3aa9e486 Merge branch '2.3.x' into 2.4.x
Closes gh-24735
4 years ago
Andy Wilkinson 064de4e073 Check configured JavaLauncher when determining version of the JVM
Previously, bootRun assumed that the Java version of the JVM that would
run the application would be the same as the Java version of the JVM
that is running the build. This assumption does not hold true when
Gradle's toolchain support is used to configure tasks that fork a new
JVM to use a version other than that being used by Gradle itself.

This commit updates the BootRun task to query the JavaLauncher property
when determining the version of Java on which the application will be
run. Toolchain support and the JavaLauncher property are new in Gradle
6.7. To support earlier versions of Gradle, NoSuchMethodError is caught
we continue as if no JavaLauncher has been configured and use the local
JVM's Java version.

Fixes gh-24512
4 years ago
Stephane Nicoll 097f878981 Upgrade to Kafka 2.6.1
Closes gh-24247
4 years ago
Stephane Nicoll 50019a7f44 Upgrade to Thymeleaf Layout Dialect 2.5.2
Closes gh-24731
4 years ago
Stephane Nicoll aad3de2ba7 Upgrade to Spring Retry 1.3.1
Closes gh-24730
4 years ago
Stephane Nicoll d7e6f963ab Upgrade to Netty 4.1.56.Final
Closes gh-24729
4 years ago
Stephane Nicoll 5f63b22286 Upgrade to Johnzon 1.2.9
Closes gh-24728
4 years ago
Stephane Nicoll 8867544d0d Upgrade to Jetty Reactive HTTPClient 1.1.5
Closes gh-24727
4 years ago
Stephane Nicoll fc6fa74691 Upgrade to Jackson Bom 2.11.4
Closes gh-24726
4 years ago
Stephane Nicoll d691d63b1e Upgrade to Hibernate Validator 6.1.7.Final
Closes gh-24725
4 years ago
Stephane Nicoll bc0a1ff852 Upgrade to Hibernate 5.4.27.Final
Closes gh-24724
4 years ago
Stephane Nicoll 487f694872 Upgrade to Dropwizard Metrics 4.1.17
Closes gh-24723
4 years ago
Stephane Nicoll a60b5e0f70 Upgrade to Byte Buddy 1.10.19
Closes gh-24722
4 years ago
Stephane Nicoll 180493422d Upgrade to AppEngine SDK 1.9.84
Closes gh-24721
4 years ago
Andy Wilkinson 9e389c8376 Merge branch '2.3.x' into 2.4.x
Closes gh-24710
4 years ago
Andy Wilkinson 5ad4d627fd Fix classpath index so entries match those expected by the launcher
This reverts commit ad164269e9 and adds
some additional tests.

Fixes gh-24192
4 years ago
Stephane Nicoll b8a1869569 Merge branch '2.3.x' into 2.4.x
Closes gh-24707
4 years ago
Stephane Nicoll 826d79be3e Clarify behaviour of WebServerFactory in reference guide
Closes gh-24705
4 years ago
Stephane Nicoll 40f1f9a25c Start building against Spring Kafka 2.6.5 snapshots
See gh-24703
4 years ago
Stephane Nicoll a27b87a118 Start building against Spring AMQP 2.3.3 snapshots
See gh-24702
4 years ago
Stephane Nicoll 0bfb072467 Start building against Spring Integration 5.4.3 snapshots
See gh-24701
4 years ago
Stephane Nicoll 5bfc0285c6 Start building against Spring Data 2020.0.3 snapshots
See gh-24700
4 years ago
Stephane Nicoll 11d20eba82 Start building against Spring Framework 5.3.3 snapshots
See gh-24699
4 years ago
Stephane Nicoll 9f70b71036 Start building against Reactor 2020.0.3 snapshots
See gh-24698
4 years ago
Scott Frederick 210438ee5b Merge branch '2.3.x' into 2.4.x
Closes gh-24689
4 years ago
Scott Frederick a302238e21 Remove layout parameters from build-image Maven goal
This commit removes the `layout` and `layoutFactory` parameters
from the `build-image` goal in the Maven plugin while retaining
them for the `repackage` goal. The `build-image` goal currently
only supports jar archives, so allowing other layout types to be
configured for the goal could cause confusion.

Fixes gh-24105
4 years ago
Scott Frederick ef7a82756e Allow overriding ThemeResolver and FlashMapManager beans
Previously, an error would occur when a user contributed a
`ThemeResolver` or `FlashMapManager` bean because those beans would
would not properly override the default beans provided by Spring
Framework. This commit adds conditional auto-configuration of these
bean types, preferring user-provided beans and falling back to
Framework-provided defaults.

Fixes gh-24207
4 years ago
asheCarry 17c0c7d9d6 Fix javadoc typo in ConfigDataLocation
See gh-24660
4 years ago
Phillip Webb 48661e79f5 Merge branch '2.3.x' into 2.4.x
Closes gh-24683
4 years ago
Phillip Webb 7cbd57b635 Log FailureAnalyzer errors at trace level
Update `FailureAnalyzers` to log errors at `trace` rather than `debug`.
This should reduce noise when an analyzer unexpectedly fails and the
user is running with `--debug`.

Fixes gh-24630
4 years ago
Phillip Webb 76aa33b65a Merge branch '2.3.x' into 2.4.x 4 years ago
Phillip Webb a24ec9d372 Merge branch '2.2.x' into 2.3.x 4 years ago
Phillip Webb 46629ef5e4 Migrate away from pivotal-legacy/homebrew-tap
Update formula to use spring-boot rather than springboot. This will
allow both taps to be used at the same time.

See gh-24659
4 years ago
Phillip Webb 04616a01cf Merge branch '2.3.x' into 2.4.x
Closes gh-24681
4 years ago
Phillip Webb ef09982b39 Merge branch '2.2.x' into 2.3.x
Closes gh-24680
4 years ago
Phillip Webb 25033ee5e7 Migrate away from pivotal-legacy/homebrew-tap
Update reference documentation to the new spring-io/homebrew-tap repo.

Closes gh-24659
4 years ago
Madhura Bhave 920136d908 Merge branch '2.3.x' into 2.4.x
Closes gh-24678
4 years ago
Madhura Bhave 73a2a4b383 Consider context-path for WebTestClient baseUrl
Fixes gh-24168
4 years ago
Phillip Webb 5b126b01c0 Replace binder as contributors are processed
Update `ConfigDataEnvironment` so that the bootstrap `Binder` is
replaced as contributors are processed. The final `Binder` is now
also added without the `FAIL_ON_BIND_TO_INACTIVE_SOURCE` option so
that properties can be bound at the last stage even if values exist
in an inactive profile-specific document.

Closes gh-24669
4 years ago
Phillip Webb ac4243d615 Merge branch '2.3.x' into 2.4.x
Closes gh-24672
4 years ago
Phillip Webb 52e47c4275 Fix test for JSR-350 @Nonnull
Closes gh-24647
4 years ago
Phillip Webb 2b497b6aff Merge branch '2.3.x' into 2.4.x
Closes gh-24670
4 years ago
Phillip Webb 848ed65f5b Add test for JSR-350 @Nonnull
Closes gh-24647
4 years ago
Stephane Nicoll c014bb9880 Merge branch '2.3.x' into 2.4.x
See gh-24647
4 years ago
Stephane Nicoll 67d1f355d7 Fix Nullable reference
See gh-24647
4 years ago
Stephane Nicoll 4e6f15a466 Merge branch '2.3.x' into 2.4.x
See gh-24647
4 years ago
Stephane Nicoll 2bd78355dc Reference javax.annotation.Nonnull support in reference guide
See gh-24647
4 years ago
Phillip Webb c9f9246c59 Merge branch '2.3.x' into 2.4.x
Closes gh-24657
4 years ago
Phillip Webb 9b9c3edfcd Polish "Return -1 port for non-listening WebServers"
See gh-24606
4 years ago
Stefan Partusch 5c61df3131 Return -1 port for non-listening WebServers
Update `WebServer` implementations to return -1 from `getPort()` if
the server  isn't listening on a port. This aligns the implementations
with the interface Javadoc.

See gh-24606
4 years ago
Phillip Webb ab8080353e Merge branch '2.3.x' into 2.4.x
Closes gh-24654
4 years ago
Phillip Webb 2ad9a47d08 Support JSR-305 annotations on endpoint methods
Update `OperationMethodParameter` to additionally support JSR-305 based
`@Nullable` annotations.

Closes gh-24647
4 years ago
Scott Frederick 505340909a Support symlinks in configtree property paths
Prior to this commit, the configtree property source would not traverse
into a sub-directory in a property path if the sub-directory was a
symbolic link. This commit allows symlinked sub-directories to be
traversed like any other sub-directory in the property path.

Fixes gh-24530
4 years ago
Madhura Bhave 615a8ae56e Ignore documents that do not apply when checking mandatory locations
Closes gh-24584
4 years ago
Andy Wilkinson 89f29c933f Merge branch '2.3.x' into 2.4.x
Closes gh-24649
4 years ago
dreis2211 fe3217d2c4 Exclude starters from Javadoc aggregation
See gh-24648
4 years ago
Stephane Nicoll e1ec70ac36 Merge branch '2.3.x' into 2.4.x
Closes gh-24643
4 years ago
Stephane Nicoll f33c7bc27c Polish "Remove unnecessary semicolon"
See gh-24628
4 years ago
Andrey Kolchanov 097104584c Remove unnecessary semicolon
See gh-24628
4 years ago
Madhura Bhave 86e94b95c3 Merge branch '2.3.x' into 2.4.x 4 years ago
Madhura Bhave 9928d74a9e Revert fix to enable cors for actuator endpoints
The fix causes a Jersey application to fail in the absence
of a `CorsFilter` or `CorsConfigurationSource` bean.

See gh-11987
4 years ago
Stephane Nicoll c19f7e696e Polish
See gh-24597
4 years ago
Stephane Nicoll 1bc1258341 Polish "Make a field final"
See gh-24629
4 years ago
Andrey Kolchanov 0e3990931e Make a field final
See gh-24629
4 years ago
Stephane Nicoll 052565ef2b Merge branch '2.3.x' into 2.4.x
Closes gh-24626
4 years ago
dreis2211 261b7a5b18 Update copyrights to 2021
See gh-24625
4 years ago
izeye 5e3f618f9d Polish
See gh-24604
4 years ago
Stephane Nicoll e3d7ab0e3b Merge branch '2.3.x' into 2.4.x 4 years ago
Stephane Nicoll d0a1c49873 Polish
See gh-24604
4 years ago
Stephane Nicoll 1261e08371 Merge branch '2.3.x' into 2.4.x
Closes gh-24602
4 years ago
Stephane Nicoll d86eba3b6b Upgrade to Thymeleaf 3.0.12
Closes gh-24599
4 years ago
Stephane Nicoll ff59bb3abf Configure resources filtering encoding
Closes gh-24576
4 years ago
Stephane Nicoll 4cdfd6f13d Polish "Handle missing manifest files in JarTypeFilter"
See gh-24597
4 years ago
Rob Edwards 86eecb01b3 Handle missing manifest files in JarTypeFilter
This commit makes sure that a jar file without a manifest is handled
properly (i.e. included in the repackaged archive).

See gh-24597
4 years ago
Madhura Bhave b29ac37db6 Add docs about using InMemoryOAuth2AuthorizedClientService
Closes gh-24596
4 years ago
Madhura Bhave a0afec120d Add docs about using InMemoryOAuth2AuthorizedClientService
Closes gh-24313
4 years ago
Madhura Bhave a714ba44ea Update documentation containing examples of WebSecurityConfigurerAdapter
Closes gh-24551
4 years ago
Stephane Nicoll 0691ba600f Polish "Detect Persistent and RelationshipProperties with Neo4j"
See gh-24239
4 years ago
Gerrit Meier ab4b1c4e61 Detect Persistent and RelationshipProperties with Neo4j
See gh-24239
4 years ago
Stephane Nicoll 1f71927a9f Merge branch '2.3.x' into 2.4.x
Closes gh-24587
4 years ago
Stephane Nicoll 9e5a6c5228 Harmonize references to ActiveMQ Artemis
Closes gh-24586
4 years ago
dreis2211 f9fbadb8d9 Add JavaVersion entry for JDK 16
See gh-24453
4 years ago
Stephane Nicoll 09fa16c58c Merge branch '2.3.x' into 2.4.x 4 years ago
Stephane Nicoll 306b964ce3 Fix multi-release JAR test on JDK 16
See gh-24453
4 years ago
dreis2211 fb207f73e7 Remove deprecated SpringBootContextLoader#getArgs()
See gh-24550
4 years ago
Stephane Nicoll 2c0bfb7674 Merge branch '2.3.x' into 2.4.x
Closes gh-24578
4 years ago
izeye 97dd4c0871 Polish
See gh-24558
4 years ago
Madhura Bhave af67e6fa54 Merge branch '2.3.x' into 2.4.x 4 years ago
Madhura Bhave b82f5a408a Add a note about disabling git info
See gh-24205
4 years ago
Madhura Bhave f9d1a4526c Merge branch '2.3.x' into 2.4.x
Closes gh-24572
4 years ago
Madhura Bhave a5c8b84511 Update version of git-properties plugin in the docs
Closes gh-24567
4 years ago
Madhura Bhave c231f3da10 Merge branch '2.3.x' into 2.4.x
Closes gh-24570
4 years ago
Madhura Bhave 302ba77812 Improve documentation regarding git commit info
Closes gh-24205
4 years ago
Phillip Webb 5317d8a9bb Change scope of bootstrap registered Binder
Update `ConfigDataEnvironment` so that the `Binder` is registered as
a prototype bootstrap instance. This allows it to be accessed early
but still replaced when a more complete version is available.

Fixes gh-24559
4 years ago
Phillip Webb e1b158ec66 Add BootstrapRegistry Scope support
Update `BootstrapRegistry` so that it can be used to register instances
in either a `singleton` or `prototype` scope. The prototype scope has
been added so that instances can be registered and replaced later
if needed.

See gh-24559
4 years ago
Phillip Webb f568aa489c Fixup title anchors 4 years ago
Madhura Bhave 01537bc54f Merge branch '2.3.x' into 2.4.x
Closes gh-24565
4 years ago
Madhura Bhave c9a09cf6a9 Clarify when SpEL expressions in application properties are evaluated
Closes gh-24531
4 years ago
Madhura Bhave 55d9951d90 Merge branch '2.3.x' into 2.4.x
Closes gh-24563
4 years ago
Madhura Bhave 1db271c2c5 Reorder documentation about building images
Closes gh-24560
4 years ago
Andy Wilkinson e083be7de1 Fix ConfigDataEnvironmentPostProcessorIntegrationTests in Windows 4 years ago
Phillip Webb 0730949325 Merge branch '2.3.x' into 2.4.x
Closes gh-24554
4 years ago
Phillip Webb c4e41305d5 Prevent Tomcat URL "reflective access" warnings
Update the jar `Handler` class to support a non-reflective fallback
mechanism when possible. The updated code attempts to capture a regular
jar URL before our handler is installed. It can then use that URL as
context when creating the a fallback URL. The JDK jar `Handler` will
be copied from the context URL to the fallback URL.

Without this commit, resolving new Tomcat URLs of the form
`jar:war:file:...` would result in an ugly "Illegal reflective access"
warning.

Fixes gh-18631
4 years ago
Phillip Webb 5ca01ce5a8 Make StandardConfigDataResource.getResource public
Update `StandardConfigDataResource`  to make the `getResource()` method
public so that it can be used by Spring Cloud.

Closes gh-24504
4 years ago
Phillip Webb d195815488 Only throw PortInUseException if port is set
Refine the `PortInUseException` logic in `NettyWebServer` to only throw
an exception if the port is set. The prevents a misleading exception
from being thrown when a domain socket is being used.

Closes gh-24529
4 years ago
Madhura Bhave 4822516fb7 Merge branch '2.3.x' into 2.4.x 4 years ago
Phillip Webb 7fd4c53352 Deal with unsupported DisposableServer operations
Update `NettyWebServer` to deal with any `UnsupportedOperationException`
thrown from `DisposableServer`. Specifically, this commit allows the
`NettyWebServer` to work with domain socket backed servers which cannot
provide a port.

Fixes gh-24529
4 years ago
Madhura Bhave 361198ebba Fix tests
See gh-11987
4 years ago
Madhura Bhave a1ea5b49ec Merge branch '2.3.x' into 2.4.x
Closes gh-24542
4 years ago
Madhura Bhave 09e07428cc Configure CORS in default security configuration for MVC
Fixes gh-11987
4 years ago
Scott Frederick 4e603d9239 Merge branch '2.3.x' into 2.4.x
Closes gh-24538
4 years ago
Scott Frederick e4d124dc45 Improve error message with Maven build-image and war packaging
Fixes gh-24522
4 years ago
Phillip Webb d6890e39a7 Merge branch '2.3.x' into 2.4.x
Closes gh-24536
4 years ago
Scott Frederick dfcabe1665 Merge branch '2.3.x' into 2.4.x
Fixes gh-24521 in 2.4.2
4 years ago
dreis2211 0ec603cdad Avoid duplicates in MergedContextConfiguration
Remove duplicate config attribute classes by using a `Set` rather
than a `List` in the `SpringBootTestContextBootstrapper`.

See gh-24532
4 years ago
Scott Frederick 0e5df2296e Fail with Gradle bootBuildImage and war packaging
Prior to this commit, running the bootBuildImage Gradle task on a
project configured for war packaging would result in a jar file being
built and used in the image instead of the war file. With this commit
an error will be thrown from the plugin in this case.

Fixes gh-24521
4 years ago
Andy Wilkinson 5fdb2ae2fd Protect PluginApplicationActions against absent plugin classes
Closes gh-24526
4 years ago
Phillip Webb 38e4c2a179 Add ConfigDataEnvironmentUpdateListener support
Add an overloaded `ConfigDataEnvironmentPostProcessor.applyTo` method
that accepts a listener that can used to track the updates that were
applied to the `Environment`.

The listener can be used to track the which `ConfigDataLocation` and
the `ConfigDataResource` were used to add a `PropertySource`. The lister
can also be used to tell which profiles were applied.

This enhancement is being added in a patch release because it's will
be useful for Spring Cloud 2020.0.0.

Closes gh-24504
4 years ago
Phillip Webb 5e1a69e90e Polish 4 years ago
Phillip Webb 4fba7d0c60 Merge branch '2.3.x' into 2.4.x 4 years ago
Phillip Webb 29300530c6 Polish 4 years ago
Phillip Webb a2d0b64e9c Test that empty property files can be used
Add an additional test to ensure that empty property files do not
throw ConfigDataLocationNotFoundException exceptions.

See gh-24499
See gh-24515
4 years ago
Andy Wilkinson a67edfbeb7 Merge branch '2.3.x' into 2.4.x
Closes gh-24518
4 years ago
Andy Wilkinson 76198f9a8d Include properties from test-autoconfigure in config props appendix
Closes gh-24486
4 years ago
Stephane Nicoll 251e8b2640 Update instruction to add the configuration processor with Maven
Closes gh-24498
4 years ago
izeye 8e69a821d5 Use BindResult.orElseGet() where beneficial
See gh-24477
4 years ago
Phillip Webb d1f2aab1e8 Fix non-optional classpath location checking
Allow directory locations that exist but do not contribute properties
to be specified without an `optional:` prefix. This commit fixes logic
introduced in commit 3dc03ac275 which didn't account for the fact that
a directory might contain only profile specific property files and that
profiles might not always be active.

Closes gh-24499
4 years ago
Stephane Nicoll 96510156ae Merge branch '2.3.x' into 2.4.x
Closes gh-24495
4 years ago
Stephane Nicoll 26e7e61919 Merge branch '2.2.x' into 2.3.x
Closes gh-24494
4 years ago
Stephane Nicoll 60f526add0 Remove links to Jetty API and documentation
This commit removes links to Jetty API and documentation as those links
are breaking every time the Jetty team releases a new version

See https://github.com/eclipse/jetty.project/issues/4546

Closes gh-24493
4 years ago
Stephane Nicoll 08b692581a Prepare 2.4.x branch 4 years ago
Phillip Webb 72d36e0c07 Update copyright year of changed files 4 years ago
Phillip Webb 14816a6b6c Support @Name meta-annotations with Kotlin binding
Update `ValueObjectBinder` Kotlin support to meta-annotations of
`@Named`.

See gh-24379
4 years ago
Andy Wilkinson 32e1289bbc Use unique names for wildcard property sources
Update `StandardConfigDataLoader` to use unique names for property
sources imported from a wildcard location.

Prior to this commit, all the property sources created from the same
wildcard location would have the same name. Each time a property source
that is equal to an existing property source is added, it replaces the
existing property source. Property source equality is name-based so this
resulted in the last property sources from the wildcard location
winning.

This commit updates `StandardConfigDataLoader` to use the resolved
Resource rather than the wildcard location in which it was discovered
in the name of the property source that it creates, ensuring that each
is property source from a wildcard location is uniquely named.

Fixes gh-24428
4 years ago
Stephane Nicoll 0533ac58fb Test the Gradle plugin against 6.7.1
Closes gh-24449
4 years ago
izeye 0eae6b4f72 Polish
See gh-24418
4 years ago
Stephane Nicoll 105cf591bf Merge branch '2.3.x'
See gh-24418
4 years ago
Stephane Nicoll ab99de4349 Polish
See gh-24418
4 years ago
Stephane Nicoll 6b858f3b84 Upgrade to Tomcat 9.0.41
Closes gh-24447
4 years ago
Stephane Nicoll dec085fa3c Upgrade to SQLite JDBC 3.32.3.3
Closes gh-24446
4 years ago
Stephane Nicoll 9091161cf9 Upgrade to Netty tcNative 2.0.35.Final
Closes gh-24445
4 years ago
Stephane Nicoll 9d5ea3da29 Upgrade to Netty 4.1.55.Final
Closes gh-24444
4 years ago
Stephane Nicoll 37f79f83ad Upgrade to Caffeine 2.8.8
Closes gh-24443
4 years ago
Stephane Nicoll ba87a0f23a Upgrade to Spring Kafka 2.6.4
Closes gh-24294
4 years ago
Stephane Nicoll 7d032330d2 Upgrade to Spring Batch 4.3.1
Closes gh-24291
4 years ago
Stephane Nicoll 2786b3dd66 Upgrade to Spring Integration 5.4.2
Closes gh-24442
4 years ago
Stephane Nicoll b06e0b50b4 Upgrade to Spring AMQP 2.3.2
Closes gh-24288
4 years ago
Stephane Nicoll d339cb1513 Upgrade to Micrometer 1.6.2
Closes gh-24281
4 years ago
Stephane Nicoll 94b6b62077 Upgrade to Undertow 2.1.5.Final
Closes gh-24441
4 years ago
Stephane Nicoll 30748b8dd0 Upgrade to Tomcat 9.0.41
Closes gh-24440
4 years ago
Stephane Nicoll 264cd83f4b Upgrade to Netty tcNative 2.0.35.Final
Closes gh-24439
4 years ago
Stephane Nicoll 1c720a56b2 Upgrade to Netty 4.1.55.Final
Closes gh-24438
4 years ago
Stephane Nicoll b6b046702f Upgrade to Caffeine 2.8.8
Closes gh-24437
4 years ago
Stephane Nicoll fd91daaf21 Upgrade to ActiveMQ 5.15.14
Closes gh-24436
4 years ago
Stephane Nicoll 5f8900ea0e Upgrade to Spring Kafka 2.5.10
Closes gh-24293
4 years ago
Stephane Nicoll 18e2ce1682 Upgrade to Spring Batch 4.2.5
Closes gh-24290
4 years ago
Stephane Nicoll c08310ca35 Upgrade to Spring AMQP 2.2.13
Closes gh-24287
4 years ago
Stephane Nicoll 388f00612e Upgrade to Micrometer 1.5.9
Closes gh-24427
4 years ago
Stephane Nicoll 7f9d0d2d7c Upgrade to Tomcat 9.0.41
Closes gh-24435
4 years ago
Stephane Nicoll 1094b7c10c Upgrade to Activemq 5.15.14
Closes gh-24434
4 years ago
Stephane Nicoll b8c68ef374 Upgrade to Undertow 2.0.33.Final
Closes gh-24433
4 years ago
Stephane Nicoll a9924c3576 Upgrade to Netty Tcnative 2.0.35.Final
Closes gh-24432
4 years ago
Stephane Nicoll 55b680e452 Upgrade to Netty 4.1.55.Final
Closes gh-24431
4 years ago
Stephane Nicoll 6d5e3b2c0d Upgrade to Caffeine 2.8.8
Closes gh-24430
4 years ago
Stephane Nicoll 60e69c2c3e Upgrade to Spring Kafka 2.3.13
Closes gh-24292
4 years ago
Stephane Nicoll 520b4bba9c Upgrade to Spring Batch 4.2.5
Closes gh-24289
4 years ago
Stephane Nicoll 317ec32458 Upgrade to Spring Integration 5.2.10
Closes gh-24429
4 years ago
Stephane Nicoll 241730bf10 Upgrade to Spring AMQP 2.2.13
Closes gh-24286
4 years ago
Phillip Webb 112503058a Merge branch '2.3.x'
Closes gh-24425
4 years ago
Phillip Webb 0bfa9cf107 Merge branch '2.2.x' into 2.3.x
Closes gh-24424
4 years ago
Phillip Webb 869141766b Use deterministic ordering of JavaBean methods
Update `JavaBeanBinder` so that methods and fields are sorted before
being processed. This ensures that setters are called in a deterministic
order, rather than the unspecified and variable order that reflection
provides.

Fixes gh-24068
4 years ago
Stephane Nicoll e9aa070c6f Upgrade to Spring Data 2020.0.2
Closes gh-24284
4 years ago
Stephane Nicoll f4ed2e72c5 Upgrade to Spring Data Neumann-SR6
Closes gh-24283
4 years ago
Stephane Nicoll 6a8ad73e2e Upgrade to Spring Data Moore-SR12
Closes gh-24282
4 years ago
Stephane Nicoll 0d472d6f74 Start building against Spring Data 2020.0.2 snapshots
See gh-24284
4 years ago
Stephane Nicoll 922a7a4f8c Upgrade to Spring HATEOAS 1.2.2
Closes gh-24285
4 years ago
Stephane Nicoll 84b92bc531 Upgrade to Spring HATEOAS 1.1.3
Closes gh-24419
4 years ago
Stephane Nicoll f375048620 Upgrade to Spring Framework 5.3.2
Closes gh-24278
4 years ago
Stephane Nicoll 52b5c36750 Upgrade to Micrometer 1.5.8
Closes gh-24280
4 years ago
Stephane Nicoll 8c676a43bd Upgrade to Spring Framework 5.2.12
Closes gh-24277
4 years ago
Stephane Nicoll 275816d9f9 Upgrade to Micrometer 1.3.16
Closes gh-24279
4 years ago
Stephane Nicoll e961afd64f Upgrade to Spring Framework 5.2.12
Closes gh-24276
4 years ago
Phillip Webb bef5fe29e3 Allow recursive profile group references
Update the original fix for issue #24327 so that recursive elements
are tolerated rather than fail.

See gh-24327
4 years ago
Phillip Webb 0931f04eb0 Polish 'Fail on recursive references in profile groups'
See gh-24327
4 years ago
dreis2211 5b74f77ac6 Fail on recursive references in profile groups
Update `Profiles` group expansion logic to fail if recursive
references are found.

See gh-24327
4 years ago
Phillip Webb 0d157e046f Fix checkstyle violations
See gh-21015
4 years ago
Phillip Webb e95c514661 Merge branch '2.3.x'
Closes gh-24412
4 years ago
Phillip Webb 49e754f48b Merge branch '2.2.x' into 2.3.x
Closes gh-24411
4 years ago
Phillip Webb 286ef61071 Narrow auto-configure checkstyle suppressions
Closes gh-21015
4 years ago
Phillip Webb b48f4028a3 Merge branch '2.3.x' 4 years ago
Phillip Webb 30717b6ae3 Merge branch '2.2.x' into 2.3.x 4 years ago
Phillip Webb 4f95486822 Polish note about Maven/Gradle restarts
See gh-24271
4 years ago
Phillip Webb b9e87a4ab2 Merge branch '2.3.x'
Closes gh-24410
4 years ago
Phillip Webb 445c6b8aa6 Merge branch '2.2.x' into 2.3.x
Closes gh-24409
4 years ago
Phillip Webb 10d3121e27 Polish "Triggering a restart" formatting
See gh-24271
4 years ago
Billy T. Hernandez 0503079dc5 Document devtools restart with Maven/Gradle
Update the documentation to help avoid confusion for people who aren't
using an IDE.

See gh-24271
4 years ago
Phillip Webb 3618bddf51 Merge branch '2.3.x'
Closes gh-24408
4 years ago
Phillip Webb 06531b9b71 Merge branch '2.2.x' into 2.3.x
Closes gh-24407
4 years ago
Phillip Webb 89642f0ce8 Add link to appendix from error handling
Improve documentation by adding a link from the "Error Handling" section
to the appendix.

Closes gh-24265
4 years ago
Phillip Webb cd5ff6e4af Merge branch '2.3.x'
Closes gh-24404
4 years ago
Phillip Webb 11f285bde5 Merge branch '2.2.x' into 2.3.x
Closes gh-24403
4 years ago
izeye 8c55803931 Polish
See gh-24306
4 years ago
Stephane Nicoll 93d83342d2 Merge branch '2.3.x'
Closes gh-24401
4 years ago
Stephane Nicoll 06671aa50e Stop deferring JPA bootstrap mode by default
This commit changes the default value of bootstrap-mode to "default"
rather than "deferred" so that the JPA infrastructure starts in the
main thread rather than asynchronously.

Closes gh-24249
4 years ago
Stephane Nicoll 7b2f24aa46 Upgrade to Undertow 2.2.3.Final
Closes gh-24397
4 years ago
Stephane Nicoll 2fea5d49e7 Upgrade to Tomcat 9.0.40
Closes gh-24396
4 years ago
Stephane Nicoll d96323be7b Upgrade to Nimbus JOSE JWT 9.1.3
Closes gh-24395
4 years ago
Stephane Nicoll 643bb1ba6b Upgrade to Mockito 3.6.28
Closes gh-24394
4 years ago
Stephane Nicoll a7d52a2b2d Upgrade to MariaDB 2.7.1
Closes gh-24393
4 years ago
Stephane Nicoll 3223e7cf39 Upgrade to Kotlin Coroutines 1.4.2
Closes gh-24392
4 years ago
Stephane Nicoll 8dd34b74c5 Upgrade to jOOQ 3.14.4
Closes gh-24390
4 years ago
Stephane Nicoll 626b67ffc0 Upgrade to Jetty 9.4.35.v20201120
Closes gh-24389
4 years ago
Stephane Nicoll 543ccd33d4 Upgrade to Infinispan 11.0.8.Final
Closes gh-24388
4 years ago
Stephane Nicoll d7ee9a5b15 Upgrade to HttpCore 4.4.14
Closes gh-24387
4 years ago
Stephane Nicoll 3fa898c104 Upgrade to Hibernate 5.4.25.Final
Closes gh-24386
4 years ago
Stephane Nicoll 558f691a8d Upgrade to Groovy 2.5.14
Closes gh-24385
4 years ago
Stephane Nicoll 9aa170703d Upgrade to Dropwizard Metrics 4.1.16
Closes gh-24384
4 years ago