Andy Wilkinson
9fbd38ab3c
Merge branch '1.5.x' into 2.0.x
2019-03-20 16:45:26 +00:00
Andy Wilkinson
b828b398b5
Merge branch '2.1.x'
2019-03-19 17:11:45 +00:00
Andy Wilkinson
a36aa67b52
Merge branch '2.0.x' into 2.1.x
2019-03-19 17:04:41 +00:00
Spring Operator
3e2b6ac8ed
Update build and setup configuration to use HTTPS
...
See gh-16246
2019-03-19 16:58:31 +00:00
Andy Wilkinson
43c9a789ac
Merge branch '2.1.x'
2019-02-20 17:28:39 +00:00
Robert Thornton
cb6362df82
Use kotlin_module not kotlin-module to identify Kotlin module metadata
...
See gh-16004
2019-02-20 17:19:03 +00:00
Andy Wilkinson
0adea5a905
Merge branch '2.1.x'
2019-02-12 16:42:15 +00:00
Andy Wilkinson
948bafa4d8
Repackage kotlin-module metadata beneath BOOT-INF/classes
...
Closes gh-15890
2019-02-12 16:41:15 +00:00
Andy Wilkinson
342bced125
Merge branch '2.1.x'
2019-02-01 13:48:02 +00:00
Andy Wilkinson
2650a07dc9
Leave module-info.class in root of archive when repackaging
...
Closes gh-15810
2019-02-01 13:47:42 +00:00
igor-suhorukov
dfb3cd51bc
Simplify code by using for-each loop
...
See gh-15563
2018-12-25 09:58:42 +01:00
Andy Wilkinson
61d04db0d7
Minimize and centralize assumptions about build output
...
Closes gh-15471
2018-12-14 17:50:20 +00:00
Stephane Nicoll
bf88a7e466
Be more lenient when repackage is invoked several times
...
This commit makes the repackager more lenient when it is invoked several
times in the same lifecycle.
Closes gh-15034
2018-11-27 15:09:55 +01:00
Madhura Bhave
f0004c4ade
Merge branch '2.0.x'
2018-10-22 14:57:10 -07:00
dreis2211
5c0d7f4ac0
Avoid creation of unnecessary collections
...
Closes gh-14916
2018-10-22 14:54:39 -07:00
Andy Wilkinson
4a222cb4e5
Polish "Log a warning when using fallback for pid and log locations"
...
Closes gh-14519
2018-10-04 15:21:05 +01:00
Andreas Gebhardt
3f894cbeeb
Log a warning when using fallback for pid and log locations
...
See gh-14519
2018-10-04 15:19:48 +01:00
Phillip Webb
d76bba5e6f
Migrate from ExpectedException rule to AssertJ
...
Replace ExpectedException JUnit rules with AssertJ exception
assertions.
Closes gh-14336
2018-10-02 10:55:28 -07:00
Andy Wilkinson
1332fcb0ad
Polish "Issue a warning from launch script when app will run as root"
...
Closes gh-10275
2018-09-11 12:12:43 +01:00
Oliver B. Fischer
94ebd33747
Issue a warning from launch script when app will run as root
...
See gh-10275
2018-09-11 12:12:05 +01:00
Phillip Webb
9d1b3a2b49
Merge branch '2.0.x'
2018-09-04 16:25:17 -07:00
Phillip Webb
cafff43022
Update copyright header of changed files
2018-09-04 16:19:05 -07:00
Stephane Nicoll
c00fc6449b
Merge branch '2.0.x'
2018-08-15 14:37:40 +03:00
dreis2211
59d911d6e0
Remove @UsesUnsafeJava annotations
...
Closes gh-14072
2018-08-15 14:36:51 +03:00
Phillip Webb
1b91c0ceb7
Merge branch '2.0.x'
2018-07-29 09:29:57 +01:00
Phillip Webb
0ec22c8bf9
Polish copyright date on changed files
2018-07-29 09:29:29 +01:00
Phillip Webb
80da9cf5eb
Merge branch '2.0.x'
2018-07-29 09:28:56 +01:00
Phillip Webb
aeb885192e
Polish ternary expressions
2018-07-29 09:24:46 +01:00
Phillip Webb
a6c9c92f2e
Merge branch '2.0.x'
2018-07-28 01:35:43 +01:00
Phillip Webb
63b609827e
Fix checkstyle method order issues
...
Fix checkstyle issues with method ordering following the
spring-javaformat upgrade.
See gh-13932
2018-07-28 01:11:53 +01:00
Phillip Webb
e6a68b39a3
Fix checkstyle javadoc issues
...
Fix checkstyle issues in javadoc following the spring-javaformat
upgrade.
See gh-13932
2018-07-28 01:11:52 +01:00
Phillip Webb
7fc455654a
Fix checkstyle ternary issues
...
Fix checkstyle issues with ternary expressions following the
spring-javaformat upgrade.
See gh-13932
2018-07-28 01:11:52 +01:00
Andy Wilkinson
918191664a
Merge branch '2.0.x'
2018-07-09 13:39:30 +01:00
Andy Wilkinson
9eb5c9bd18
Merge branch '1.5.x' into 2.0.x
2018-07-09 13:39:11 +01:00
Andy Wilkinson
c12f8298e6
Merge branch '2.0.x'
2018-06-19 20:06:58 +01:00
Andy Wilkinson
814e90805e
Merge branch '1.5.x' into 2.0.x
2018-06-19 20:06:44 +01:00
Stephane Nicoll
b17c58b114
Merge branch '2.0.x'
2018-05-14 08:23:36 +02:00
Johnny Lim
3dd2f5bb05
Polish
...
See gh-13148
2018-05-14 08:19:10 +02:00
Stephane Nicoll
b0433d66c1
Merge branch '2.0.x'
2018-05-11 14:24:13 +02:00
dreis2211
e6a23fa3ff
Remove unnecessary semicolons
...
Closes gh-13144
2018-05-11 14:23:47 +02:00
Andy Wilkinson
07251a09d1
Merge branch '2.0.x'
2018-05-11 10:32:05 +01:00
Andy Wilkinson
d9d7499ae6
Merge branch '1.5.x' into 2.0.x
2018-05-11 10:31:52 +01:00
Stephane Nicoll
00a43d8f4d
Merge branch '2.0.x'
2018-05-11 10:01:30 +02:00
Johnny Lim
75e591e76e
Polish
...
Closes gh-13130
2018-05-11 10:00:15 +02:00
Phillip Webb
8c0c0ee55a
Merge branch '2.0.x'
2018-05-03 12:44:58 -07:00
Phillip Webb
e125085993
Merge branch '1.5.x' into 2.0.x
2018-05-03 12:43:50 -07:00
Stephane Nicoll
40b7e02793
Polish "Add support for environment variables"
...
Closes gh-12800
2018-04-24 15:48:54 +02:00
Dmytro Nosan
95f7e3ca37
Add support for environment variables
...
See gh-12800
2018-04-24 14:48:54 +02:00
Phillip Webb
685babc829
Polish "Use lambdas for map entry iteration where possible"
...
Closes gh-12626
2018-04-04 19:36:18 -07:00
igor-suhorukov
69bc19e0ca
Use lambdas for map entry iteration where possible
...
See gh-12626
2018-04-04 19:36:10 -07:00
Andy Wilkinson
6d16c5ff6e
Omit libraries with null destination when repackaging
...
Closes gh-12437
2018-03-12 13:33:42 +00:00
dreis2211
3adced9962
Remove workaround for JDK-8023130 in RunProcess
...
With JDK 8 being the baseline and JDK 7 not being supported anymore we
can get rid of the workaround for a JDK 7 bug in
ProcessBuilder.inheritIO on Windows machines.
Closes gh-12337
2018-03-05 10:39:28 +00:00
Andy Wilkinson
fdb9a1ea8f
Consider time in BuildInfo up-to-date checks and allow it to be set
...
Closes gh-12111
Closes gh-12266
2018-02-27 20:09:07 +00:00
Phillip Webb
29c3be3590
Polish
2018-02-26 10:26:02 -08:00
Stephane Nicoll
306c79f0de
Merge branch '1.5.x'
2018-02-26 18:03:32 +01:00
Johnny Lim
d441a8a89a
Polish
...
Closes gh-12205
2018-02-24 11:53:25 +01:00
Phillip Webb
4b9c3c137e
Polish Collection.toArray
...
Consistently use `StringUtils.toStringArray`, `ClassUtils.toClassArray`
or zero length when converting collections to arrays.
Fixes gh-12160
2018-02-22 21:11:30 -08:00
Johnny Lim
88b184ca23
Polish
2018-02-19 20:00:20 -08:00
Andy Wilkinson
e1ab62668f
Merge branch '1.5.x'
2018-02-13 15:05:28 +00:00
Andy Wilkinson
1d2b85b2b8
Ensure that TestJarFile uses insertion order for jar's entries
...
Previously, the order of the entries in a TestJarFile was determined
by the underlying file system rather than by the order in which
they were added. This could lead to unpredicatable ordering and
failures in tests that verify archive entry ordering.
This commit updates TestJarFile to add entries to the archive in
insertion order.
See gh-11695
See gh-11696
2018-02-01 13:07:50 +00:00
Andy Wilkinson
b2dad7f1c4
Rework entry ordering of repackaged archives
...
Previously, the Repackager would write entries in the following
order:
- Libraries that require unpacking
- Existing entries
- Application classes
- WEB-INF/lib jars in a war
- Libraries that do not require unpacking
- Loader classes
Libraries that require unpacking were written before existing entries
so that, when repackaging a war, an entry in WEB-INF/lib would not
get in first and prevent a library with same location from being
unpacked. However, this had the unwanted side-effect of changing
the classpath order when an entry requires unpacking.
This commit reworks the handling of existing entries and libraries
that require unpacking so that existing entries can be written first
while also marking any that match a library that requires unpacking
as requiring unpacking.
Additionally, loader classes are now written first. They are the
first classes in the jar that will be used so it seems to make sense
for them to appear first. This aligns Maven-based repackaging
with the Gradle plugin's behaviour and with the structure documented
in the reference documentation's "The Executable Jar Format" appendix.
The net result of the changes described above is that entries are
now written in the following order:
- Loader classes
- Existing entries
- Application classes
- WEB-INF/lib jars in a war marked for unpacking if needed
- Libraries
Closes gh-11695
Closes gh-11696
2018-02-01 11:38:33 +00:00
Phillip Webb
886b39293c
Merge branch '1.5.x'
2018-01-30 12:51:45 -08:00
andrey.onufreyko
b19dcb13e2
Replace string arguments with char
...
Optimize method calls by replacing single character String arguments
with char.
Closes gh-11680
2018-01-22 16:35:06 -08:00
Andy Wilkinson
54c0cf513b
Polish
2018-01-17 19:03:23 +00:00
Stephane Nicoll
d43346d6c2
Polish "Fix potential resource leaks"
...
Closes gh-11624
2018-01-17 13:56:53 +01:00
igor-suhorukov
5a4238acfc
Fix potential resource leaks
...
See gh-11624
2018-01-17 13:54:50 +01:00
Madhura Bhave
8102dc78cb
Remove redundant throws declarations
2017-12-29 12:10:13 -08:00
Johnny Lim
8f7ab95e0e
Use BufferedReader.lines()
...
Closes gh-11436
2017-12-27 16:44:27 +01:00
Phillip Webb
5ca608330c
Merge branch '1.5.x'
2017-12-13 13:07:18 -08:00
Stephane Nicoll
23218add90
Polish
2017-12-12 11:57:30 +01:00
Johnny Lim
6d54072e04
Remove "final" keywords
...
Closes gh-11294
2017-12-08 11:13:07 -08:00
Johnny Lim
44299bb980
Polish
...
Closes gh-11206
2017-11-29 09:37:36 -08:00
Johnny Lim
bd0dcfb172
Utilize StandardCharsets
...
Closes gh-10972
2017-11-10 09:49:13 +01:00
Johnny Lim
c05a299520
Polish
...
Closes gh-10921
2017-11-06 12:28:43 +01:00
Johnny Lim
84d137d41d
Restore execution permission on launch.script
...
Restore the execute permission that was accidentally removed in
commit 5ee28a08e1
.
Closes gh-10801
2017-11-02 23:22:17 -07:00
Stephane Nicoll
4dcc354f86
Merge branch '1.5.x'
2017-10-30 16:31:50 +01:00
Stephane Nicoll
a688613fb4
Merge branch '1.5.x'
2017-10-29 14:11:26 +01:00
Stephane Nicoll
dd90f071c6
Bump ASM version to be Java 8+ compatible
...
Closes gh-10647
2017-10-17 16:29:06 +02:00
dreis2211
3b71393e0a
Use Assert.state() with Supplier where possible
...
See gh-10658
2017-10-17 15:35:59 +02:00
Phillip Webb
748e0779b6
Update copyright year for changed files
2017-10-10 11:56:13 -07:00
Phillip Webb
b87f9c11f1
Fix POMs for the updated build/release process
...
Fix POMs following project relocations and apply CI friendly Maven
conventions.
See gh-9316
2017-10-04 16:34:38 -07:00
Phillip Webb
0ba4830b4f
Relocate projects to spring-boot-project
...
Move projects to better reflect the way that Spring Boot is released.
The following projects are under `spring-boot-project`:
- `spring-boot`
- `spring-boot-autoconfigure`
- `spring-boot-tools`
- `spring-boot-starters`
- `spring-boot-actuator`
- `spring-boot-actuator-autoconfigure`
- `spring-boot-test`
- `spring-boot-test-autoconfigure`
- `spring-boot-devtools`
- `spring-boot-cli`
- `spring-boot-docs`
See gh-9316
2017-10-04 16:34:23 -07:00