- 26 Feb, 2015 1 commit
-
-
Spring Buildmaster authored
-
- 24 Feb, 2015 1 commit
-
-
Phillip Webb authored
Make spring-boot-integration-tests a top level project and move the existing gradle tests and security tests to be sub-modules.
-
- 23 Feb, 2015 2 commits
-
-
Phillip Webb authored
Update invoker configuration so that only folders with a pom.xml file are invoked. This helps when switching between the 1.1.x and master branches since empty folders left by git no longer fail the build.
-
Phillip Webb authored
-
- 19 Feb, 2015 2 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Fixes gh-2473
-
- 18 Feb, 2015 1 commit
-
-
Andy Wilkinson authored
Closes gh-2429
-
- 17 Feb, 2015 8 commits
-
-
Andy Wilkinson authored
Closes gh-2304
-
Andy Wilkinson authored
Closes gh-2503
-
Andy Wilkinson authored
Closes gh-2502
-
Andy Wilkinson authored
Closes gh-2501
-
Andy Wilkinson authored
Closes gh-2500
-
Andy Wilkinson authored
Closes gh-2499
-
Andy Wilkinson authored
Closes gh-2498
-
Andy Wilkinson authored
Closes gh-2497
-
- 12 Feb, 2015 1 commit
-
-
Andy Wilkinson authored
Previously each endpoint was secured for path, path/, and path.*. This meant that a request to path/foo was not secured. This commit secures path/** to ensure that requests to a nested endpoint path are also secured. Fixes gh-2476
-
- 09 Feb, 2015 1 commit
-
-
Andy Wilkinson authored
Closes gh-2425
-
- 04 Feb, 2015 1 commit
-
-
Andy Wilkinson authored
Closes gh-2453
-
- 02 Feb, 2015 1 commit
-
-
Phillip Webb authored
-
- 29 Jan, 2015 4 commits
-
-
Stephane Nicoll authored
The property default format is lower case using hyphen. The JMX default domain property has been harmonized to that format. Fixes gh-2427
-
Andy Wilkinson authored
Spring Integration's FileWritingMessageHandler uses a .writing file while it's in the process of writing a message to disk and then performs a rename (depending on the OS and filesystem this may or may not be atommic) to create the .msg file. Prior to this commit the test was finding the temporary .writing files and examining them. This could lead to a FileNotFoundException being thrown as the temporary file was deleted while the test was trying to read its contents. This commit updates the test to only look for files with a .msg suffix Fixes gh-2428
-
Andy Wilkinson authored
This commit updates the documentation to describe the three steps involved in producing a deployable war file in a single place. Closes gh-2185
-
Andy Wilkinson authored
Closes gh-2423
-
- 28 Jan, 2015 1 commit
-
-
Stephane Nicoll authored
Closes gh-2416
-
- 26 Jan, 2015 1 commit
-
-
Stephane Nicoll authored
Fixes gh-2410
-
- 21 Jan, 2015 2 commits
-
-
Andy Wilkinson authored
By default, when building a project's jar its runtime dependencies are not taken into account as they are not needed to successfully compile the code that will be packaged in the jar. A side-effect of this was that, if a project that was being repackaged had a runtime dependency on another project, then the repackaged jar would not include the jar of the project on which it has the runtime dependency as the jar had not been built. This commit updates Boot's repackage task to have a dependency on the jar task of any project dependencies in the runtime configuration thereby ensuring that those dependencies' jars will have been built before the repackaging occurs. Fixes gh-2344
-
Andy Wilkinson authored
Running the invoker plugin with multiple threads against an empty Maven cache results in strange build failures where Maven claims that it cannot find a jar or pom file for an artifact that it should be able to find. It would appear that Maven is unable to cope with concurrent writes to its cache. This commit removes the usage of multiple threads that was introduced in 4e907f19. Fixes gh-2389
-
- 20 Jan, 2015 3 commits
-
-
Dave Syer authored
If user runs an executable archive then it and its lib directory will be on the classpath. Entries from loader.path take precedence in a way that should make sense to users (earlier wins like in CLASSPATH env var). Also added new integration tests to verify the behaviour (big improvement on the old ones, which probably aought to be beefed up to the same standard). Fixes gh-2314
-
Andy Wilkinson authored
See gh-2366
-
Andy Wilkinson authored
Previously, SampleIntegrationParentApplicationTests assumed that when an output file existed on disk its contents would have been written in their entirety. This assumption does not hold true and causes the test to fail intermittently as it incorrectly determines that the test has produced no output. This commit updates the test to wait for up to 30 seconds for the output files to appear on disk and for the expected content to be found in one of those files. If the files exist but do not contain the expected content the test will keep trying until it does or until too much time as elapsed. Fixes gh-2380
-
- 16 Jan, 2015 1 commit
-
-
Dave Syer authored
The ErrorPageFilter exposes a wrapped response to the downstream chain and unless more care is taken the chain will be able to set the response status, but not inspect it. Fixes gh-2367
-
- 15 Jan, 2015 1 commit
-
-
Andy Wilkinson authored
-
- 14 Jan, 2015 6 commits
-
-
Andy Wilkinson authored
Previously, JarCommand removed all @GrabResolver annotations in an AST transformation. This was being performed as custom resolver configuration is not necessary in a jar as all of the dependencies are available from the jar. Furthermore, leaving the annotations in place caused a failure when the jar was run due to a missing Ivy dependency that's required by Groovy's default GrapeEngine, GrapeIvy. The removal of @GrabResolver annotations was being done before they could be used by Groovy's GrabAnnotationTransformation to configure the GrapeEngine's resolvers. This resulted in the annotations having no effect such that a dependency that was only available from a repository made available by @GrabResolver would fail to resolve if it was not cached locally. This commit updates the AST transformation to leave the @GrabResolver annotations in place but to set their initClass attribute to false. This allows the annotation to be used while the jar's being compiled, but supresses the generation of the static initializer that adds the custom resolver to the GrapeEngine when the compiled code's run via java -jar. Fixes gh-2330
-
Andy Wilkinson authored
Previously, when LogbackLoggingSystem or Log4JLoggingSystem were initialized during application start up, they would install SLF4J’s Java logging bridge handler, however no corresponding uninstall was performed during application shutdown. When deployed to a servlet container, where the application’s lifecycle doesn’t match the JVM’s lifecycle, this lead to a memory leak. This commit updates LoggingSystem to introduce a new cleanUp method. An empty implementation is provided to preserve backwards compatibility with existing LoggingSystem subclasses. Both LogbackLoggingSystem and Log4JLoggingSystem have been updated to implement cleanUp and uninstall the SLF4J bridge handler. LoggingApplicationListener has been updated to call LoggingSystem.cleanUp in response to a ContextClosedEvent. Closes gh-2324
-
Andy Wilkinson authored
Closes gh-2358
-
Andy Wilkinson authored
Closes gh-2357
-
Andy Wilkinson authored
Closes gh-2336
-
Andy Wilkinson authored
Closes gh-2335
-
- 13 Jan, 2015 1 commit
-
-
Andy Wilkinson authored
Previously, some classes that were annotatated with @ConditionalOnWebApplication assumed that, if the application was a web application, Spring MVC (spring-webmvc) would be on the classpath. If it was not, the application would fail to start, typically with an error relating to WebMvcConfigurerAdapter being unavailable. This commit updates the affected configuration classes and annotates them with @ConditionalOnClass(WebMvcConfigurerAdapter.class) to ensure that their auto-configuration only takes effect if its a web application and Spring MVC is on the classpath. Fixes gh-2345
-
- 07 Jan, 2015 1 commit
-
-
Andy Wilkinson authored
Sadly, Gradle handle's exclusions differently to Maven even when it's processing a Maven pom. In this case groovy-all is pulled in via org.crashub:crash.shell where we've excluded it. This is enough to prevent Maven from pulling in groovy-all when you depend on the remote shell starter. org.crashub:crash.shell is also pulled in as a transitive dependency of a number of other dependencies and Gradle requires each of these to also exclude groovy-all for it to actually be excluded. This commit adds the additional exclusions that are required to make Gradle's behaviour sane. Fixes gh-2257
-