Commit Graph

24751 Commits

Author SHA1 Message Date
Andy Wilkinson
f06af5a79b Only attempt to publish a build scan when we can authenticate 2020-01-16 10:06:16 +00:00
Andy Wilkinson
9d5975bd09 Upgrade to Gradle 6.1
Closes gh-19772
2020-01-16 10:00:45 +00:00
Andy Wilkinson
4c8626ea56 Allow Boot's Jetty error handler to be overridden
Fixes gh-19520
2020-01-16 09:33:22 +00:00
Andy Wilkinson
adda1936f5 Merge branch '2.2.x' 2020-01-16 09:17:45 +00:00
Andy Wilkinson
a162c8ac0b Revert "Build against Micrometer 1.3.3 snapshots"
The release didn't happen in time for 2.2.3.

See gh-19645
2020-01-16 09:16:58 +00:00
Andy Wilkinson
b6ea9d212d Merge branch '2.1.x' into 2.2.x 2020-01-16 09:16:07 +00:00
Andy Wilkinson
8f209ced6d Revert "Start building against Micrometer 1.1.10 snapshots"
The release did not happen in time for 2.1.12.

See gh-19649.
2020-01-16 09:13:09 +00:00
Phillip Webb
8fde088574 Add layered jar layout support to the maven plugin
Update the Maven plugin with a new `LAYERED_JAR` layout option.

See gh-19768
2020-01-15 23:33:29 -08:00
Madhura Bhave
e9d61bac75 Support generation and loading of layered jars
Support an alternative fat jar format that is more amenable to Docker
image layers.

The new format arranges files in the following structure:

	BOOT-INF/
	  layers/
	    <layer-name #1>
	      /classes
	      /lib
	    <layer-name #2>
	      /classes
	      /lib

The `BOOT-INF/layers.idx` file provides the names of the layers and the
order in which they should be added (starting with the least changed).

The `JarLauncher` class can load layered jars in both fat and exploded
forms.

Closes gh-19767

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2020-01-15 23:32:58 -08:00
Madhura Bhave
45b1ab46c3 Add classpath index support for exploded archives
Update the `Repackager` class so that an additional `classpath.idx` file
is written into the jar that provides the original order of the
classpath. The `JarLauncher` class now uses this file when running as
an exploded archive to ensure that the classpath order is the same as
when running from the far jar.

Closes gh-9128

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2020-01-15 23:31:17 -08:00
Phillip Webb
ad72f86bdb Polish loader and loader-tools
Polish and refactor `spring-boot-loader` and `spring-boot-loader-tools`
to make it easier to add indexing and layering support.

Closes gh-19766
2020-01-15 23:29:11 -08:00
Andy Wilkinson
56e30258fb Merge branch '2.2.x' 2020-01-15 20:45:42 +00:00
Andy Wilkinson
b7e250eb04 Merge branch '2.1.x' into 2.2.x 2020-01-15 20:45:24 +00:00
Andy Wilkinson
ebebe09a9d Fix file handle leak in JarFileTests
The JarFile was not being closed which linked a file handle and caused
a test failure on Windows.

The local variable has been renamed as, when declared in a
try-with-resources, Checkstyle was confused by the shadowing of the
jarFile field and required references to jarFile within the try-block
the be prefixed with this.

