Commit Graph

357 Commits (86a8ed1d811d7389e7e41738ee12e8d44d775938)

Author SHA1 Message Date
Phillip Webb 3ba3558cff Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 3e9a136143 Polish gradle formatting 2 years ago
Moritz Halbritter 0fc4741ff6 Merge branch '2.7.x' into 3.0.x
Closes gh-34422
2 years ago
Moritz Halbritter 18592e8145 Polish "Add reference to Failover starter"
See gh-32943
2 years ago
Anand Manissery 1240864a5e Add reference to Failover starter
See gh-32943
2 years ago
Moritz Halbritter 3867c2d79c Merge branch '2.7.x'
Closes gh-33842
2 years ago
Moritz Halbritter 81a57944b1 Include 'MVC' in starter-websocket description
Closes gh-32493
2 years ago
Stephane Nicoll 75b74637f6 Make sure the 'native' profile can be used in a multi-modules project
This commit updates the 'native' profile so that it provides plugin
management for the plugins involved in building a native image, rather
than forcing their executions.

This commit also update the Maven Plugin reference guide to describe
what the native profile does, and how it can be used in various
scenarios.

Closes gh-33184
2 years ago
Andy Wilkinson 3a2703e8f6 Upgrade to Jakarta Mail 2.1 and switch to Eclipse Angus RI
Closes gh-33059
Closes gh-33050
2 years ago
Andy Wilkinson b67c427259 Upgrade to Servlet 6.0 and related EE 10 specs
Co-authored-by: Phillip Webb <pwebb@vmware.com>

Closes gh-33036
Closes gh-33037
Closes gh-33038
Closes gh-33039
Closes gh-33040
Closes gh-33041
Closes gh-33042
Closes gh-33043
2 years ago
Andy Wilkinson fe8644cc59 Fail more elegantly when GraalVM version is too old
Closes gh-32924
2 years ago
Johnny Lim 7f44572b70 Remove Infinispan's Spring Boot Starter in README
See gh-32974
2 years ago
Andy Wilkinson 1cb149596d Add json starter so that Elasticsearch uses Jackson mapper by default
Closes gh-32906
2 years ago
Stephane Nicoll f0d1eb7891 Configure the Native buildpack when enabling the native Maven profile
This commit makes sure that the Native Cloud Native Buildpacks is
configured when the native Maven profile is enabled. Doing so lets
users generate a native image with a single command-line by default:

$ ./mvnw -Pnative spring-boot:build-image

Closes gh-32764
2 years ago
Phillip Webb a8e701cee2 Provide maven configuration for add-reachability-metadata goal
Update `spring-boot-starter-parent` to execute the native build tools
`add-reachability-metadata` goal when the 'native' profile is active.

Closes gh-32736
2 years ago
Phillip Webb 9aa2854e00 Remove the execution of NBT in the native maven profile
Update `spring-boot-starter-parent` to remove the `native-compile`
execution.

Closes gh-31770
2 years ago
Brian Clozel da7128ce7e Upgrade to Thymeleaf 3.1.0-M3
See gh-32628
2 years ago
Andy Wilkinson 0bfa9cd704 Upgrade to Logback 1.4 and SLF4J 2.0
Closes gh-12649
2 years ago
Stephane Nicoll bd8f53a989 Use Native Build Tools new goal name
Closes gh-32482
2 years ago
Phillip Webb d1e7c9bd70 Introduce 'nativeTest' maven profile
Update `spring-boot-start-parent` with a new `nativeTest` profile. When
active, this profile will trigger AOT processing of test code and call
the native build tools 'test' goal.

Closes gh-32383
2 years ago
Phillip Webb 09bd531fe5 Add Maven plugin support for processing test contexts Ahead-of-time
Refactor and update the Spring Boot Maven Plugin so that it can
be used to perform AOT processing of test classes.

Closes gh-32191
2 years ago
Phillip Webb 2f6354f633 Rename 'aot-generate' goal to process-aot'
See gh-31918
2 years ago
Andy Wilkinson ba93e6c0ed Restore support for Jersey
Closes gh-28637
2 years ago
Andy Wilkinson 0857cae943 Merge branch '2.7.x'
Closes gh-31952
2 years ago
Andy Wilkinson 0dde4278db Merge branch '2.6.x' into 2.7.x
Closes gh-31951
2 years ago
Marc Wrobel 3e0665e791 Fix links in documentations
- Fix broken links
- Use HTTPS where possible,
- Remove spring-security-oauth2-docs as it is no longer used
- Remove https://github.com/ThierrySquirrel/rocketmq-spring-boot-starter.
  This starter is 404 and https://github.com/rocketmq/rocketmq-spring-boot-starter
  hasn't been updated for 4 years.
- Clean up nohttp allowlist.lines.

See gh-31887
2 years ago
Brian Clozel 38f1bc9793 Reinstate Spring for GraphQL auto-configuration
This commit adds the Spring for GraphQL auto-configuration back
into Spring Boot 3.0, now that a 1.1.0 release is scheduled with the
required baseline. This release also needs GraphQL Java 19.0 as a
baseline.

