Commit Graph

50613 Commits

Author SHA1 Message Date
Andy Wilkinson
2300dae88c Upgrade to Jetty 9.3.18.v20170406
Closes gh-8839
2017-04-06 20:27:47 +01:00
Andy Wilkinson
1375dfe102 Upgrade to Aspectj 1.8.10
Closes gh-8838
2017-04-06 20:27:47 +01:00
Andy Wilkinson
408b3c81df Upgrade to Tomcat 8.5.13
Closes gh-8837
2017-04-06 20:27:47 +01:00
Andy Wilkinson
fe5e04c963 Upgrade to Hazelcast 3.6.8
Closes gh-8836
2017-04-06 20:27:47 +01:00
Andy Wilkinson
d49a41e8cf Upgrade to Appengine 1.9.51
Closes gh-8835
2017-04-06 20:27:47 +01:00
Andy Wilkinson
5f77ef25e4 Upgrade to Jackson 2.8.8
Closes gh-8834
2017-04-06 20:27:47 +01:00
Andy Wilkinson
f03daae02c Revert "Work around https://issues.jboss.org/browse/WFLY-8515"
This reverts commit 874b1f4870. A
change has been made to Spring Framework to work around the problem.
As a result, this workaround is no longer necessary.
2017-04-06 13:24:32 +01:00
Andy Wilkinson
f0c5372642 Align with Spring Framework 5's new Commons Logging adapter
Closes gh-8825
2017-04-06 13:22:53 +01:00
Andy Wilkinson
0186fb2e84 Fail fast when plugin is used with an unsupported version of Gradle
Closes gh-8820
2017-04-06 09:10:07 +01:00
Andy Wilkinson
874b1f4870 Work around https://issues.jboss.org/browse/WFLY-8515 2017-04-05 16:37:06 +01:00
Stephane Nicoll
a2a30cd3c0 Merge pull request #8808 from vpavic:upgrade-hazelcast
* pr/8808:
  Upgrade to Hazelcast 3.8
2017-04-05 14:21:20 +02:00
Vedran Pavic
2667b7f51c Upgrade to Hazelcast 3.8
Closes gh-8808
2017-04-05 14:21:00 +02:00
Andy Wilkinson
ab18901ad0 Ensure that entry is completely configured before putting to the stream
Previously, BootZipCopyAction would put the next entry to the stream
and then, in the case of a stored entry, configure its size, CRC32
etc. This had the benefit of being able to copy the entry into the
zip once, capturing its bytes for the calculation of the CRC32 as it
was copied. Unfortunately, while this produced zip files that could
be read by the JVM, other zip tools failed. For example, Go's zip
support that's used by CloudFoundry could not unzip the archive.

This commit updates BootZipCopy action to completely configure the
entry before putting it to the stream. This has the downside of
copying the file twice (once for the CRC32 and once to actually write
it to the zip stream) but this appears to be unavoidable as we have to
produce archives that can be unzipped without problems on all
platforms.

Closes gh-8816
2017-04-05 13:03:03 +01:00
Andy Wilkinson
2f64cdfa98 Include directory entries when copying loader into a Boot archive
See gh-8816
2017-04-05 13:02:57 +01:00
Andy Wilkinson
15d6c9d5c7 Merge pull request #8818 from Johnny Lim
* gh-8818:
  Fix typos in new Gradle plugin
