Stephane Nicoll
7d860df5f0
Polish
2 years ago
Stephane Nicoll
b0bc7cd85b
Reuse JavaProcessExecutor
...
See gh-31682
2 years ago
Stephane Nicoll
c3ae6519f4
Reuse SpringApplicationClassFinder
...
See gh-31682
2 years ago
Stephane Nicoll
472b0b8bcb
Remove AbstractApplicationRunMojo intermediate layer
...
This commit reverts the intermediate layer that was created to
accommodate with the AOT use case.
See gh-31682
2 years ago
Stephane Nicoll
6f8b9288f3
Extract AotGenerateMojo to its own structure
...
This commit stops AotGenerateMojo from being an extension of the
regular run infrastructure and used the opportunity to extract a
number of utility classes to run a Java process.
As a result, not all features of running an application is supported
and exposed options now are targeted against AOT.
See gh-31682
2 years ago
Phillip Webb
7377d85096
Merge branch '2.7.x'
...
Closes gh-31866
2 years ago
Phillip Webb
a4ef6a7c5c
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31865
2 years ago
Marc Wrobel
dbfc6bded4
Fix typos in code and documentation
...
See gh-31734
2 years ago
Scott Frederick
6f65777035
Merge branch '2.7.x'
...
Closes gh-31827
2 years ago
Scott Frederick
9da38c8d2d
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31826
2 years ago
Scott Frederick
4e0b3aad9f
Clarify how docker image publishing registry is determined
...
Closes gh-31820
2 years ago
Scott Frederick
cf7a163c6d
Merge branch '2.7.x'
2 years ago
Scott Frederick
f9cf31e59e
Fix compile errors
...
See gh-28844
2 years ago
Scott Frederick
36d6106bb0
Merge branch '2.7.x'
...
Closes gh-31825
2 years ago
Scott Frederick
09c7ce6dab
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31824
2 years ago
Scott Frederick
9b0cdac58a
Simplify support for pushing images to unauthenticated registries
...
This commit removes the requirement that `docker.publishRegistry`
configuration must be provided when an image is published by the Gradle
or Maven plugin.
Fixes gh-28844
2 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
2 years ago
dreis2211
fb45fc4819
Use Files.writeString() and Files.readString() where possible
...
See gh-31459
2 years ago
dreis2211
a639685053
Remove obsolete Java compatibility code
...
See gh-31452
2 years ago
Stephane Nicoll
e2c42e4bbf
Merge branch '2.7.x'
...
Closes gh-31262
2 years ago
Stephane Nicoll
8e550933a8
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31261
2 years ago
Stephane Nicoll
bbb5966bca
Upgrade integration tests to Apache Maven 3.8.5
...
Closes gh-31260
2 years ago
Stephane Nicoll
1c94f835c7
Copy AOT-generated classes
...
Closes gh-31245
2 years ago
Stephane Nicoll
0dbcb5f6d3
Start building against Spring Framework 6.0.0-M5 snapshots
...
See gh-31241
2 years ago
Andy Wilkinson
36a60d8e2e
Merge branch '2.7.x'
...
Closes gh-31181
3 years ago
Andy Wilkinson
137318a845
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31180
3 years ago
Damiano Albani
3f91ed037f
Fix Custom Layers Configuration section title in Maven plugin docs
...
See gh-31172
3 years ago
Andy Wilkinson
935d1264e0
Merge branch '2.6.x' into 2.7.x
3 years ago
Andy Wilkinson
14af1bb2dc
Polish
3 years ago
Andy Wilkinson
5dfa5adb75
Merge branch '2.7.x'
...
Closes gh-31178
3 years ago
Andy Wilkinson
455ee0ce22
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31177
3 years ago
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
3 years ago
Phillip Webb
68bd9d6b6d
Merge branch '2.7.x'
3 years ago
Phillip Webb
06679a4c46
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31128
3 years ago
Phillip Webb
9fa33e5645
Merge branch '2.5.x' into 2.6.x
...
Closes gh-31127
3 years ago
Phillip Webb
05a6447a8d
Polish "Resolve errors in layers.xsd"
...
Validate loaded `layer.xml` files against the XSD and additionally
update `<layers>` sub elements to have a 'minOccurs' of 0.
See gh-31126
3 years ago
Liuzh
0d78323b60
Resolve errors in layers.xsd
...
Update `layer-*.xsd` files with following fixes:
- Rename <includeProjectDependencies> to <includeModuleDependencies>
- Rename <excludeProjectDependencies> to <excludeModuleDependencies>
See gh-31126
3 years ago
Andy Wilkinson
c4beca3e01
Fix Maven-based AOT generation on Windows
...
Closes gh-30525
3 years ago
Phillip Webb
f8a41d34aa
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
bcc27c5d22
Deleting existing output before running AOT processing
...
Closes gh-30981
3 years ago
Andy Wilkinson
08768b5821
Join compile classpath using system-dependent separator
...
See gh-30525
3 years ago
Andy Wilkinson
0ce6e437a9
Align AotGenerateTests with spring.factories changes in Framework
3 years ago
Phillip Webb
8cf63a28b8
Update AOT work to latest Framework code
3 years ago
Andy Wilkinson
541ab69aff
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
4cd850cfc0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30851
3 years ago
Andy Wilkinson
fa327a783d
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30850
3 years ago
Andy Wilkinson
4fd2e0c916
Polish "Fix typos"
...
See gh-30773
3 years ago
Andy Wilkinson
f6d24dc1a8
Fix typos
...
See gh-30773
3 years ago
Stephane Nicoll
e81c6337c6
Add support for invoking AOT to the Maven Plugin
...
This commit adds an `aot-generate` goal to the Maven Plugin that
triggers AOT generation on the application. The new goal shares a
number of properties with the existing `run` goal and uses the same
algorithm to detect the main class to use.
Closes gh-30525
3 years ago
Phillip Webb
7a6ca8ce25
Merge branch '2.7.x'
3 years ago
Phillip Webb
dd5696b59b
Update copyright year of changed files
3 years ago
Scott Frederick
e32511516e
Merge branch '2.7.x'
3 years ago
Scott Frederick
ef79a18514
Use provided scope for Maven core dependencies in Maven plugin
...
Fixes gh-29520
3 years ago
Stephane Nicoll
5f66019706
Remove the ability to run an application in the Maven process
...
Closes gh-30501
3 years ago
Stephane Nicoll
13c9c1adb5
Merge branch '2.7.x'
3 years ago
Stephane Nicoll
2c5398898b
Polish "Deprecate running an application in the Maven JVM"
...
See gh-30479
3 years ago
Stephane Nicoll
c21b4a5280
Merge branch '2.7.x'
3 years ago
Stephane Nicoll
09696c90c7
Deprecate running an application in the Maven JVM
...
This commit deprecates the "fork" property so that the application
always runs in a dedicated process. This aligns with the behaviour of
the Gradle plugin, and simplifies the lifecycle of certain features that
would not work in a non-forked process.
Closes gh-30479
3 years ago
Scott Frederick
377b13c048
Merge branch '2.7.x'
3 years ago
Scott Frederick
de321b00b7
Support podman for building images
...
Closes gh-30196
3 years ago
Scott Frederick
5e07db7d21
Merge branch '2.7.x'
3 years ago
Scott Frederick
7ad538cd84
Add option to use configured Docker host in builder
...
This commit adds support for a `docker.bindHostToBuilder` option in
the Maven and Gradle image building goal and task.
Fixes gh-29384
3 years ago
Stephane Nicoll
41fb9cf562
Merge branch '2.7.x'
3 years ago
Stephane Nicoll
f812b33cbd
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29613
3 years ago
Stephane Nicoll
136b5959c3
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29612
3 years ago
Stephane Nicoll
7f17f819a6
Polish "Enforce use of BDDMockito"
...
See gh-29178
3 years ago
Yanming Zhou
b49418aaaf
Enforce use of BDDMockito
...
1. Replace Mockito.verify*() with BDDMockito.then()
2. Replace Mockito.doReturn() with BDDMockito.willReturn()
3. Adjust checkstyle rule
See gh-29178
3 years ago
Andy Wilkinson
f2ac7d10ef
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
8480abca20
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29561
3 years ago
Andy Wilkinson
fe43d527b5
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29560
3 years ago
Andy Wilkinson
3ed65f2383
Avoid running Maven plugin ITs for each s-b-dependencies change
...
Closes gh-28781
3 years ago
Scott Frederick
c78b157e95
Merge branch '2.7.x'
3 years ago
Scott Frederick
8f57f0babb
Add classpath index support for exploded war archives
...
Update the Maven and Gradle packaging for war files so that a
`classpath.idx` file is written into the archive that provides the
original order of the classpath, as was previously done for jar files.
The `WarLauncher` class will use this file when running as an exploded
archive to ensure that the classpath order is the same as when running
from the far war.
Fixes gh-19875
3 years ago
Scott Frederick
16f54d2c5c
Merge branch '2.7.x'
3 years ago
Scott Frederick
61fb9f83df
Merge branch '2.6.x' into 2.7.x
...
Closes gh-28905
3 years ago
Scott Frederick
ab0cc55e20
Merge branch '2.5.x' into 2.6.x
...
Closes gh-28904
3 years ago
Scott Frederick
467c092fdc
Remove classpath index manifest attribute from repackaged war files
...
Fixes gh-28895
3 years ago
Andy Wilkinson
fe7b13ec46
Upgrade to Spring Framework 6 and Jakarta EE 9
...
Closes gh-28619
Closes gh-28620
Closes gh-28621
Closes gh-28622
Closes gh-28623
Closes gh-28624
Closes gh-28625
Closes gh-28626
Closes gh-28627
Closes gh-28628
Closes gh-28629
Closes gh-28630
Closes gh-28631
Closes gh-28632
Closes gh-28633
Closes gh-28634
Closes gh-28635
Closes gh-28636
Closes gh-28638
Closes gh-28639
Closes gh-28640
Closes gh-28644
Closes gh-28645
Closes gh-28650
Closes gh-28711
Closes gh-28866
Closes gh-28867
Closes gh-28868
Closes gh-28872
See gh-28641
See gh-28642
See gh-28643
See gh-28646
See gh-28647
See gh-28648
See gh-28649
See gh-28721
See gh-28869
See gh-28871
3 years ago
Andy Wilkinson
900085628a
Raise the minimum supported version of Java to 17
...
Closes gh-28101
3 years ago
Andy Wilkinson
e06b0d97f7
Update main branch to start work on 3.0.x
3 years ago
Andy Wilkinson
86a773a8e9
Update main branch to start work on 2.7.x
3 years ago
Andy Wilkinson
2a342ef416
Merge branch '2.5.x'
...
Closes gh-28662
3 years ago
Andy Wilkinson
5e4a502b2d
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28661
3 years ago
Andy Wilkinson
2cec3971d7
Prohibit unwanted dependencies in all modules not just starters
...
Closes gh-28658
3 years ago
Stephane Nicoll
98d3e99ac9
Merge branch '2.5.x'
...
Closes gh-28550
3 years ago
Stephane Nicoll
91f7ff3ba3
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28549
3 years ago
Stephane Nicoll
188278ae4a
Polish "Fix typo"
...
See gh-28548
3 years ago
Scott Frederick
e84c1abb0f
Prevent Docker volume name clashes in tests during parallel builds
...
See gh-28292
3 years ago
Scott Frederick
871468931f
Polish "Add option to customize cache volume names when building an image"
...
See gh-28292
3 years ago
Julian Liebig
dc36346285
Add option to customize cache volume names when building an image
...
This commit adds configuration to the Maven and Gradle plugins to
allow specifying the names of build and launch cache volumes provided
to the CNB builder.
See gh-28292
3 years ago
Phillip Webb
f4bd8956af
Polish "Allow build info properties to be excluded"
...
Update the Maven plugin to use an alternative syntax to exclude
the info properties and apply some minor polishing.
See gh-27412
3 years ago
Vedran Pavic
ea9faf8690
Allow build info properties to be excluded
...
Update Maven and Gradle plugins to allow build info properties to be
excluded.
Prior to this commit, the `BuildPropertiesWriter` would fail with an
NPE if the group, artifact, name or version properties were `null`.
This was specifically problematic with the Gradle plugin, since its
DSL allows `null` properties which would either be passed to the writer
or, in the case of `artifact`, converted into a string value of
"unspecified".
See gh-27412
3 years ago
Leo Li
1770f065a5
Polish
...
See gh-28239
3 years ago
Vincent Ricard
873bca36c4
Replace latin locutions in the documentation
...
See gh-28141
3 years ago
Scott Frederick
64c49003aa
Polish "Add option to create tags for a built image"
...
See gh-27613
3 years ago
Rafael Ceccone
66f44b0c7f
Add option to create tags for a built image
...
This commit adds configuration to the Maven and Gradle plugins to
allow specifying multiple tag to be created that refer to the built
image.
See gh-27613
3 years ago
Phillip Webb
55a1ec72cc
Update copyright year of changed files
3 years ago
Phillip Webb
4c2c4ec16c
Merge branch '2.5.x'
3 years ago
Phillip Webb
5ba69634c9
Merge branch '2.4.x' into 2.5.x
3 years ago
Phillip Webb
dfd36673f7
Update copyright year of changed files
3 years ago
dreis2211
cf0fcafd13
Polish
...
See gh-27940
3 years ago
Andy Wilkinson
8362ff9b54
Merge branch '2.5.x'
...
Closes gh-27886
3 years ago
Andy Wilkinson
ba19577646
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27885
3 years ago
Andy Wilkinson
93ac6455d3
Document that starter parent enables compilation with -parameters
...
Closes gh-27762
3 years ago
Scott Frederick
f386ebe61d
Remove tests that rely on an unpredictable order of repackaged libs
...
See gh-27436
3 years ago
Scott Frederick
40a9c4d90f
Sort repackaged libraries in a reproducible Maven build
...
When a Maven build is configured to ensure reproducibility, any
libraries added to `BOOT-INF/lib` in a jar archive or to `WEB-INF/lib`
in a war archive by the Spring Boot plugin repackaging should be
sorted by name to ensure a stable and predictable order.
Fixes gh-27436
3 years ago
Andy Wilkinson
fd2fbcb3c6
Merge branch '2.5.x'
...
Closes gh-27758
3 years ago
Andy Wilkinson
6d8ba3e8b1
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27757
3 years ago
Andy Wilkinson
ffbd28b60a
Polish "Polish access modifiers for test classes"
...
See gh-27736
3 years ago
izeye
8a425dedfd
Polish access modifiers for test classes
...
See gh-27736
3 years ago
Scott Frederick
2178c281e9
Polish "Add network option for image building"
...
See gh-27486
3 years ago
Jeroen Meijer
8e6d03b221
Add network option for image building
...
This commit adds configuration to the Maven and Gradle plugins to
allow specifying the network mode to be provided to the image
building goal and task.
See gh-27486
3 years ago
Scott Frederick
dc5bf0368d
Merge branch '2.5.x'
...
Closes gh-27536
3 years ago
Scott Frederick
f60d998ea1
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27535
3 years ago
Scott Frederick
5d793afcb5
Prevent hanging when deleting Docker builder container after exception
...
An exception being thrown while the Maven plugin is uploading the app
archive bits to an ephemeral builder container would leave the
interaction with the Docker daemon in a state that caused further
interaction with the daemon (such as deleting the ephemeral builder)
to hang indefinitely. This commit cleans up the connection on an
exception to prevent this condition.
Fixes gh-27515
3 years ago
Stephane Nicoll
6f4d8449be
Initiate layers-2.6
...
See gh-27326
3 years ago
Stephane Nicoll
b393031dbe
Merge branch '2.5.x'
...
Closes gh-27326
3 years ago
Stephane Nicoll
d8f9a20221
Add missing XSD version for layers configuration
...
Closes gh-27321
3 years ago
Stephane Nicoll
dc5acb0019
Remove deprecated code flagged for removal
...
Closes gh-27303
3 years ago
Phillip Webb
6102f10639
Merge branch '2.5.x'
3 years ago
Phillip Webb
2c518f1dff
Merge branch '2.4.x' into 2.5.x
3 years ago
Phillip Webb
a76e5c043e
Update copyright year of changed files
3 years ago
Phillip Webb
5fc0e1ca81
Merge branch '2.5.x'
...
Closes gh-27057
3 years ago
Phillip Webb
af37f59136
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27056
3 years ago
Madhura Bhave
b790c82732
Apply exclusions to existing war entries
...
Update `RepackageMojo` and supporting classes so that `exclusions`
on the repackage goal apply to both the contributed libraries and any
existing jar entries already contained in the original war.
Prior to this commit, exclusions would apply to contributed jars (for
example, those in `WEB-INF/lib-provided`) but not jars that were
packaged directly into `WEB-INF/lib` by the war plugin
Fixes gh-15808
Co-authored-by: Phillip Webb <pwebb@vmware.com>
3 years ago
Andy Wilkinson
0ec598c99d
Merge branch '2.5.x'
3 years ago
Andy Wilkinson
9e2339b5d0
Merge branch '2.4.x' into 2.5.x
3 years ago
Andy Wilkinson
16bfa669e1
Polish authors separators
3 years ago
Andy Wilkinson
bc715c64b1
Merge branch '2.5.x'
...
Closes gh-26892
3 years ago
Andy Wilkinson
5f26fd9ccb
Merge branch '2.4.x' into 2.5.x
...
Closes gh-26891
3 years ago
Andy Wilkinson
f6b7730dac
Use Asciidoctor's revision line to provide document's version
...
Using the revision line means that the revision number is automatically
set. The revision number is then included by the HTML and PDF backends
in the standard location. In the HTML backend that's alongside the
list of authors. In the PDF backend that's on the title page.
Closes gh-26851
3 years ago
Stephane Nicoll
b7f126020e
Update copyright year of change file
...
See gh-26422
3 years ago
Marcus Klimstra
10ffaffb7b
Improve configuration of Start and Stop goals
...
See gh-26422
3 years ago
Stephane Nicoll
a1183c4641
Polish "Reproducible build for spring-boot-maven-plugin:build-info"
...
See gh-26221
3 years ago
Slawomir Jaranowski
2dec6dd552
Reproducible build for spring-boot-maven-plugin:build-info
...
See gh-26221
3 years ago
Phillip Webb
f798f26596
Merge branch '2.4.x'
3 years ago
Phillip Webb
4d62e47c5d
Merge branch '2.3.x' into 2.4.x
3 years ago
Phillip Webb
9e1c78da99
Update copyright year of changed files
3 years ago
Phillip Webb
d19b2681ab
Rework build-image-customization table in docs
...
Collapse parameter name and user property into a single column to give
a little more room for the description and default value.
Closes gh-25739
3 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
2dbf39c738
Polish asciidoc formatting
4 years ago
Phillip Webb
8a3f835ffe
Set Asciidoctor attribute-missing to warn
...
Closes gh-26590
4 years ago
Stephane Nicoll
d3c817b7ba
Polish "Remove unnecessary throws declaration in tests"
...
See gh-26441
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
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
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