See gh-19595
2020-01-15 20:43:54 +00:00
Andy Wilkinson
2d197519b5 Merge branch '2.2.x' 2020-01-15 20:37:24 +00:00
Andy Wilkinson
18462796bf Upgrade to Spring Kafka 2.3.5
Closes gh-19613
2020-01-15 20:36:13 +00:00
Andy Wilkinson
072b253b14 Upgrade to Spring Integration 5.2.3
Closes gh-19647
2020-01-15 20:35:31 +00:00
Andy Wilkinson
cef9f0f3f5 Upgrade to Spring AMQP 2.2.3
Closes gh-19646
2020-01-15 20:34:06 +00:00
Andy Wilkinson
ce7f501cf9 Revert "Publish a build scan only when authenticated"
publishIfAuthenticated() does not appear to work as intended as it
disables publishing even when authenticated.
2020-01-15 20:31:52 +00:00
Andy Wilkinson
8d6ead223f Publish a build scan only when authenticated 2020-01-15 20:14:41 +00:00
Andy Wilkinson
13130cc37d Merge branch '2.2.x' 2020-01-15 19:41:01 +00:00
Andy Wilkinson
72faeeaade Merge branch '2.1.x' into 2.2.x 2020-01-15 19:40:51 +00:00
Andy Wilkinson
b982bbec37 Upgrade to Spring Kafka 2.2.12.RELEASE
Closes gh-19761
2020-01-15 19:40:29 +00:00
Andy Wilkinson
5c7bd33fed Upgrade to Spring AMQP 2.1.13
Closes gh-19641
2020-01-15 19:38:48 +00:00
Andy Wilkinson
8a6feafe81 Configure the access key needed to publish build scans 2020-01-15 19:34:03 +00:00
Andy Wilkinson
d63d02e819 Merge branch '2.2.x' 2020-01-15 15:56:22 +00:00
Andy Wilkinson
2e8dc83a80 Upgrade to Spring Data Moore-SR4
Closes gh-19648
2020-01-15 15:09:58 +00:00
Andy Wilkinson
e6fa8530d7 Upgrade to Spring HATEOAS 1.0.3.RELEASE
Closes gh-19644
2020-01-15 15:09:58 +00:00
Andy Wilkinson
6e93ea3631 Upgrade to Spring Retry 1.2.5.RELEASE
Closes gh-19758
2020-01-15 15:09:58 +00:00
Andy Wilkinson
8d4711617f Upgrade to Slf4j 1.7.30
Closes gh-19757
2020-01-15 15:09:58 +00:00
Andy Wilkinson
5083209447 Upgrade to Postgresql 42.2.9
Closes gh-19756
2020-01-15 15:09:58 +00:00
Andy Wilkinson
89c20a3ada Upgrade to Neo4j Ogm 3.2.6
Closes gh-19755
2020-01-15 15:09:58 +00:00
Andy Wilkinson
443d1a6a21 Upgrade to Liquibase 3.8.5
Closes gh-19754
2020-01-15 15:09:58 +00:00
Andy Wilkinson
17d584fd1d Upgrade to Kotlin Coroutines 1.3.3
Closes gh-19753
2020-01-15 14:53:04 +00:00
Andy Wilkinson
57414039e6 Upgrade to Infinispan 9.4.17.Final
Closes gh-19752
2020-01-15 14:53:04 +00:00
Andy Wilkinson
2989af4cee Upgrade to Hibernate 5.4.10.Final
Closes gh-19751
2020-01-15 14:53:04 +00:00
Andy Wilkinson
911d86d232 Upgrade to Elasticsearch 6.8.6
Closes gh-19750
2020-01-15 14:53:04 +00:00
Andy Wilkinson
7ba8eed286 Upgrade to Jetty 9.4.25.v20191220
Closes gh-19749
2020-01-15 14:53:04 +00:00
Andy Wilkinson
570b1ba630 Upgrade to Groovy 2.5.9
Closes gh-19748
2020-01-15 14:53:04 +00:00
Andy Wilkinson
2d461fef37 Upgrade to Awaitility 4.0.2
Closes gh-19747
2020-01-15 14:53:03 +00:00
Andy Wilkinson
3de1abfacf Upgrade to Httpcore 4.4.13
Closes gh-19746
2020-01-15 14:53:03 +00:00
Andy Wilkinson
a77ccf7763 Upgrade to Byte Buddy 1.10.6
Closes gh-19745
2020-01-15 14:53:03 +00:00
Andy Wilkinson
d8645bafcd Upgrade to Mysql 8.0.19
Closes gh-19744
2020-01-15 14:53:03 +00:00
Andy Wilkinson
4df55a64ab Upgrade to Undertow 2.0.29.Final
Closes gh-19743
2020-01-15 14:53:03 +00:00
Andy Wilkinson
073d362078 Upgrade to Rxjava2 2.2.17
Closes gh-19742
2020-01-15 14:53:03 +00:00
Andy Wilkinson
285ae01691 Upgrade to Netty 4.1.45.Final
Closes gh-19741
2020-01-15 14:53:03 +00:00
Andy Wilkinson
d6f93704e9 Upgrade to Dropwizard Metrics 4.1.2
Closes gh-19740
2020-01-15 14:48:21 +00:00
Andy Wilkinson
cb951d1103 Upgrade to Hikaricp 3.4.2
Closes gh-19739
2020-01-15 14:48:19 +00:00
Andy Wilkinson
37e699b391 Upgrade to Unboundid Ldapsdk 4.0.14
Closes gh-19738
2020-01-15 14:48:18 +00:00
Andy Wilkinson
bbcf9e2d9f Upgrade to Okhttp3 3.14.6
Closes gh-19737
2020-01-15 14:48:13 +00:00