1. 22 Jan, 2015 4 commits
  2. 21 Jan, 2015 8 commits
    • Andy Wilkinson's avatar
      Configure Hibernate with a WAS-specific JtaPlatform when running on WAS · b542aa3d
      Andy Wilkinson authored
      At the time of writing WAS only supports JPA 2.0 which means that
      Hibernate 4.2 is the latest version that can be used. SpringJtaPlatform
      is Hibernate 4.3-specific as JtaPlatform’s package changed between
      Hibernate 4.2 and 4.3. This means that SpringJtaPlatform can’t be used
      on current versions of WAS. Futhermore, SpringJtaPlatform won’t work on
      WAS even if we could use Hibernate 4.3 as WAS doesn’t make its
      TransactionManager available to application code (it’s considered too
      dangerous for general consumption) and SpringJtaPlatform
      requires a TransactionManager.
      
      This commit updates HibernateJpaAutoConfiguration to always treat WAS as
      a special case and configure Hibernate with one of its WAS-specific
      JtaPlatform implementations. 
      
      Closes gh-2326
      b542aa3d
    • Andy Wilkinson's avatar
      Merge branch '1.1.x' · 2665ef06
      Andy Wilkinson authored
      2665ef06
    • 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
      Merge branch '1.1.x' · ca69156a
      Andy Wilkinson authored
      ca69156a
    • 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
    • Andy Wilkinson's avatar
      Merge branch 'gh-2361' · cc221885
      Andy Wilkinson authored
      cc221885
    • Andy Wilkinson's avatar
      Add a test to cover the merging of an additional metadata file · 606ea497
      Andy Wilkinson authored
      This test covers the code path that caused gh-2361 and also checks that,
      when an additional metadata file is found, it’s correctly merged with
      the other metadata.
      
      Closes gh-2361
      606ea497
    • Kris De Volder's avatar
      Remove incorrect assumption that output will be in folder named classes · 65acaf88
      Kris De Volder authored
      When running in Eclipse, by default Gradle builds its output into a
      folder named bin. This commit update the annotation processor to remove
      the failure assumption that the output will always be located beneath
      a folder named classes.
      
      Closes gh-2369
      See gh-2361
      65acaf88
  3. 20 Jan, 2015 13 commits
  4. 19 Jan, 2015 3 commits
    • Andy Wilkinson's avatar
      Document how to use Tomcat 7 or Jetty 8 with Gradle · e19bfd92
      Andy Wilkinson authored
      Previously, the documentation only provided examples of the required
      configuration for Maven users. This commit adds equivalent configuration
      snippets for those using Gradle. It also removes the recommendation to
      override the version of the Servlet API as this is unnecessary. The pom
      files for the Jetty 8 and Tomcat 7 samples have also been updated
      accordingly.
      
      Closes gh-2346
      e19bfd92
    • Andy Wilkinson's avatar
      966e8e55
    • Andy Wilkinson's avatar
      Disable javadoc linting when building with JDK 8+ · 78432fc7
      Andy Wilkinson authored
      Java 8 introduced new, aggressive linting of javadoc that’s enabled by
      default. The linter isn’t sufficiently configurable to allow us to tune
      it to meet the project’s conventions for javadoc so our only realistic
      option is to disable linting.
      
      This commit introduces a new profile to disable javadoc linting. To
      maintain compatibility with JDK 7, the profile is only active when the
      build’s running on JDK 8 or later.
      
      Closes gh-2233
      78432fc7
  5. 16 Jan, 2015 9 commits
  6. 15 Jan, 2015 3 commits