Scott Frederick
da4de7d67d
Generate the AutoConfiguration.imports file from annotations
...
This commit adds the `AutoConfigurationImportsAnnotationProcessor` to
the `spring-boot-autoconfigure-processor` annotation processor
module. When added to a project build, the annotation processor will
generate the
`org.springframework.boot.autoconfigure.AutoConfiguration.imports`
file automatically from `@AutoConfiguration`-annotated classes. It
also applies the annotation processor to the Spring Boot build.
Closes gh-31228
2 years ago
Phillip Webb
4ec2e357d9
Merge branch '2.7.x'
...
See gh-32086
2 years ago
Phillip Webb
60e1cc510c
Merge branch '2.6.x' into 2.7.x
...
See gh-32085
2 years ago
Phillip Webb
bd74344025
Revert "Don't close jar files early"
...
This reverts commit b42f056ddb
.
2 years ago
Andy Wilkinson
3cf6dc25a8
Merge branch '2.7.x'
...
See gh-31403
2 years ago
Andy Wilkinson
f285d9e7cf
Merge branch '2.6.x' into 2.7.x
...
See gh-31402
2 years ago
Andy Wilkinson
252cf94332
Fix requiresUnpack following Bouncy Castle upgrade
...
See gh-31400
2 years ago
Andy Wilkinson
d370d19e7a
Merge branch '2.7.x'
...
Closes gh-31403
2 years ago
Andy Wilkinson
5e1cd28d3f
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31402
2 years ago
Lars Grefer
e8a1a0399a
Upgrade to Bouncycastle 1.71
...
Closes gh-31400
2 years ago
Phillip Webb
d84557f1f9
Merge branch '2.7.x'
...
Closes gh-31396
2 years ago
Phillip Webb
bcbcc53a09
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31395
2 years ago
Phillip Webb
b42f056ddb
Don't close jar files early
...
Update `JarFile` and related classes so that `close()` is not longer
called early.
Prior to this commit, we would always immediately close the underlying
jar file to prevent file locking issues with our build. This causes
issues on certain JVMs when they attempt to verify a signed jar.
The file lock issues have now been solved by returning a custom input
stream from `JarUrlConnection` which captures and delegates the close
method.
Fixes gh-29356
2 years ago
Phillip Webb
c7374fd415
Update copyright year of changed files
3 years ago
dreis2211
eea4611553
Fix references to JDK 1.8 in READMEs
...
See gh-30447
3 years ago
Andy Wilkinson
a59f60c614
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
aad59efef2
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30430
3 years ago
Andy Wilkinson
344aa405ae
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30429
3 years ago
Andy Wilkinson
e36ac6c155
Polish "Enable Java 18 for LoaderIntegrationTests"
...
See gh-30422
3 years ago
Eddú Meléndez
e9c433a0b7
Enable Java 18 for LoaderIntegrationTests
...
See gh-30422
3 years ago
dreis2211
be981e45d1
Remove checks for Java 9 compatibility in build.gradle files
...
See gh-30335
3 years ago
Andy Wilkinson
00193517f0
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
f488db9e49
Merge branch '2.6.x' into 2.7.x
3 years ago
Andy Wilkinson
0d4d225ebb
Merge branch '2.5.x' into 2.6.x
3 years ago
Andy Wilkinson
a58cd050e5
Disable LoaderIntegrationTests when all runtimes are incompatible
...
See gh-29524
3 years ago
Andy Wilkinson
f5ca568014
Remove versions less than 17 from JavaVersion enum
...
Closes gh-29503
3 years ago
Andy Wilkinson
0833e9eab8
Relax alias checking for CI on Windows
3 years ago
Moritz Halbritter
d42f675959
Merge branch '2.7.x'
3 years ago
Moritz Halbritter
d7b229d3c7
Rename AutoConfigurationLoader to ImportCandidates
...
Move the class to a more suitable package, and load the files from
META-INF/spring/<fqn>.imports
See gh-29872
3 years ago
Moritz Halbritter
42808ff13c
Merge branch '2.7.x'
...
# Conflicts:
# spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/spring.factories
# spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories
# spring-boot-project/spring-boot-test-autoconfigure/src/main/resources/META-INF/spring.factories
3 years ago
Moritz Halbritter
7c96294641
Move our auto-configurations from spring.factories to new file
...
Closes gh-29873
3 years ago
Moritz Halbritter
303979fb65
Merge branch '2.7.x'
3 years ago
Moritz Halbritter
7d68b58c8f
Load auto-configurations from META-INF/spring-boot
...
Implements a new AutoConfigurationLoader, which loads
auto-configurations from a file in META-INF/spring-boot.
Adapts the AutoConfigurationImportSelector to use the new loader.
Adapts the ImportAutoConfigurationImportSelector to use the new loader.
Adapts the metadata plugin in the build to additionally load the
auto-configurations from the new file.
Updates the documentation for auto-configurations and test slices.
Closes gh-29872
3 years ago
Moritz Halbritter
fdb1010cbc
Migrate auto-configurations to @AutoConfiguration
...
Closes gh-29871
3 years ago
Moritz Halbritter
8e99788fc8
Migrate auto-configurations to @AutoConfiguration
...
Closes gh-29871
3 years ago
Andy Wilkinson
1fa541d4de
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
4c422b9f3c
Merge branch '2.5.x' into 2.6.x
3 years ago
Andy Wilkinson
b60612dabb
Disable LoaderIntegrationTests when Docker's unavailable
...
Closes gh-29385
3 years ago
Phillip Webb
13f6729b37
Merge branch '2.7.x'
3 years ago
Phillip Webb
f6cdc27b2a
Merge branch '2.5.x' into 2.6.x
3 years ago
Phillip Webb
eca05c42fb
Further refine LoaderIntegrationTests for CI
...
Update `LoaderIntegrationTests` to filter compatible JDKs early.
See gh-29385
3 years ago
Phillip Webb
e18cbe5fe2
Merge branch '2.7.x'
3 years ago
Phillip Webb
392de30390
Merge branch '2.5.x' into 2.6.x
3 years ago
Phillip Webb
de8f8c3e64
Refine LoaderIntegrationTests for CI
...
Refine `LoaderIntegrationTests` to fix failures when CI builds are
running with later JDK versions.
See gh-29385
3 years ago
Phillip Webb
2d1854a682
Merge branch '2.7.x'
3 years ago
Phillip Webb
44537d4494
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29462
3 years ago
Phillip Webb
3d908079ef
Run LoaderIntegrationTests against multiple JDKs
...
Update `LoaderIntegrationTests` to run against OpenJDK 8, 11 and 17 as
well as Oracle JDK 17.
Closes gh-29385
3 years ago
Phillip Webb
13f257a706
Merge branch '2.7.x'
3 years ago
Phillip Webb
e7fe371927
Merge branch '2.5.x' into 2.6.x
3 years ago
Phillip Webb
27ad0804f5
Update copyright year of changed files
3 years ago