Stephane Nicoll
cfdc75d384
Merge branch '1.5.x'
2017-02-06 10:38:16 +01:00
Johnny Lim
0adab8a2be
Use logical 'and' instead of bitwise 'and'
...
Closes gh-8198
2017-02-06 10:35:13 +01:00
Spring Buildmaster
5c12500366
Next Development Version
2017-01-30 20:10:13 +00:00
Spring Buildmaster
a2696bf873
Next Development Version
2017-01-30 11:40:24 +00:00
Eddú Meléndez
3d52c86a21
Annotate interfaces with @FunctionaInterface
...
Closes gh-6857
2017-01-27 16:41:01 +00:00
Spring Buildmaster
ed1ce140c0
Next Development Version
2017-01-26 14:20:39 +00:00
Phillip Webb
17451c5e7a
Merge branch '1.5.x'
2017-01-25 22:24:07 -08:00
Phillip Webb
6f19538028
Update CLI open_source_licenses.txt for json
...
Update the open_source_licenses file to reflect the fact that the
org.json library is no longer used.
See gh-5929
2017-01-25 22:12:37 -08:00
Phillip Webb
f3db8c90c7
Merge branch '1.4.x' into 1.5.x
2017-01-25 22:09:50 -08:00
Phillip Webb
ae910f3169
Update CLI open_source_licenses.txt file
...
Closes gh-7703
2017-01-25 22:05:00 -08:00
Andy Wilkinson
9bba73a1a9
Upgrade to Thymeleaf 3 and drop support for Thymleaf 2
...
This commit raises the minimum supported version of Thymeleaf to
3.0.x. It also upgrades Spring Social to a version that is compatible
with Thymeleaf 3.
Closes gh-7450
Closes gh-6258
See gh-7885
2017-01-25 13:59:09 +00:00
Stephane Nicoll
661fd848eb
Merge branch '1.5.x'
2017-01-25 11:02:32 +01:00
Stephane Nicoll
505e7f75ea
Polish contribution
...
Closes gh-8089
2017-01-25 11:01:53 +01:00
dreis
d58f38f6f6
Use String.replace() with single char if possible
...
See gh-8089
2017-01-25 11:01:52 +01:00
Andy Wilkinson
ae3434ba4c
Merge branch '1.4.x' into 1.5.x
2017-01-13 18:45:50 -05:00
Andy Wilkinson
d2201d5284
Correct copyright dates and enforce that starting year is 2012
...
Closes gh-7923
2017-01-13 18:43:30 -05:00
Andy Wilkinson
3c35066ed5
Merge branch '1.5.x'
2017-01-13 15:40:53 -05:00
Andy Wilkinson
426435f4af
Merge branch '1.4.x' into 1.5.x
2017-01-13 15:40:11 -05:00
Andy Wilkinson
1afb050061
Correct copyright dates and enforce that starting year is 2012
...
Closes gh-7923
2017-01-13 15:36:06 -05:00
Phillip Webb
77f9bb09ca
Further Polish Mockito 2 support
...
See gh-7770
2017-01-05 14:29:29 -08:00
Phillip Webb
0cc313f224
Polish
2017-01-05 11:30:33 -08:00
Stephane Nicoll
c28ff4314c
Upgrade to Mockito 2
...
Closes gh-7770
2017-01-05 12:22:15 +01:00
Phillip Webb
4bfecc1307
Merge branch '1.5.x'
2017-01-04 23:52:40 -08:00
Phillip Webb
cc7c2ebb87
Migrate to android-json
...
Migrate from `org.json:json` to the clean room Apache 2.0 licensed
version that was developed for Android.
Fixes gh-5929
2017-01-04 23:00:06 -08:00
Phillip Webb
53f1df86a2
Merge branch '1.5.x'
2016-12-30 12:17:28 -08:00
Phillip Webb
aacf5d660f
Update copyright year for changed files
2016-12-30 11:53:51 -08:00
Spring Buildmaster
9057f9ae1f
Next development version
2016-12-23 00:15:23 +00:00
Phillip Webb
1f417997f3
Merge branch '1.5.x'
2016-12-19 13:21:18 -08:00
Phillip Webb
6121208cbb
Polish formatting
2016-12-19 12:47:03 -08:00
Phillip Webb
4b9cba351b
Merge branch '1.4.x' into 1.5.x
2016-12-19 12:36:57 -08:00
Phillip Webb
bd74c3d327
Polish formatting
2016-12-19 12:25:09 -08:00
Andy Wilkinson
4edab86ba2
Merge branch '1.5.x'
2016-11-16 09:13:32 +00:00
Andy Wilkinson
387a406aad
Merge branch '1.4.x' into 1.5.x
2016-11-16 09:13:17 +00:00
Andy Wilkinson
b3e0a37197
Remove unwanted System.out calls in test code
2016-11-16 09:12:13 +00:00
Spring Buildmaster
e712a9ba8c
Next Development Version
2016-11-08 16:55:37 +00:00
Andy Wilkinson
9a70a4e261
Merge branch '1.5.x'
2016-11-08 14:43:05 +00:00
Andy Wilkinson
d7ef48a9b6
Merge branch '1.4.x' into 1.5.x
2016-11-08 14:43:00 +00:00
Andy Wilkinson
2c4f39045f
Stop relying on Artemis's on-demand queue creation in CLI JMS test
...
Artemis's on-demand queue cretaion appears to be rather flakey,
sometimes failing with a NullPointerException.
This commit ensures that the queue used by the sample is created
during start up rather than on demand. This will hopefully make the
test that runs the sample more robust.
Closes gh-7346
2016-11-08 14:36:58 +00:00
Andy Wilkinson
becf225911
Simplify CLI integration auto-config test by removing use of Artemis
...
Artemis seems to be a bit flakey which is causing sporadic build
failures, for example due to an NPE in Artemis' code.
2016-11-04 20:58:14 +00:00
Andy Wilkinson
4486d2d209
Upgrade to Reactor 3.0 and start building against SI 5.0 snapshots
...
Closes gh-7301
See gh-7029
2016-11-03 20:49:02 +00:00
Andy Wilkinson
4e30da35ad
Merge branch '1.5.x'
2016-11-01 13:48:37 +00:00
Andy Wilkinson
aeaaaaf903
Merge branch '1.4.x' into 1.5.x
2016-11-01 13:48:31 +00:00
Andy Wilkinson
ae4b8dc420
Ensure that CLI-based tests automatically import new TestRestTemplate
...
See gh-6973
2016-11-01 13:47:37 +00:00
Andy Wilkinson
fc0d4e45a5
Update CLI test auto-configuration to 1.4's new test infrastructure
...
Closes gh-6973
2016-11-01 11:36:48 +00:00
Andy Wilkinson
1186eb3250
Merge branch '1.5.x'
2016-11-01 10:00:34 +00:00
Andy Wilkinson
9b6c9eeedd
Merge branch '1.4.x' into 1.5.x
2016-11-01 10:00:16 +00:00
Andy Wilkinson
7e8c5f5940
Silence CLI dependency resolution progress reporting when run with -q
...
Closes gh-7247
2016-11-01 09:59:58 +00:00
Dave Syer
a02fd93d18
Merge branch '1.5.x'
2016-10-28 10:40:01 +01:00
Dave Syer
e97b703a20
Additionally make package method public
2016-10-28 10:39:55 +01:00
Dave Syer
13a02a6e55
Merge branch '1.5.x'
2016-10-28 10:33:06 +01:00
Dave Syer
f62abade90
Make DependencyResolutionContext empty by default
...
It's more useful as a building block for other tools that way,
and it's easy to add the spring boot dependencies using public
methods.
2016-10-28 10:32:20 +01:00
Phillip Webb
01900c8342
Merge branch '1.5.x'
2016-10-11 23:42:14 -07:00
Phillip Webb
d818a09ed8
Polish
2016-10-11 23:38:14 -07:00
Stephane Nicoll
264d8442da
Fix build
2016-10-11 18:33:54 +02:00
Stephane Nicoll
c5cc626d48
Remove remote shell support
...
See gh-7044
2016-10-11 17:59:25 +02:00
Stephane Nicoll
4119da1d9e
Merge branch '1.5.x'
2016-10-05 13:48:51 +02:00
Stephane Nicoll
2d75cc79c0
Polish contribution
...
Closes gh-6367
2016-10-05 13:47:50 +02:00
Henri Kerola
d07f689446
"spring war" should copy resources to WEB-INF/classes
...
Closes gh-6351
2016-10-05 13:36:25 +02:00
Andy Wilkinson
f82dc8e043
Upgrade to JMS API 2.0
...
Closes gh-7049
2016-09-29 20:33:21 +01:00
Andy Wilkinson
3e058e038f
Merge branch '1.5.x'
2016-09-29 13:12:24 +01:00
Andy Wilkinson
cd45ce9104
Merge branch '1.4.x' into 1.5.x
2016-09-29 13:12:11 +01:00
Andy Wilkinson
1bb5dc205d
Update samples to use Artemis in place of HornetQ
...
Closes gh-7057
2016-09-29 11:52:09 +01:00
Stephane Nicoll
6643ec3713
Next development version
2016-09-21 17:05:50 +02:00
Andy Wilkinson
6fb44b2410
Fix TestCommandIntegrationTests after removal of deprecated test support
...
See gh-6971
See gh-6973
2016-09-21 15:15:35 +01:00
Stephane Nicoll
6bd670edbc
Initiate 1.4.x branch
2016-09-21 11:11:24 +02:00
Spring Buildmaster
7e9ed5e1a7
Next Development Version
2016-09-21 07:58:07 +00:00
Andy Wilkinson
472117299e
Add some integration tests for the CLI’s quiet mode
...
See gh-6918
2016-09-18 10:56:18 +01:00
Phillip Webb
7299976d12
Fix banner property used in "quiet" mode
...
Fixes gh-6918
2016-09-17 19:23:42 -07:00
Dave Syer
b5294a48b2
Use context class loader instead of one-off for command location
...
This works, and feels like the right thing to do, since there is no
guarantee that extensions won't in turn use ServiceLoader for things
that we haven't yet anticipated.
Fixes gh-6829. Cc @wilkinsona in case he has an opinion.
2016-09-07 10:00:34 +01:00
Johnny Lim
4b9f6869f0
Polish
...
Closes gh-6817
2016-09-05 09:08:08 +02:00
Andy Wilkinson
270530c4fd
Fix class loading problems when CLI extensions are installed
...
Previously, CLI extensions where installed into the CLI's lib
directory which meant that they were on the class path of the app
class loader. Following the change to an executable jar's packaging,
this meant that they could not see classes in the CLI and a
ClassNotFoundException would result.
This commit updates the CLI to install extensions into lib/ext and
load commands using a new ClassLoader that has all of the jars in
lib/ext on its class path and that uses the launch class loader as
its parent.
Closes gh-6615
2016-08-11 16:01:18 +01:00
nagarajasr
0996615ac3
Apply sytem properties on HttpClient
...
Closes gh-6600
2016-08-10 09:24:02 +02:00
Stephane Nicoll
81094e4b23
Merge branch '1.3.x'
2016-08-01 13:49:49 -07:00
Stephane Nicoll
f186008d1f
Fix Groovy version in INSTALL.txt
...
This commit uses maven filtering to set the Groovy version rather than an
hard-coded value that can be easily outdated.
Closes gh-6530
2016-08-01 13:49:28 -07:00
Spring Buildmaster
334baaeffd
Next development version
2016-07-28 19:54:01 +00:00
Spring Buildmaster
a89ef5df6e
Next Development Version
2016-07-28 09:18:40 +00:00
Spring Buildmaster
2216369348
Next Development Version
2016-07-04 14:15:02 +00:00
Andy Wilkinson
c24c5aeb3b
Upgrade to Maven Assembly Plugin 2.6
...
Closes gh-6291
2016-07-01 15:44:45 +01:00
Andy Wilkinson
92bb24e365
Avoid synchronizing on this and use an internal monitor instead
...
Where possible, code that previously synchronized on this (or on the
class in the case of static methods) has been updated to use an
internal monitor object instead. This allows the locking model that's
employed to be an implementation detail rather than part of the
class's API.
Classes that override a synchronized method continue to declare
the overriding method as synchronized. This ensures that locking
is consistent across the superclass and its subclass.
Closes gh-6262
2016-07-01 10:44:23 +01:00
Phillip Webb
99c6194e17
Don't use MockitoJUnitRunner
...
Replace `@RunWith(MockitoJUnitRunner.class)` with direct Mockito
initialization since the running doesn't support parallel test
execution.
2016-06-09 20:55:59 -07:00
Vedran Pavic
a1ac934bee
Ignore special variable related JVM output in CommandLineInvoker
...
Closes gh-5883
2016-05-13 16:31:49 +01:00
Spring Buildmaster
819a9574a6
Next Development Version
2016-05-10 05:28:34 +00:00
Andy Wilkinson
38ad420810
Merge branch '1.3.x'
2016-05-06 16:02:03 +01:00
Andy Wilkinson
d77d3ff236
Use a SHA256 checksum in the Homebrew formula
...
Closes gh-5885
2016-05-06 15:58:57 +01:00
Spring Buildmaster
376bbe68d8
Next Development Version
2016-05-06 11:23:57 +00:00
Phillip Webb
609cb52cd4
Move to relocated web classes
...
Refactor code to move from recently deprecated classes.
Closes gh-5822
2016-04-28 12:45:15 -07:00
Stephane Nicoll
93c495f69a
Remove pid file
...
This shouldn't have been committed.
2016-04-27 05:00:49 +02:00
Phillip Webb
2679a6f0c6
Polish
2016-04-26 15:02:39 -07:00
Johnny Lim
b914b4aa52
Remove the second parameter of substring() if possible
...
Closes gh-5720
2016-04-20 09:18:35 +02:00
Jakub Narloch
64989ae192
Replacing StringBuffer with lock-free StringBuilder
...
Closes gh-5727
2016-04-19 08:01:05 +02:00
Andy Wilkinson
0c78b2fd3d
Handle fully-qualified Windows paths correctly in the CLI
...
Previously, the CLI would always use the class loader to try to locate
a source file. This was contrary to the SourceOptions javadoc which
states that the class loader is “used to try and load files that are
not found in the local filesystem”. This provide to be problematic on
Windows when a fully-qualified source file was supplied. The driver
letter colon slash (e.g. c:/) at the start of the path is considered
invalid for a class path resource by URLClassPath.Loader resulting in an
IllegalArgumentException being thrown.
A workaround for this URLClassPath behaviour was added in a71c9b5d
. It
was removed as part of reworking LaunchedURLClassLoader to use a
conventional delegation model in 87fe0b2a
. It was then reinstated in
cc140b2c
. This work around is undesirable as it causes
LaunchedURLClassLoader’s behaviour to diverge from URLClassLoader’s
behaviour (this is contrary to the comments in the test added in
a71c9b5d
which incorrectly tests the two class loader with different
class paths. If the two class loaders are created with the same class
path then their behaviour is the same).
This commit updates SourceOptions to make its behaviour match its
javadoc so that a search of the class path is only performed if the
filename doesn’t exist on the filesystem. Furthermore, when running on
Windows, if the filename is an absolute path no further searching is
performed as the path cannot reliably be used to search the class path
due to the behaviour of URLClassPath.Loader when given a path that
is an absolute file path on Windows. This ensures that the user is
presented with an error message indicating that the file could not be
found.
Closes gh-5650
2016-04-11 16:27:50 +01:00
Phillip Webb
6d23ce2ada
Polish
2016-04-10 21:27:32 -07:00
Phillip Webb
893a6c32f3
Upgrade to checkstyle 6.17
...
Fixes gh-5547
2016-03-31 13:14:53 -07:00
Phillip Webb
c28f552883
Migrate SpringJUnit4ClassRunner to SpringRunner
...
Replace all existing SpringJUnit4ClassRunner references with the new
SpringRunner alias.
Fixes gh-5292
2016-03-23 22:18:18 -07:00
Phillip Webb
2f815a907a
Migrate existing tests from deprecated package
...
Update the existing tests to use the relocated `spring-boot-test`
classes. Restructuring was achieved using the following command:
find . -type f -name '*.java' -exec sed -i '' \
-e s/org.springframework.boot.test.ConfigFileApplicationContextInitializer/\
org.springframework.boot.test.context.ConfigFileApplicationContextInitializer/g \
-e s/org.springframework.boot.test.EnvironmentTestUtils/\
org.springframework.boot.test.util.EnvironmentTestUtils/g \
-e s/org.springframework.boot.test.IntegrationTest/\
org.springframework.boot.test.context.IntegrationTest/g \
-e s/org.springframework.boot.test.IntegrationTestPropertiesListener/\
org.springframework.boot.test.context.IntegrationTestPropertiesListener/g \
-e s/org.springframework.boot.test.OutputCapture/\
org.springframework.boot.test.rule.OutputCapture/g \
-e s/org.springframework.boot.test.SpringApplicationConfiguration/\
org.springframework.boot.test.context.SpringApplicationConfiguration/g \
-e s/org.springframework.boot.test.SpringApplicationContextLoader/\
org.springframework.boot.test.context.SpringApplicationContextLoader/g \
-e s/org.springframework.boot.test.SpringBootMockServletContext/\
org.springframework.boot.test.mock.web.SpringBootMockServletContext/g \
-e s/org.springframework.boot.test.TestRestTemplate/\
org.springframework.boot.test.web.client.TestRestTemplate/g \
-e s/org.springframework.boot.test.WebIntegrationTest/\
org.springframework.boot.test.context.web.WebIntegrationTest/g {} \;
See gh-5293
2016-03-23 22:17:50 -07:00
Phillip Webb
644ae2c21a
Merge branch '1.3.x'
2016-03-08 09:51:57 -08:00
Phillip Webb
5e722dae6a
Polish
2016-03-08 09:37:13 -08:00
Dave Syer
120a39a689
Merge branch '1.3.x'
2016-02-29 16:49:24 +00:00
Dave Syer
baf7dda05a
Accumulate state in a local variable, not a field in the instance
...
State is accumulating unnecessarily in AST tranformation instances.
We can fix the ones we have implemented so far just by using a
local variable and passing it into the methods where it is used.
All the methods are private so this change is safe in a point release.
Fixes gh-5283
2016-02-29 16:46:53 +00:00
Dave Syer
0dd3531f77
Fix apostrophe
2016-02-29 16:46:53 +00:00