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
2021-02-23 13:56:57 -06:00
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
2021-02-22 16:51:24 -06:00
Stephane Nicoll
817a4c5397
Merge branch '2.4.x'
...
Closes gh-25386
2021-02-22 10:46:13 +01:00
Stephane Nicoll
7c5a5c6663
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25385
2021-02-22 10:45:55 +01:00
Stephane Nicoll
77daae1480
Update copyright year of changed file
...
See gh-25382
2021-02-22 10:41:49 +01:00
Mustafa Ulu
abc90db32f
Fix wording error in build-info goal description
...
See gh-25382
2021-02-22 10:26:53 +01:00
Scott Frederick
88e9f1d28c
Fix Maven buildpacks example in docs
...
See gh-21722
2021-02-18 18:22:36 -06:00
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
2021-02-18 17:28:25 -06:00
Andy Wilkinson
db781a0d84
Merge branch '2.4.x'
...
See gh-25077
2021-02-02 15:14:18 +00:00
Andy Wilkinson
788a42d694
Merge branch '2.3.x' into 2.4.x
...
See gh-25076
2021-02-02 15:12:27 +00:00
Andy Wilkinson
67479b6380
Add junit-platform-launcher dependency by convention
...
Closes gh-25074
2021-02-02 13:03:21 +00:00
Phillip Webb
d9f3e89395
Merge branch '2.4.x'
2021-02-01 22:11:17 -08:00
Phillip Webb
230b4ab2eb
Merge branch '2.3.x' into 2.4.x
2021-02-01 22:10:52 -08:00
Phillip Webb
630d216430
Update copyright year of changed files
2021-02-01 22:10:24 -08:00
Phillip Webb
d8b849e00d
Fix test that fails when building against SNAPSHOT
...
Update `WarIntegrationTests` do deal with a SNAPSHOT Spring Framwork
dependency.
See gh-23936
2021-02-01 22:09:04 -08:00
Phillip Webb
1eef2e1b46
Merge branch '2.4.x'
2021-02-01 19:47:11 -08:00
Phillip Webb
331c7b756b
Merge branch '2.3.x' into 2.4.x
2021-02-01 19:46:49 -08:00
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
2021-02-01 19:45:11 -08:00
Phillip Webb
cff09df3fe
Merge branch '2.4.x'
2021-02-01 17:07:28 -08:00
Phillip Webb
003f2f9521
Merge branch '2.3.x' into 2.4.x
2021-02-01 17:07:07 -08:00
Phillip Webb
faaa5e4186
Fix BOM attached sourceSet
...
See gh-23936
2021-02-01 16:51:53 -08:00
Phillip Webb
59b8fb5b49
Merge branch '2.4.x'
...
Closes gh-25079
2021-02-01 16:36:02 -08:00
Phillip Webb
db52bf3d7a
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25078
2021-02-01 16:35:46 -08:00
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
2021-02-01 16:20:55 -08:00
Phillip Webb
d8b6960997
Merge branch '2.4.x'
...
Closes gh-25077
2021-02-01 16:08:57 -08:00
Phillip Webb
257608a3a3
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25076
2021-02-01 16:03:43 -08:00
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
2021-02-01 15:31:28 -08:00
Madhura Bhave
c73e3cc2dc
Update documentation for layered wars
...
Closes gh-22821
Closes gh-22195
2021-02-01 14:43:43 -08:00
Madhura Bhave
152698f2b2
Add support for creating layered war files with Maven
...
See gh-22821
2021-01-28 12:39:19 -08:00
Stephane Nicoll
2c2c160579
Remove deprecated code
...
See gh-24806
2021-01-15 14:14:33 +01:00
Scott Frederick
210438ee5b
Merge branch '2.3.x' into 2.4.x
...
Closes gh-24689
2021-01-07 15:59:37 -06:00
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
2021-01-07 15:59:02 -06:00
Stephane Nicoll
c19f7e696e
Polish
...
See gh-24597
2021-01-04 16:39:27 +01:00
Stephane Nicoll
4cdfd6f13d
Polish "Handle missing manifest files in JarTypeFilter"
...
See gh-24597
2020-12-23 09:12:58 +01:00
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
2020-12-23 09:11:24 +01:00
Scott Frederick
4e603d9239
Merge branch '2.3.x' into 2.4.x
...
Closes gh-24538
2020-12-16 15:59:28 -06:00
Scott Frederick
e4d124dc45
Improve error message with Maven build-image and war packaging
...
Fixes gh-24522
2020-12-16 15:58:53 -06:00
Phillip Webb
30c27274e2
Merge branch '2.3.x'
...
Closes gh-24339
2020-12-04 18:31:55 -08:00
Phillip Webb
5f351a6983
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24338
2020-12-04 18:21:57 -08:00
Scott Frederick
da2276e7d4
Use stable builder and run images in integration tests
...
Fixes gh-24183
2020-11-17 13:54:10 -06:00
Scott Frederick
59e0f7317e
Avoid image pulls in integration tests
...
This commit sets the pull policy to `IF_NOT_PRESENT` where possible
in integration tests for the Maven and Gradle plugins to reduce
the number of times the default Paketo builder and run images are
pulled from Docker Hub.
Fixes gh-24113
2020-11-10 16:19:05 -06:00
Andy Wilkinson
21d97524d8
Merge branch '2.3.x'
...
Closes gh-24112
2020-11-10 17:38:30 +00:00
Andy Wilkinson
e6ab20b029
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24111
2020-11-10 17:37:41 +00:00
Andy Wilkinson
31042bfc49
Test inclusion of system scope dependencies in repackaged war
...
Closes gh-22503
2020-11-10 17:35:04 +00:00
Stephane Nicoll
b6fc0913cf
Merge branch '2.3.x'
...
Closes gh-24104
2020-11-10 17:44:05 +01:00
Stephane Nicoll
515b18e142
Merge branch '2.3.x'
...
Closes gh-24108
2020-11-10 17:10:26 +01:00
Stephane Nicoll
33d83ebc94
Merge branch '2.3.x'
2020-11-09 14:41:03 +01:00
Stephane Nicoll
6aca0275ad
Polish
2020-11-09 14:40:44 +01:00
Scott Frederick
f080bb6c25
Fix test that depended on snapshot version
...
A test case would fail to accurately capture the contents
of the layers.idx file unless the test project contained
at least one non-project snapshot dependency, which was only
true when the Spring Boot version was a snapshot.
See gh-23463
2020-10-29 19:40:13 -05:00
Phillip Webb
a41ff4dfab
Merge branch '2.3.x'
2020-10-29 09:07:57 -07:00