2017-04-05 12:30:25 +01:00
Johnny Lim
8d921d49aa Fix typos in new Gradle plugin
Closes gh-8818
2017-04-05 12:29:52 +01:00
Andy Wilkinson
5bc721f3ad Polish Gradle plugin's documentation 2017-04-05 12:25:47 +01:00
Phillip Webb
2de7e9c310 Merge branch '1.5.x' 2017-04-04 10:07:38 -07:00
Phillip Webb
3b93bb46e0 Revert accidental call to .close()
Remove call to `.close()` which was accidentally left in after some
performance testing.
2017-04-04 09:56:03 -07:00
Phillip Webb
ad38776de3 Polish 2017-04-04 09:48:10 -07:00
Andy Wilkinson
5cb1f3209e Reinstate Verify.java that was removed in 47c0c3c0 2017-04-04 17:38:51 +01:00
Phillip Webb
ddcb5ee328 Polish 2017-04-04 09:36:27 -07:00
Andy Wilkinson
395db8711c Merge branch '1.5.x' 2017-04-04 17:03:13 +01:00
Andy Wilkinson
df6167dd71 Merge branch '1.4.x' into 1.5.x 2017-04-04 17:02:58 +01:00
Andy Wilkinson
9374020b0e Stop -> from being replaced with → as the latter renders as # in PDF
Closes gh-8575
2017-04-04 17:00:16 +01:00
Andy Wilkinson
7f5ca24ff9 Make Maven Central available to Gradle plugin's build 2017-04-04 16:47:05 +01:00
Andy Wilkinson
4a3d389bc3 Merge branch 'gradle-plugin-rewrite' 2017-04-04 16:37:09 +01:00
Andy Wilkinson
01166381a0 Provide separate documentation (API and reference) for Gradle plugin 2017-04-04 15:33:27 +01:00
Andy Wilkinson
47c0c3c0ef Update samples with Gradle configuration to align with new plugin 2017-04-04 15:33:27 +01:00
Andy Wilkinson
d43b1ae3a5 Polish the Gradle plugin's javadoc 2017-04-04 15:33:27 +01:00
Andy Wilkinson
b6a4056e95 Remove dependency management for Gradle that is no longer used 2017-04-04 15:33:27 +01:00
Andy Wilkinson
85267def3e Integration test the reaction to the Application plugin being applied 2017-04-04 15:33:27 +01:00
Andy Wilkinson
915c17b955 Integration test the reaction to the Maven plugin being applied 2017-04-04 15:33:27 +01:00
Andy Wilkinson
e552975a7a Integration test the reaction to the War plugin being applied 2017-04-04 15:33:27 +01:00
Andy Wilkinson
c1f2f8079b Integration test the reaction to the Java plugin being applied 2017-04-04 15:33:27 +01:00
Andy Wilkinson
b9b402e3db Rework BuildInfo to separate task and build info properties
Previously, the properties that applied to the BuildInfo task itself
and those that would be written into the build-info.properties file
were all configured on BuildInfo directly. This lack of separation
could be confusing.

This commit rework BuildInfo to separate the task's own properties
from those that are written into the build-info.properties file.

The task has also been updated so that changes to a project's
properties made after the task has been configured are reflected in
the build info properties.
2017-04-04 15:33:27 +01:00
Andy Wilkinson
201ea133e1 Guide users to apply dependency management plugin when resolution fails 2017-04-04 15:33:27 +01:00
Andy Wilkinson
8d55801c4d Restructure the code to enforce separation of plugin logic and tasks 2017-04-04 15:33:27 +01:00
Andy Wilkinson
5f27ecc6d9 Remove old integration tests for the Gradle plugin 2017-04-04 15:33:27 +01:00
Andy Wilkinson
1dc5c484f0 Use application plugin properties by convention when it is applied
bootRun's main and jvmArgs properties use mainClassName and
applicationDefaultJvmArgs respectively by convention.

bootJar and bootWar's mainClass property uses mainClassName by
convention.
2017-04-04 15:33:27 +01:00
Andy Wilkinson
188c9e0f42 Remove assumptions from BootInfo and move them to the DSL extension 2017-04-04 15:33:27 +01:00
Andy Wilkinson
5708eaf41b Simplify the DSL extension to provide a solid foundation 2017-04-04 15:33:27 +01:00
Andy Wilkinson
8048791ab2 Remove AgentPluginFeatures as they are undocumented
The current implementation is undocumented so it's not clear exactly
what it's intended to do. It also appears to overreach as, for
example, it affects every JavaExec task in a project.

We may need to reinstate something that's somewhat equivalent, but I'd
like to do that armed with more information about the intent of the
functionality and some specific problems that need to be solved.
2017-04-04 15:33:27 +01:00
Andy Wilkinson
f440b7b7e3 Move decision about an entry's compression out into BootJar and BootWar 2017-04-04 15:33:27 +01:00
Andy Wilkinson
5bf8f778e2 Don't write the default loader classes when a custom launcher is used 2017-04-04 15:33:27 +01:00
Andy Wilkinson
2b44ad9809 Rework BootRunTask to be more idiomatic and make fewer assumptions 2017-04-04 15:33:27 +01:00
Andy Wilkinson
6e7e42459b Exclude Devtools by default and provide an option to include it 2017-04-04 15:33:27 +01:00
Andy Wilkinson
d015714cba Add support for reproducible archives to BootJar and BootWar
Closes gh-8391
2017-04-04 15:33:27 +01:00
Andy Wilkinson
bc543ef08a Use a convention mapping for resolving main class from the classpath 2017-04-04 15:33:27 +01:00
Andy Wilkinson
d9af21ab7c Create software components for Spring Boot jar and war artifacts
Closes gh-1666
2017-04-04 15:33:27 +01:00