Closes gh-31809
2 years ago
Stephane Nicoll 204354e8ab Merge branch '2.7.x'
Closes gh-31894
2 years ago
Stephane Nicoll 04cb239296 Merge branch '2.6.x' into 2.7.x
Closes gh-31893
2 years ago
Stephane Nicoll 9184d5483a Remove reference to nitrite-spring-boot-starter
Closes gh-31892
2 years ago
Stephane Nicoll 76376d8822 Merge branch '2.7.x'
Closes gh-31891
2 years ago
Stephane Nicoll 344afd81de Merge branch '2.6.x' into 2.7.x
Closes gh-31890
2 years ago
Stephane Nicoll e6a9e48c54 Remove reference to Azure Application Insights
Closes gh-31889
2 years ago
Stephane Nicoll f962f2a430 Configure NBT so that it works consistently
This commit configures the Native Build Tools plugin to use Maven's
`target/classes` rather than the default generated JAR of the project.
Previously, this would fail with the default repackage option as the
default JAR is the repackaged archive and it has a specific format that
NBT can't understand.

Closes gh-31848
2 years ago
Andy Wilkinson 3405a54f9e Exclude Jetty toolchain dependencies in favor of official API artifacts
Closes gh-31720
2 years ago
Moritz Halbritter 3703b317ce Enable GraalVM reachability metadata repository
Closes gh-31687
2 years ago
Oliver Drotbohm b10c57551c Upgrade to Hibernate 6.1.1.Final
This commit makes the following potentially breaking changes:

- Dependency management for modules that do not exist in Hibernate
  6.1 has been removed.
- Hibernate's modules are now in the org.hibernate.orm group. Users
  not using the starter or using modules that are not in the starter
  will have to update their build configuration accordingly.
- spring.jpa.hibernate.use-new-id-generator-mappings has been removed
  as Hibernate no longer supports switching back to the old ID
  generator mappings.

Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>

Closes gh-31674
2 years ago
Phillip Webb e125b0c22d Merge branch '2.7.x'
Closes gh-31368
2 years ago
Phillip Webb 7e2b325b36 Include auto-configuration and management import files in parent POM
Update the `maven-shade-plugin` configuration to include transformation
of the new `AutoConfiguration.imports` and
`ManagementContextConfiguration.imports` files.

Fixes gh-31316
2 years ago
Wim Deblauwe 1aad7bea8e Add link to Error Handling Spring Boot Starter
See gh-31156
3 years ago
Stephane Nicoll 216d156968 Refine native profile to use a classifier for the repackaged jar
This commit refines 80470f0b26 so that the 'repackage' goal of the
Spring Boot maven plugin uses a classifier. Previously, a regular
package with the profile fails as the Native Build Tools is trying to
use the repackaged archive as a regular jar file.

This is temporary as we'd like to explore other solutions, including
suggesting an additional option in the NBT plugin itself that uses the
regular classpath, rather than the produced jar.

See gh-30830
3 years ago
Andy Wilkinson a5b7bb518e Start building against Spring Data Bom 2021.2.0 snapshots
See gh-31015
3 years ago
Piotr P. Karwasz 728e27d193 Use Log4jBridgeHandler to route JUL-based logging into Log4j 2
Since version 2.15.0 `log4j-jul` contains a `Log4jBridgeHandler`,
that forwards JUL to Log4j 2.x and synchronizes the logger levels of
the two frameworks.

This commmit adds support for the `Log4jBridgeHandler` and sets it as
the bridge handler for the Log4j 2.x stack, replacing the existing
JUL to SLF4J bridge that was used previously.

See gh-30003
3 years ago
Andy Wilkinson 80470f0b26 Add native profile to spring-boot-starter-parent
Closes gh-30830

Co-authored-by: Stephane Nicoll <snicoll@vmware.com>
3 years ago
Stephane Nicoll 2d663f2e94 Upgrade to Spring Data 2021.2.0-RC1
Closes gh-30610
3 years ago
Andy Wilkinson 44211564a4 Adapt to latest changes in Micrometer 2.0 snapshots
See gh-29666
3 years ago
Andy Wilkinson 6580f6c742 Align with latest changes in Micrometer 1.9 snapshots
See gh-30605
3 years ago
Moritz Halbritter 5ab9112bbc Add auto-configuration for Micrometer 2.0.0 Observation API
- Adds a ObservationRegistry bean
- Add support for ObservationRegistryCustomizers
- Enables timer creation for observations if micrometer-core is on
  the classpath
- Registers ObservationPredicate, GlobalTagsProvider and
  ObservationHandler on the MeterRegistry
- Applies grouping to the ObservationHandlers: MeterObservationHandler
  are added to a FirstMatchingCompositeObservationHandler
- If micrometer-tracing is on the classpath, the
  TracingObservationHandler are added to a
  FirstMatchingCompositeObservationHandler

Closes gh-29666
3 years ago
Yixiang Zhao effd70ea21 Add reference to Casdoor Spring Boot Starter
See gh-30220
3 years ago
Andy Wilkinson dd812a3f76 Upgrade to Groovy 4.0.1
Closes gh-30279
3 years ago