Scott Frederick
f560e86f03
Write buildpack directories to builder layer
...
When a custom buildpack is provided for image building, the contents
of the buildpack directory, tgz file, or image are copied as tar
entries to a new layer in the ephemeral builder image. Prior to this
commit, only file entries from the buildpack source were copied as
builder layer tar entries; intermediate directory entries from the
source were not copied. This results in directories being created in
the builder container using default permissions. This worked on most
Linux-like OSs where the default permissions allow others-read
access. On some OSs like Arch Linux where the default directory
permissions do not allow others-read, this prevented the lifecycle
processes from reading the buildpack files.
This commit explicitly creates all intermediate directory tar entries
in the builder image layer to ensure that the buildpack directories
and files can be read by the lifecycle processes.
Fixes gh-26658
4 years ago
Stephane Nicoll
e9ed92a305
Polish
4 years ago
Phillip Webb
d3f0f04f05
Merge branch '2.4.x'
...
Closes gh-26703
4 years ago
Phillip Webb
49d3ecc2b2
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26702
4 years ago
Phillip Webb
617f7b9587
Improve ImageName/ImageReference parse performance
...
Update `ImageName` and `ImageReference` to use distinct regex patterns
to parse specific parts of the value. Prior to this commit a single
regex pattern was used which could hang given certain input strings.
Fixes gh-23115
4 years ago
Phillip Webb
5258c26f90
Merge branch '2.4.x'
4 years ago
Phillip Webb
49c30854af
Rename PRODUCTION_RUNTIME_CLASSPATH_NAME
...
Rename the now public constant for consistency with the JavaPlugin.
See gh-26686
4 years ago
Phillip Webb
ac0c1b1456
Merge branch '2.4.x'
...
Closes gh-26687
4 years ago
Phillip Webb
1e0ae9d5e3
Make PRODUCTION_RUNTIME_CLASSPATH_NAME public
...
Change `SpringBootPlugin.PRODUCTION_RUNTIME_CLASSPATH_NAME` from package
private to public so that it can be accessed in user build scripts.
Fixes gh-26686
4 years ago
Stephane Nicoll
cb7c3774a7
Merge branch '2.4.x'
...
Closes gh-26646
4 years ago
Stephane Nicoll
942691753d
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26645
4 years ago
dreis2211
01ee6190a2
Remove workaround for SUREFIRE-1679
...
See gh-26632
4 years ago
Phillip Webb
ab958d2394
Include io.spring.asciidoctor.backends group
...
Update `repositories` declaration to include the
'io.spring.asciidoctor.backends' group.
See gh-26293
4 years ago
Phillip Webb
f0896c2de6
Rework title anchors for maven docs
...
Closes gh-26617
4 years ago
Phillip Webb
1702c9fc3d
Rework title anchors for gradle docs
...
Closes gh-26618
4 years ago
Phillip Webb
2dbf39c738
Polish asciidoc formatting
4 years ago
Phillip Webb
8a3f835ffe
Set Asciidoctor attribute-missing to warn
...
Closes gh-26590
4 years ago
Stephane Nicoll
582d7b46fd
Merge branch '2.4.x'
...
Closes gh-26571
4 years ago
Stephane Nicoll
ef093bc9c6
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26570
4 years ago
Stephane Nicoll
306b6f6999
Configure SessionCookieConfig in MockServletWebServer
...
Closes gh-26479
4 years ago
Stephane Nicoll
d3c817b7ba
Polish "Remove unnecessary throws declaration in tests"
...
See gh-26441
4 years ago
weixsun
8a2be288a3
Remove unnecessary throws declaration in tests
...
See gh-26441
4 years ago
Andy Wilkinson
1db8ca60aa
Test our Gradle plugin against Gradle 7.0.2
...
Closes gh-26464
4 years ago
Andy Wilkinson
f92510e39d
Merge branch '2.4.x'
...
Closes gh-26451
4 years ago
Andy Wilkinson
970f933806
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26450
4 years ago
Andy Wilkinson
2dd94b5554
Polish "Use try-with-resources statement"
...
See gh-26449
4 years ago
weixsun
5ba9db391f
Use try-with-resources statements
...
See gh-26449
4 years ago
Scott Frederick
e9adb1ab88
Handle long file names in buildpack images
...
Fixes gh-26445
4 years ago
Scott Frederick
b62905b91d
Merge branch '2.4.x'
...
Closes gh-25840
4 years ago
Scott Frederick
8ac297d6f3
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25839
4 years ago
Scott Frederick
32d378a348
Use test harness for image building integration tests
...
This commit modifies the integration tests for the Maven and Gradle
image building goal and task to use a custom builder as a test harness
to verify that the plugins invoke the builder as expected.
Fixes gh-25838
4 years ago
Andy Wilkinson
07de9e3920
Merge branch '2.4.x'
4 years ago
Andy Wilkinson
e29d2e208e
Merge branch '2.3.x' into 2.4.x
4 years ago
Andy Wilkinson
b3af6d6403
Polish
...
See gh-25798
4 years ago
dreis2211
ba2a4781d2
Test our Gradle Plugin against Gradle 7.0.1
...
See gh-26420
4 years ago
Phillip Webb
87d8aedd3c
Use spring-pdf backend for PDF generation
...
Update `asciidoctorPdf` tasks to use the `spring-pdf` backend so that
chomped elements and @fold:on/@fold:off comments are hidden.
Closes gh-26373
4 years ago
Andy Wilkinson
dc5f115c04
Document support for Gradle 6.9
...
Closes gh-26409
4 years ago
Andy Wilkinson
b3071dab91
Merge branch '2.4.x'
...
Closes gh-26412
4 years ago
Andy Wilkinson
fe4d20c976
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26411
4 years ago
Andy Wilkinson
6daf67a88c
Upgrade to Gradle 6.9
...
Closes gh-26408
4 years ago
Stephane Nicoll
b4424605af
Merge branch '2.4.x'
...
Closes gh-26406
4 years ago
Stephane Nicoll
559af275a4
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26405
4 years ago
Sach Nguyen
afa77b8253
Fix wrong reference to Cassandra in DockerImageNames#couchbase
...
See gh-26399
4 years ago
Andy Wilkinson
2976fd9165
Merge branch '2.4.x'
...
Closes gh-26397
4 years ago
Andy Wilkinson
fe696ee22a
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26396
4 years ago
Andy Wilkinson
ef9e3bafff
Test our Gradle plugin against 6.9-rc-2
...
Closes gh-26395
4 years ago
Andy Wilkinson
aeea15be0f
Merge branch '2.4.x'
...
Closes gh-26365
4 years ago
Andy Wilkinson
f7fae8f0f2
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26364
4 years ago
Andy Wilkinson
b3275c5647
Align productionRuntimeClasspath with runtimeClasspath
...
Fixes gh-25798
4 years ago
Andy Wilkinson
b976483852
Merge branch '2.4.x'
...
Closes gh-26330
4 years ago
Andy Wilkinson
c0fe23181c
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26329
4 years ago
Andy Wilkinson
94ca2d1e78
Test the Gradle plugin against Gradle 6.9-rc-1
...
Closes gh-26267
4 years ago
Scott Frederick
bb8188b681
Merge branch '2.4.x'
...
Closes gh-26313
4 years ago
Scott Frederick
17fa215cf5
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26312
4 years ago
Scott Frederick
c37b9b8a8e
Use layout configuration in Maven build-image goal
...
This commit changes the Maven build-image goal to honor the `layout` and
`layoutFactory` parameters to ensure that the archive content sent to the
builder is the same as is used by the `repackage` goal to build the
archive file.
Fixes gh-26216
4 years ago
Andy Wilkinson
fa81b41afc
Merge branch '2.4.x'
...
Closes gh-26301
4 years ago
Andy Wilkinson
94519c33b1
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26300
4 years ago
Andy Wilkinson
ef5fbb0669
Configure bootBuildImage's targetJavaVersion using a provider
...
Previously, the targetJavaVersion property of bootBuildImage was set
using the project's target compatibility directly. This meant that
property's value would reflect the configured target compatibility at
the time of the task's creation and any subsequent changes to the
target compatibility would be missed.
This commit updates the registration of the bootBuildImage task to set
the value of the targetJavaVersion property using a provider. This
indirection means that the project's target compatibility isn't read
until the value of the targetJavaVersion is read, allowing any changes
to the target compatibility to be picked up even if they're made after
the bootBuildImage task has been created.
Fixes gh-26297
4 years ago
Stephane Nicoll
52994027f4
Fix checkstyle violation
4 years ago
Stephane Nicoll
7465eb0f03
Merge branch '2.4.x'
4 years ago
Stephane Nicoll
85e1cc4d65
Fix checkstyle violation
4 years ago
Stephane Nicoll
09ae65e3b7
Merge branch '2.4.x'
...
Closes gh-26277
4 years ago
Stephane Nicoll
05b09907e0
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26275
4 years ago
Stephane Nicoll
d610f3c2ff
Polish "Fix ordering of metadata entries"
...
See gh-26230
4 years ago
Dmitry Pavlov
3e34b0a60a
Fix ordering of metadata entries
...
This commit provides a consistent ordering for groups that share the
same configuration property prefix.
See gh-26230
4 years ago
Stephane Nicoll
9e3c3b73ac
Merge branch '2.4.x'
4 years ago
Stephane Nicoll
d98fe36b88
Merge branch '2.3.x' into 2.4.x
4 years ago
Stephane Nicoll
20da9826cc
Disable incrementalBuildTypeRenamed test
...
This commit disables a test that does not test what it is supposed to
and improve the Metadata assertions to fail early if more than one
matching item by name and type is found in the metadata.
See gh-26271
4 years ago
Andy Wilkinson
6953da2013
Merge branch '2.4.x'
...
Closes gh-26257
4 years ago
Andy Wilkinson
a1138efc5f
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26256
4 years ago
Andy Wilkinson
a470c1af3a
Align documentation with main default branch name
...
Closes gh-26255
4 years ago
Slawomir Jaranowski
50118f67fd
Test Maven plugin against latest Maven versions
...
See gh-26200
4 years ago
Andy Wilkinson
b9348c6d28
Merge branch '2.4.x'
...
Closes gh-26169
4 years ago
Andy Wilkinson
bc1a462143
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26168
4 years ago
Andy Wilkinson
82198a99e0
Polish nohttp configuration
...
Closes gh-26166
4 years ago
Stephane Nicoll
548baf7914
Update copyright year of changed file
...
See gh-26145
4 years ago
izeye
996472b42d
Polish
...
See gh-26145
4 years ago
Phillip Webb
b4c9bb0d5c
Merge branch '2.4.x'
...
Closes gh-26122
4 years ago
Phillip Webb
fb3796dae8
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26121
4 years ago
Phillip Webb
fcb2210a87
Include optional shade plugin in published pom
...
Update `MavenPublishingConventions` to add a new `mavenOptional` feature
that allows us to declare optional dependencies that are also published
in the generated POM.
This change allows us to include the maven-shade-plugin in the
spring-boot-maven-plugin POM which fixes an issue with Eclipse m2e.
Fixes gh-21992
4 years ago
Andy Wilkinson
b0cce645dd
Use a non-deprecated class to identify kotlin-gradle-plugin-api jar
...
See gh-26080
4 years ago
Andy Wilkinson
6f2b4aa685
Upgrade to Kotlin 1.5.0-RC
...
Closes gh-26080
Closes gh-25498
4 years ago
Andy Wilkinson
c4750fd0ff
Support Gradle 7 and raise minimum supported version to 6.8
...
Closes gh-26026
4 years ago
dreis2211
db79fe8b2c
Test our Gradle Plugin against Gradle 7.0
...
See gh-25997
4 years ago
Scott Frederick
5bc35e8f44
Extract XML example from Maven plugin adoc file
...
See gh-25993
4 years ago
Scott Frederick
e27d4848dd
Merge branch '2.4.x'
...
Closes gh-25993
4 years ago
Scott Frederick
6a7f1f1c56
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25992
4 years ago
Scott Frederick
e19443093d
Document runtime JVM configuration when building an image
...
Fixes gh-21478
4 years ago
Scott Frederick
86303c017b
Merge branch '2.4.x'
...
Closes gh-25938
4 years ago
Scott Frederick
9108b81bb2
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25937
4 years ago
Scott Frederick
0ad7f76263
Preserve file permissions in images built by Gradle
...
This commit copies the file mode along with other attributes when
copying files from the source archive to the build container while
building an image using the Gradle plugin. This preserves file
permissions on any resources included in the source archive.
Fixes gh-25915
4 years ago
Andy Wilkinson
8b5f914ba5
Revert "Merge branch '2.4.x'"
...
This reverts commit 97b26b4886
, reversing
changes made to 6f9b1ed6a3
.
See gh-25840
4 years ago
Andy Wilkinson
e9ce20dbf4
Revert "Merge branch '2.3.x' into 2.4.x"
...
This reverts commit 586ce00e06
, reversing
changes made to 563b8a8cec
.
See gh-25839
4 years ago
Andy Wilkinson
b35d1ec6e8
Revert "Use test harness for image building integration tests"
...
This reverts commit da9d8d6055
.
See gh-25838
4 years ago
Phillip Webb
807ea1af0d
Update copyright year of changed files
4 years ago
Andy Wilkinson
095ff18854
Test our Gradle plugin against Gradle 7.0-rc-2
...
Closes gh-25888
4 years ago
Scott Frederick
5595fb2423
Polish "Extract XML examples from Maven plugin adoc files"
...
See gh-25534
4 years ago
robert-smith-911
4e287594bf
Extract XML examples from Maven plugin adoc files
...
See gh-25534
4 years ago
Scott Frederick
97b26b4886
Merge branch '2.4.x'
...
Closes gh-25840
4 years ago
Scott Frederick
586ce00e06
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25839
4 years ago
Scott Frederick
da9d8d6055
Use test harness for image building integration tests
...
This commit modifies the integration tests for the Maven and Gradle
image building goal and task to use a custom builder as a test harness
to verify that the plugins invoke the builder as expected.
Fixes gh-25838
4 years ago
Andy Wilkinson
6f9b1ed6a3
Merge branch '2.4.x'
...
See gh-25837
4 years ago
Andy Wilkinson
563b8a8cec
Merge branch '2.3.x' into 2.4.x
...
See gh-25836
4 years ago
Andy Wilkinson
e94f8bba62
Ensure that upstream jars have been built
...
See gh-25835
4 years ago
Andy Wilkinson
df4b1ffb0d
Merge branch '2.4.x'
...
Closes gh-25837
4 years ago
Andy Wilkinson
38a4f135a9
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25836
4 years ago
Andy Wilkinson
ca9a619259
Defer processing of zipTree source until execution time
...
Closes gh-25835
4 years ago
Andy Wilkinson
09173b81d6
Merge branch '2.4.x'
...
Closes gh-25833
4 years ago
Andy Wilkinson
7a846ad41f
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25832
4 years ago
Andy Wilkinson
5a086321c6
Polish "Document Failsafe configuration when not using starter parent"
...
See gh-25621
4 years ago
robert-smith-911
0d79fd3e01
Document Failsafe configuration when not using starter parent
...
See gh-25621
4 years ago
Phillip Webb
8c31d29acf
Merge branch '2.4.x'
4 years ago
Phillip Webb
a28a3ae090
Merge branch '2.3.x' into 2.4.x
4 years ago
Phillip Webb
9c8a97809d
Consistent use of @deprecated since
...
Restore the patch version number for consistency with `@since`
tags.
See gh-25808
4 years ago
Phillip Webb
c9451b59f2
Merge branch '2.4.x'
4 years ago
Phillip Webb
a0f5169966
Polish
4 years ago
Phillip Webb
44b1751bb4
Merge branch '2.4.x'
...
Closes gh-25826
4 years ago
Phillip Webb
363f5829d1
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25825
4 years ago
Phillip Webb
26dd1b9a26
Update deprecations with for removal targets
...
Update all deprecation tags to include a removal target.
Closes gh-25808
4 years ago
Scott Frederick
269fc68c1d
Merge branch '2.4.x'
...
Closes gh-25811
4 years ago
Scott Frederick
4015d70f00
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25789
4 years ago
dreis2211
a9a37f0dd5
Increase test coverage on Java 16
...
See gh-25809
4 years ago
Scott Frederick
3ad5f1013a
Fix Maven image building with classifiers
...
Fixes gh-25736
4 years ago
Andy Wilkinson
340893747b
Merge branch '2.4.x'
...
Closes gh-25799
4 years ago
Andy Wilkinson
af7e4e211c
Support all known endpoint types
...
Previously, the configuration metadata annotation processor only
declared support for `@Endpoint` and none of the other more
specialized `@…Endpoint` annotations that are meta-annotated with
`@Endpoint` such as `@WebEndpoint` and `@JmxEndpoint. This would
result in missing metadata if a full or incremental build only
compiled classes annotated with one of the more specialized
`@…Endpoint` annotations as the annotation processor would not be
called.
This commit updates the processor's supported annotation types to
include every known `@…Endpoint` annotation. The test processor has
also been similarly updated to align its behaviour with that of the
main processor.
Fixes gh-25388
4 years ago
Phillip Webb
deaff1a522
Merge branch '2.4.x'
...
Closes gh-25775
4 years ago
Phillip Webb
ca9fae6b47
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25774
4 years ago
Phillip Webb
ec21202d54
Delete unpacked jars when the JVM exits
...
Update `JarFileArchive` so that any unpacked files are now deleted when
the JVM exits.
Closes gh-25773
4 years ago
Phillip Webb
05f61bccea
Align unpack logic with Files.createTempDirectory
...
Update `JarFileArchive` to align the way that it creates temp files and
folders with the way that `Files.createTempDirectory` works.
Closes gh-25772
4 years ago
Phillip Webb
b8873578ca
Add missing @Deprecated annotations
4 years ago
Phillip Webb
77ddb45704
Merge branch '2.4.x'
4 years ago
Phillip Webb
11a94ee6f0
Merge branch '2.3.x' into 2.4.x
4 years ago
Phillip Webb
82127fdaa3
Update copyright year of changed files
4 years ago
Andy Wilkinson
ca46fe7cd0
Test our Gradle plugin against Gradle 7.0-rc-1
...
Closes gh-25763
4 years ago
Scott Frederick
2dd4010eb0
Merge branch '2.4.x'
...
Closes gh-25701
4 years ago
Scott Frederick
6f860b441b
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25700
4 years ago
Andy Wilkinson
fb670ee654
Drop support for Gradle 5.6.x
...
Closes gh-24225
4 years ago
Andy Wilkinson
83342c7aa7
Test the Gradle plugin against 7.0-milestone-3
...
Closes gh-25747
4 years ago
Phillip Webb
663fd8ce5e
Update copyright year of changed files
4 years ago
Phillip Webb
685b045c3d
Polish
4 years ago
Scott Frederick
e4fa39df01
Fail fast when finalName is misconfigured
...
When the `finalName` parameter is incorrectly set in the Spring Boot
Maven plugin configuration instead of in the `build` configuration, the
repackaged and original archive files are not named as expected. Prior
to this commit, the image building goal would detect this error
condition and throw an exception late in the process of creating the
build container, leaving the container in an unstable state. This
commit changes the image building goal to detect this condition early,
before attempting to create the container.
Fixes gh-25590
4 years ago
Andy Wilkinson
67545cf4f1
Polish
4 years ago
Andy Wilkinson
2adf3f836c
Merge branch '2.4.x'
4 years ago
Andy Wilkinson
c815195f13
Polish
4 years ago
Andy Wilkinson
36c72cb6ef
Merge branch '2.4.x'
...
Closes gh-25716
4 years ago
Andy Wilkinson
5595fd4017
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25715
4 years ago
Andy Wilkinson
0e0418546b
Test spring-boot:build-image when repackage is also invoked
...
Closes gh-25714
4 years ago
Andy Wilkinson
68e5a107cc
Revert "Merge branch '2.4.x'"
...
This reverts commit 5488b8cb46
, reversing
changes made to dee0df5c53
.
See gh-25701
4 years ago
Andy Wilkinson
ed4e419b0c
Revert "Merge branch '2.3.x' into 2.4.x"
...
This reverts commit eaa510872a
, reversing
changes made to 3e69522e2d
.
See gh-25700
4 years ago
Andy Wilkinson
ae2ff7849b
Revert "Fail fast when finalName is misconfigured"
...
This reverts commit 263b7c20e4
.
See gh-25590
4 years ago
Scott Frederick
5488b8cb46
Merge branch '2.4.x'
...
Closes gh-25701
4 years ago
Scott Frederick
eaa510872a
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25700
4 years ago
Scott Frederick
263b7c20e4
Fail fast when finalName is misconfigured
...
When the `finalName` parameter is incorrectly set in the Spring Boot
Maven plugin configuration instead of in the `build` configuration, the
repackaged and original archive files are not named as expected. Prior
to this commit, the image building goal would detect this error
condition and throw an exception late in the process of creating the
build container, leaving the container in an unstable state. This
commit changes the image building goal to detect this condition early,
before attempting to create the container.
Fixes gh-25590
4 years ago
Andy Wilkinson
ebdb046ca9
Leave jar and war tasks enabled but configured with a classifier
...
Closes gh-23797
4 years ago
Stephane Nicoll
e517ee8635
Merge branch '2.4.x'
...
Closes gh-25618
4 years ago
izeye
09f4d4b9bf
Polish
...
See gh-25617
4 years ago
Jurrie Overgoor
3c0e236562
Support Maven's reproducible build feature for war repackaging
...
See gh-25571
4 years ago
Phillip Webb
6e5c510e0a
Migrate to asciidoctor-spring-backends
...
Migrate to the snapshot version of asciidoctor-spring-backends.
See gh-25553
4 years ago
Stephane Nicoll
5a0c3a8497
Merge branch '2.4.x'
...
Closes gh-25516
4 years ago
Stephane Nicoll
ddf75f095c
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25515
4 years ago
Stephane Nicoll
6ebc69d704
Polish "Include properties in source merge algorithm"
...
See gh-25507
4 years ago
Bertrand Renuart
cf4bc6e9e0
Include properties in source merge algorithm
...
This commit improves SimpleConfigurationMetadataRepository to include
properties that are contributed to an existing configuration metadata
source.
See gh-25507
4 years ago
Andy Wilkinson
2b7f23b29d
Merge branch '2.4.x'
...
Closes gh-25509
4 years ago
Andy Wilkinson
ac258a95a2
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25508
4 years ago
Andy Wilkinson
c6ca7a53ab
Polish "Prevent extracting zip entries outside of destination path"
...
See gh-25505
4 years ago
trungPa
2993e68715
Prevent extracting zip entries outside of destination path
...
See gh-25505
4 years ago
Stephane Nicoll
76d0a7f8ba
Merge branch '2.4.x'
...
Closes gh-25506
4 years ago
dreis2211
89a44f3da4
Fix some assertions
...
See gh-25499
4 years ago
Andy Wilkinson
961a34a5ee
Merge branch '2.4.x'
...
Closes gh-25497
4 years ago
Andy Wilkinson
1ce6e796fe
Polish "Allow the project to be built with Java 16"
...
See gh-25171
4 years ago
dreis2211
1ccd8dae8a
Allow the project to be built with Java 16
...
See gh-25171
4 years ago
Stephane Nicoll
e58353a32d
Merge branch '2.4.x'
...
Closes gh-25484
4 years ago
Stephane Nicoll
e5d8b6029b
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25483
4 years ago
Stephane Nicoll
8e67ae7113
Fix fallback fork value for spring-boot:stop
...
This commit harmonizes the fallback value that spring-boot:stop goal
should use if no information is available in the current context.
Closes gh-25472
4 years ago
Scott Frederick
434db48969
Merge branch '2.4.x'
...
Closes gh-25469
4 years ago
Scott Frederick
afb60d6161
Add tests for Gradle examples used in plugin docs
...
Fixes gh-25468
4 years ago
Stephane Nicoll
a80f1af811
Merge branch '2.4.x'
...
Closes gh-25463
4 years ago
Stephane Nicoll
ed1c68f567
Update copyright year of changed file
...
See gh-25454
4 years ago
jnizet
cbab2396e2
Fix property name in gradle plugin documentation
...
See gh-25454
4 years ago
Andy Wilkinson
b36caec413
Merge branch '2.4.x'
...
Closes gh-25438
4 years ago
Andy Wilkinson
d48551ff12
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25437
4 years ago
Stefan Wolf
86ca32e694
Enable stricter validation for Gradle plugin
...
See gh-25409
4 years ago
Andy Wilkinson
84984fb148
Merge branch '2.4.x'
...
Closes gh-25431
4 years ago
Andy Wilkinson
ecf8437d4a
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25430
4 years ago
dreis2211
101d88a840
Update Testcontainers image versions
...
See gh-25412
4 years ago
Scott Frederick
4be04b0ea2
Support image building with Maven and war packaging
...
This commit updates the Maven image building goal to support building
images from executable and non-executable war files.
Fixes gh-23823
4 years ago
Scott Frederick
a80c4ad38d
Support image building with Gradle and war packaging
...
This commit updates the Gradle image building task to support building
images from executable and non-executable war files.
Fixes gh-23825
4 years ago
Andy Wilkinson
9836b060d4
Test the Gradle plugin against 7.0-milestone-2
...
Closes gh-25404
4 years ago
Scott Frederick
76e42ff96f
Correct grouping of custom buildpacks
...
This commit corrects the order.toml file that is generated and added
to the builder when building an image using custom buildpacks with the
Maven or Gradle plugin in order to support buildpacks that depend on
detection as a group.
Fixes gh-25378
4 years ago
Scott Frederick
89555a8745
Add bindings option for image building
...
This commit adds configuration to the Maven and Gradle plugins to
allow a list of volume mount bindings to be provided to the image
building goal and task. This enables service bindings to be mounted
in the builder image that are recognized by buildpacks to support
custom certificates, build tool configuration, APM integration, and
other buildpack features.
Fixes gh-23518
4 years ago
Stephane Nicoll
817a4c5397
Merge branch '2.4.x'
...
Closes gh-25386
4 years ago
Stephane Nicoll
7c5a5c6663
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25385
4 years ago
Stephane Nicoll
77daae1480
Update copyright year of changed file
...
See gh-25382
4 years ago
Mustafa Ulu
abc90db32f
Fix wording error in build-info goal description
...
See gh-25382
4 years ago
Andy Wilkinson
a14bf7a3b8
Deprecate support for Gradle's maven plugin
...
Closes gh-25267
4 years ago
Phillip Webb
4ad149e1e7
Protect against bad paths and URLs
...
See gh-21722
4 years ago
Scott Frederick
88e9f1d28c
Fix Maven buildpacks example in docs
...
See gh-21722
4 years ago
Scott Frederick
e3e229cc3d
Remove unused import
...
See gh-21722
4 years ago
Scott Frederick
f54f784f80
Add buildpack option for image building
...
This commit adds configuration to the Maven and Gradle plugins to
allow a list of buildpacks to be provided to the image building
goal and task.
Fixes gh-21722
4 years ago
Andy Wilkinson
5618646fc7
Merge branch '2.4.x'
...
Closes gh-25308
4 years ago
Andy Wilkinson
b86351d0cf
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25307
4 years ago
Andy Wilkinson
a2adb877ee
Polish "Encourage use of maven-publish plugin in Gradle docs"
...
See gh-25299
4 years ago
Robert Smith
c0a5245a3e
Encourage use of maven-publish plugin in Gradle docs
...
See gh-25299
4 years ago
Andy Wilkinson
514aede91e
Merge branch '2.4.x'
...
Closes gh-25168
4 years ago
Andy Wilkinson
45e6c12cb6
Consider transitives when identifying project dependencies
...
Previously, when building a layered jar, the Gradle plugin only
considered a configuration's direct dependencies when identifying
project dependencies. This resulted in transitive project dependencies
being missed when deciding which dependencies belong in the
application layer.
This commit updates ResolvedDependencies to consider all projects
from the root project when collecting the IDs of local projects. This
ensures that any project dependency, no matter where it appears in the
dependency graph, is successfully identified.
Fixes gh-25163
4 years ago
Stephane Nicoll
c120f789d5
Merge branch '2.4.x'
...
Closes gh-25141
4 years ago
Stephane Nicoll
9218965104
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25140
4 years ago
dreis2211
4937547b8a
Fix build deprecation warnings about duplicate jar entries
...
See gh-25116
4 years ago
Andy Wilkinson
d30251092b
Test the Gradle Plugin against 7.0-milestone-1
...
Closes gh-25103
4 years ago
Andy Wilkinson
db781a0d84
Merge branch '2.4.x'
...
See gh-25077
4 years ago
Andy Wilkinson
788a42d694
Merge branch '2.3.x' into 2.4.x
...
See gh-25076
4 years ago
Andy Wilkinson
67479b6380
Add junit-platform-launcher dependency by convention
...
Closes gh-25074
4 years ago
Phillip Webb
d9f3e89395
Merge branch '2.4.x'
4 years ago
Phillip Webb
230b4ab2eb
Merge branch '2.3.x' into 2.4.x
4 years ago
Phillip Webb
630d216430
Update copyright year of changed files
4 years ago
Phillip Webb
d8b849e00d
Fix test that fails when building against SNAPSHOT
...
Update `WarIntegrationTests` do deal with a SNAPSHOT Spring Framwork
dependency.
See gh-23936
4 years ago
Phillip Webb
1eef2e1b46
Merge branch '2.4.x'
4 years ago
Phillip Webb
331c7b756b
Merge branch '2.3.x' into 2.4.x
4 years ago
Phillip Webb
c404a50a2e
Allow test to use snapshot/milestone repo
...
Update `spring-boot-maven-plugin` `settings.xml` so that milestone and
snapshot dependencies can be resolved.
See gh-23936
4 years ago
Phillip Webb
cff09df3fe
Merge branch '2.4.x'
4 years ago
Phillip Webb
003f2f9521
Merge branch '2.3.x' into 2.4.x
4 years ago
Phillip Webb
faaa5e4186
Fix BOM attached sourceSet
...
See gh-23936
4 years ago
Phillip Webb
59b8fb5b49
Merge branch '2.4.x'
...
Closes gh-25079
4 years ago
Phillip Webb
db52bf3d7a
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25078
4 years ago
Phillip Webb
40c1748e3c
Remove hardcoded versions from MavenBuild
...
Use the dependencies BOM to ensure versions used in the `MavenBuild`
test class are always aligned.
Closes gh-23936
4 years ago
Phillip Webb
d8b6960997
Merge branch '2.4.x'
...
Closes gh-25077
4 years ago
Phillip Webb
257608a3a3
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25076
4 years ago
Phillip Webb
939b5dfc26
Add junit-platform-launcher dependency
...
Update `build.gradle` files to ensure that `junit-platform-launcher` is
a `testRuntimeOnly` dependency. This ensures that tests can be run from
Eclipse.
Closes gh-25074
4 years ago
Madhura Bhave
c73e3cc2dc
Update documentation for layered wars
...
Closes gh-22821
Closes gh-22195
4 years ago
Madhura Bhave
1245e5eec9
Add support for creating layered war files with Gradle
...
See gh-22195
4 years ago
Phillip Webb
c76a0f7a81
Merge branch '2.4.x'
...
Closes gh-25043
4 years ago
Phillip Webb
ca9b612e27
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25042
4 years ago
jongmin92
23ecb86089
Document missing code to run Gradle bootRun task
...
See gh-25012
4 years ago
Madhura Bhave
82ac7eef91
Update tests following code changes
...
See gh-22821
4 years ago
Madhura Bhave
9a32f67802
Fix formatting
4 years ago
Madhura Bhave
152698f2b2
Add support for creating layered war files with Maven
...
See gh-22821
4 years ago
Phillip Webb
c9a2c4e326
Merge branch '2.4.x'
4 years ago
Phillip Webb
d06407ec0a
Update copyright year of changed files
4 years ago
Phillip Webb
b1f27b7604
Merge branch '2.4.x'
...
Closes gh-24995
4 years ago
Phillip Webb
522f68cb40
Merge branch '2.3.x' into 2.4.x
...
Closes gh-24994
4 years ago
Phillip Webb
464b302655
Set withTestKitDir per Gradle version
...
Attempt to fix cache locking issues by setting a unique `withTestKitDir`
directory for each tested Gradle version.
Closes gh-24993
4 years ago
Andy Wilkinson
f3fd55dac6
Merge branch '2.4.x'
...
Closes gh-24976
4 years ago
Andy Wilkinson
9c8645dec2
Merge branch '2.3.x' into 2.4.x
...
Closes gh-24975
4 years ago
Andy Wilkinson
46d908f632
Upgrade to Gradle 6.8.1
...
Closes gh-24737
4 years ago
Stephane Nicoll
2c2c160579
Remove deprecated code
...
See gh-24806
4 years ago
Phillip Webb
635c087694
Merge branch '2.4.x'
4 years ago
Phillip Webb
6c2ff56fba
Fix tests to also work in IDE
4 years ago
Scott Frederick
9925c4ccd2
Merge branch '2.4.x'
...
Closes gh-24794
4 years ago
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
4cc1467aba
Merge branch '2.4.x'
4 years ago