Phillip Webb
3ee777e142
Polish ternary expressions
...
Consistently format ternary expressions and always favor `!=` as the
the check.
2018-05-03 09:46:15 -07:00
Sylwester Lachiewicz
0a6f5fb2be
Update Apache Maven Central repository url
...
Closes gh-11190
2017-11-29 14:19:15 +01:00
Andy Wilkinson
9750d2e59d
Fix OAuth2 sample integration test to expect corrected property names
...
See gh-9944
2017-08-09 12:07:57 +01:00
Phillip Webb
931ce15d7f
Update copyright header dates
2017-05-09 21:43:52 -07:00
Phillip Webb
bddc190848
Suppress "resolving dependencies" when --quiet
...
Update Spring CLI so that the "resolving dependencies" message is
suppressed when `run --quiet` is used.
Fixes gh-8946
2017-04-19 22:18:12 -07:00
Phillip Webb
ca1540cefe
Update header copyright for changed files
2017-02-27 20:41:18 -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
aacf5d660f
Update copyright year for changed files
2016-12-30 11:53:51 -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
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
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
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
Andy Wilkinson
1bb5dc205d
Update samples to use Artemis in place of HornetQ
...
Closes gh-7057
2016-09-29 11:52:09 +01: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
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
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
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
Andy Wilkinson
44ddfcc7fa
Upgrade copyright headers of all files changed in 2016
2016-02-25 12:09:42 +00:00
Phillip Webb
89b7704977
Extract spring-boot-test.jar
...
Relocate the `org.springframework.boot.test` package from the
`spring-boot.jar` to `spring-boot-test.jar`.
Fixes gh-5184
2016-02-19 19:28:37 -08:00
Phillip Webb
962a598531
Use AssertJ in spring-boot-cli
...
See gh-5083
2016-02-06 15:51:26 -08:00
Phillip Webb
0489a3b4de
Polish
2015-12-10 19:43:29 +00:00
Andy Wilkinson
2efc4b8332
Add tests to verify improved exception message formatting
2015-12-07 13:25:12 +00:00
Johnny Lim
1e4f8fdd8e
Polish
2015-11-13 18:06:31 -08:00
Matt Benson
5e7376fb3c
Interpolate property values for repositories
...
Update RepositoryConfigurationFactory to apply a RegexBasedInterpolator
to repository IDs and URLs.
Fixes gh-4318
Closes gh-4319
2015-11-11 14:41:28 -08:00
Phillip Webb
634bb770b2
Organize imports with new settings
...
See gh-4234
2015-10-19 12:58:34 -07:00
Phillip Webb
1e4d974ec0
Merge remote-tracking branch 'local12x/1.2.x'
2015-10-19 12:56:55 -07:00
Phillip Webb
a79131f8d2
Organize imports with new settings
...
See gh-4234
2015-10-19 12:55:44 -07:00
Andrey Stolyarov
9a63e574b6
Add spring war command
...
Add a `war` command to the CLI to generate WAR archives.
Fixes gh-925
Closes gh-4168
2015-10-14 20:16:21 -07:00
Phillip Webb
c525689b0f
Polish
2015-10-07 23:40:34 -07:00
Phillip Webb
c9fb9916b8
Reformat code using Eclipse Mars
2015-10-07 23:37:10 -07:00
Phillip Webb
e473364e4e
Merge branch '1.2.x'
2015-10-07 23:34:08 -07:00
Phillip Webb
6ab376e2e8
Reformat code use Eclipse Mars
2015-10-07 23:32:31 -07:00
Dave Syer
5d8ccbacdf
Add a convenience AstTransformation base class for BOMs
...
Plugin authors can extend this class, provide missing methods,
and specify a BOM to add to the dependency management lookup
(i.e. dependencies by artifactId)
2015-10-06 09:31:23 +01:00
Phillip Webb
e07df7e4c6
Remove redundant modifiers
2015-09-08 17:01:30 -07:00
Phillip Webb
6e29ee4557
Polish
2015-09-08 16:04:30 -07:00
Phillip Webb
0335053139
Merge branch '1.2.x'
2015-09-08 14:37:16 -07:00
Phillip Webb
15686ed4fd
Reformat code
2015-09-08 14:07:06 -07:00
Phillip Webb
0f6b60d8c8
Organize imports
2015-09-08 14:05:00 -07:00
Phillip Webb
690da89c82
Fix warnings
2015-09-05 00:21:09 -07:00
Phillip Webb
6193b640a4
Polish
2015-09-02 23:44:19 -07:00
Stephane Nicoll
73ee6652fd
Use project location to infer the artifactId
...
On start.spring.io, if you customize the artifactId it creates a zip file
with the same name. The `spring init` command did not have a similar
shortcut.
This commit updates the request to customize the artifactId if none is
set and a custom location was specified. Just as we check for the
presence of a dot to figure out if we have to extract the archive or not,
we check for it to generate an artifactId without an extension.
In practice, `spring init foo` creates a foo directory with a project
whose artifactId is `foo` and `spring init foo.zip` stores a foo.zip
file with the same project (i.e. the artifactId is `foo`).
Closes gh-3714
2015-08-14 17:10:21 +02:00
Stephane Nicoll
04b1de2d1d
Add package-name option for spring init
...
For some reason, we forgot to add an attribute to customize the package
name when using spring init. This is now the case.
Closes gh-3716
2015-08-10 14:32:50 +02:00
Andy Wilkinson
8493755178
Configure CLI with repositories from active profiles in settings.xml
...
This commit enhances the CLI to use the repositories configured in the
profiles declared in a user's Maven settings.xml file during
dependency resolution. A profile must be active for its repositories
to be used.
Closes gh-2703
Closes gh-3483
2015-07-14 12:30:18 +01:00
Stephane Nicoll
97634e85ac
Remove unnecessary keyword
2015-07-09 14:33:01 +02:00
Stephane Nicoll
a073a505ae
Move spring.oauth2.* to security.oauth2.*
...
Unfortunately, we have no other choice to flip the ignoreUnknownFields
attribute of `SecurityProperties` has many different target are now set
for that namespace outside the class. See gh-3445 for a potential way
to improve that.
Closes gh-3327
2015-07-08 18:26:25 +02:00
Phillip Webb
fffc6f5dd2
Merge branch '1.2.x'
2015-06-18 12:52:56 -07:00