Phillip Webb
9bd49562fe
Update copyright year of changed files
5 years ago
Andy Wilkinson
5765cfe010
Allow 5 seconds for child to handle SIGINT before destroying it
...
Previously, when RunProcess handled a SIGINT it would immediately
attempt to destroy the process that it had run. This created a race
condition between the SIGINT being handled by the child process
and RunProcess destroying the child. The exact behavior of destroy
is implementation dependent and it may result in forcible termination
of the process where shutdown hooks are not called. This is what
happens on Windows. The exit code in such a case is 1 which prevents
anything from waiting for the process to complete from detecting
that it ended as a result of a SIGINT, leaving it with no choice but
to report an error. This is what happens with mvn spring-boot:run
with a forked process on Windows and results in the build failing.
This commit updates RunProcess to allow the child process to handle
the SIGINT itself, waiting for up to five seconds for that to happen
before the process is then destroyed. Given this time, the child
process exits with 130 which RunMojo already handles correctly as
indicating that the process died due to SIGINT and the build completes
with success as a result.
Fixes gh-18936
5 years ago
dreis2211
417bfc4c87
Fix comment position in ZipHeaderPeekInputStreamTests
...
See gh-18445
5 years ago
Phillip Webb
fb1dd8fe93
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
913e831f4e
Merge '1.5.x' into 2.0.x
5 years ago
Phillip Webb
92bff3c328
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
cfeb0239b7
Merge branch '1.5.x' into 2.0.x
5 years ago
Andy Wilkinson
2833f60344
Avoid leaving streams open when writing libraries
...
Fixes gh-17115
6 years ago
Andy Wilkinson
24925c3dae
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17078
6 years ago
Andy Wilkinson
c6c139d980
Merge branch '1.5.x' into 2.0.x
6 years ago
Phillip Webb
ccfbd03482
Merge branch '2.0.x' into 2.1.x
6 years ago
Phillip Webb
b442d3b906
Merge branch '1.5.x' into 2.0.x
6 years ago
Andy Wilkinson
e23f72c8b0
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
9fbd38ab3c
Merge branch '1.5.x' into 2.0.x
6 years ago
Robert Thornton
cb6362df82
Use kotlin_module not kotlin-module to identify Kotlin module metadata
...
See gh-16004
6 years ago
Andy Wilkinson
948bafa4d8
Repackage kotlin-module metadata beneath BOOT-INF/classes
...
Closes gh-15890
6 years ago
Andy Wilkinson
2650a07dc9
Leave module-info.class in root of archive when repackaging
...
Closes gh-15810
6 years ago
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
6 years ago
Madhura Bhave
f0004c4ade
Merge branch '2.0.x'
6 years ago
dreis2211
5c0d7f4ac0
Avoid creation of unnecessary collections
...
Closes gh-14916
6 years ago
Andy Wilkinson
4a222cb4e5
Polish "Log a warning when using fallback for pid and log locations"
...
Closes gh-14519
6 years ago
Andreas Gebhardt
3f894cbeeb
Log a warning when using fallback for pid and log locations
...
See gh-14519
6 years ago
Phillip Webb
d76bba5e6f
Migrate from ExpectedException rule to AssertJ
...
Replace ExpectedException JUnit rules with AssertJ exception
assertions.
Closes gh-14336
6 years ago
Andy Wilkinson
1332fcb0ad
Polish "Issue a warning from launch script when app will run as root"
...
Closes gh-10275
6 years ago
Oliver B. Fischer
94ebd33747
Issue a warning from launch script when app will run as root
...
See gh-10275
6 years ago
Phillip Webb
9d1b3a2b49
Merge branch '2.0.x'
6 years ago
Phillip Webb
cafff43022
Update copyright header of changed files
6 years ago
Stephane Nicoll
c00fc6449b
Merge branch '2.0.x'
6 years ago
dreis2211
59d911d6e0
Remove @UsesUnsafeJava annotations
...
Closes gh-14072
6 years ago
Phillip Webb
1b91c0ceb7
Merge branch '2.0.x'
6 years ago
Phillip Webb
0ec22c8bf9
Polish copyright date on changed files
6 years ago
Phillip Webb
80da9cf5eb
Merge branch '2.0.x'
6 years ago
Phillip Webb
aeb885192e
Polish ternary expressions
6 years ago
Phillip Webb
a6c9c92f2e
Merge branch '2.0.x'
6 years ago
Phillip Webb
63b609827e
Fix checkstyle method order issues
...
Fix checkstyle issues with method ordering following the
spring-javaformat upgrade.
See gh-13932
6 years ago
Phillip Webb
e6a68b39a3
Fix checkstyle javadoc issues
...
Fix checkstyle issues in javadoc following the spring-javaformat
upgrade.
See gh-13932
6 years ago
Phillip Webb
7fc455654a
Fix checkstyle ternary issues
...
Fix checkstyle issues with ternary expressions following the
spring-javaformat upgrade.
See gh-13932
6 years ago
Andy Wilkinson
918191664a
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
9eb5c9bd18
Merge branch '1.5.x' into 2.0.x
6 years ago
Andy Wilkinson
c12f8298e6
Merge branch '2.0.x'
7 years ago
Andy Wilkinson
814e90805e
Merge branch '1.5.x' into 2.0.x
7 years ago
Stephane Nicoll
b17c58b114
Merge branch '2.0.x'
7 years ago
Johnny Lim
3dd2f5bb05
Polish
...
See gh-13148
7 years ago
Stephane Nicoll
b0433d66c1
Merge branch '2.0.x'
7 years ago
dreis2211
e6a23fa3ff
Remove unnecessary semicolons
...
Closes gh-13144
7 years ago
Andy Wilkinson
07251a09d1
Merge branch '2.0.x'
7 years ago
Andy Wilkinson
d9d7499ae6
Merge branch '1.5.x' into 2.0.x
7 years ago
Stephane Nicoll
00a43d8f4d
Merge branch '2.0.x'
7 years ago
Johnny Lim
75e591e76e
Polish
...
Closes gh-13130
7 years ago
Phillip Webb
8c0c0ee55a
Merge branch '2.0.x'
7 years ago