1. 26 Feb, 2015 1 commit
  2. 24 Feb, 2015 1 commit
    • Phillip Webb's avatar
      Reorganize integration tests · 7ac8cac3
      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.
      7ac8cac3
  3. 23 Feb, 2015 2 commits
    • Phillip Webb's avatar
      Filter integration tests to only pom folders · f0ef882f
      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.
      f0ef882f
    • Phillip Webb's avatar
      Polish · 8a8b5d3a
      Phillip Webb authored
      8a8b5d3a
  4. 19 Feb, 2015 2 commits
  5. 18 Feb, 2015 1 commit
  6. 17 Feb, 2015 8 commits
  7. 12 Feb, 2015 1 commit
  8. 09 Feb, 2015 1 commit
  9. 04 Feb, 2015 1 commit
  10. 02 Feb, 2015 1 commit
  11. 29 Jan, 2015 4 commits
    • Stephane Nicoll's avatar
      Harmonize property name · d64cc082
      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
      d64cc082
    • Andy Wilkinson's avatar
      Ignore temporary .writing files when finding output files · c346e996
      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
      c346e996
    • Andy Wilkinson's avatar
      Add a single how to for creating a deployable war file · c3020e9e
      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
      c3020e9e
    • Andy Wilkinson's avatar
      Upgrade to Spring Data Dijkstra SR5 · b2a059a3
      Andy Wilkinson authored
      Closes gh-2423
      b2a059a3
  12. 28 Jan, 2015 1 commit
  13. 26 Jan, 2015 1 commit
  14. 21 Jan, 2015 2 commits
    • Andy Wilkinson's avatar
      Make repackage depend on jar tasks from runtime project dependencies · 93b2a17f
      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
      93b2a17f
    • Andy Wilkinson's avatar
      Run invoker plugin with a single thread to avoid build failures · bbd2486c
      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
      bbd2486c
  15. 20 Jan, 2015 3 commits
    • Dave Syer's avatar
      Carefully add nested archives from JAR in PropertiesLauncher · 4e907f19
      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
      4e907f19
    • Andy Wilkinson's avatar
      c857f957
    • Andy Wilkinson's avatar
      Avoid race between file creation and its contents being written · f10c9b53
      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
      f10c9b53
  16. 16 Jan, 2015 1 commit
  17. 15 Jan, 2015 1 commit
  18. 14 Jan, 2015 6 commits
    • Andy Wilkinson's avatar
      Don't remove @GrabResolver in JarCommand, disable initClass instead · 376de016
      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
      376de016
    • Andy Wilkinson's avatar
      Uninstall SLF4J’s Java logging bridge handler during shutdown · 9744d282
      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
      9744d282
    • Andy Wilkinson's avatar
      Upgrade to Spring Integration 4.0.6.RELEASE · 92c8b75a
      Andy Wilkinson authored
      Closes gh-2358
      92c8b75a
    • Andy Wilkinson's avatar
      Upgrade to Spring AMQP 1.3.8.RELEASE · 3ef768e7
      Andy Wilkinson authored
      Closes gh-2357
      3ef768e7
    • Andy Wilkinson's avatar
      Upgrade to SLF4J 1.7.10 · 91206069
      Andy Wilkinson authored
      Closes gh-2336
      91206069
    • Andy Wilkinson's avatar
      Upgrade to Hibernate 4.3.8 · ca1716e9
      Andy Wilkinson authored
      Closes gh-2335
      ca1716e9
  19. 13 Jan, 2015 1 commit
    • Andy Wilkinson's avatar
      Tighten up conditions: a web application may not be using Spring MVC · b875a00e
      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
      b875a00e
  20. 07 Jan, 2015 1 commit
    • Andy Wilkinson's avatar
      Prevent Gradle from pulling in groovy-all with the remote shell starter · ac1d0cab
      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
      ac1d0cab