Commit Graph

555 Commits

Author SHA1 Message Date
Andy Wilkinson 346392d31b Introduce a validation starter
Previously, the only starter that provided validation was
spring-boot-starter-web which included Hibernate Validator and
Tomcat's EL implementation. This left users writing non-web
applications to figure out the dependencies for themselves. They would
sometimes run into difficulties as Hibernate Validator's need for an
EL implementation would trip them up.

This commit adds a new starter, spring-boot-starter-validation,
which provides both Hibernate Validator and Tomcat's EL
implementation. spring-boot-starter-web has been updated to depend on
this starter rather than depending on Hibernate Validator directly.

Closes gh-2678
2015-03-30 14:25:25 +01:00
Stephane Nicoll fd22b57846 Add dependency management for Postgresql
Closes gh-2545
2015-03-30 11:06:12 +02:00
Phillip Webb 85319c0793 Fix Java 8 Javadoc errors 2015-03-27 18:59:47 -07:00
Eddú Meléndez 48959f2553 Add support for EhCache
Include auto-configuration support for EhCache with auto-detection of
the default `ehcache.xml` at the root of the classpath. EhCache
configuration can also be set via `spring.cache.config`.

See gh-2633
2015-03-27 15:55:42 -07:00
Stephane Nicoll 151220f41d Add cache manager auto-configuration
Add support for cache manager auto-configuration that is triggered when
the `EnableCaching` annotation is added to a Spring Boot application.

A new "spring.cache" set of configuration keys is also provided. The
"spring.cache.mode" allows the user to specify the cache provider that
should be auto-configured. If no explicit configuration is provided,
the environment is checked for the best suited cache implementation,
that is:

- Generic if at least one `Cache` bean is defined in the context.
- Hazelcast if either a default configuration file is present or the
  `spring.cache.config` property is set.
- JCache if one JSR-107 provider is present
- Redis if a `RedisTemplate` is defined in the context
- Guava
- Simple as a fallback option, using concurrent maps
- NoOp (that is, no cache) if the mode is set to "none"

If the provider supports it, it is possible to specify the caches
to create on startup via `spring.cache.cache-names`. If the provider
relies on a configuration file and a custom one needs to be used
`spring.cache.config` can be set to such custom resource.

If more than one JSR-107 provider is present, it is possible to force
the provider to use by setting the mode to `jcache` and specifying the
fully qualified class name of the CachingProvider to use via
`spring.cache.jcache.provider`.

See gh-2633
2015-03-27 15:55:36 -07:00
Andy Wilkinson 99fde7ac89 Merge branch '1.2.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2015-03-26 17:19:44 +00:00
Andy Wilkinson 2cf23e08a0 Upgrade to Undertow 1.1.3.Final
Closes gh-2732
2015-03-26 17:18:51 +00:00
Andy Wilkinson 3a22443fbb Upgrade to H2 1.4.186
Closes gh-2730
2015-03-26 17:18:30 +00:00
Andy Wilkinson 17f03641de Upgrade to Dropwizard Metrics 3.1.1
Closes gh-2731
2015-03-26 17:18:05 +00:00
Andy Wilkinson 5963760c9c Merge branch '1.2.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2015-03-26 17:10:47 +00:00
Andy Wilkinson 9285c9fd77 Merge branch '1.1.x' into 1.2.x
Conflicts:
	spring-boot-dependencies/pom.xml
2015-03-26 17:10:04 +00:00
Andy Wilkinson fe837c0cea Upgrade to Reactor 1.1.6.RELEASE
gh-2735
2015-03-26 17:07:19 +00:00
Andy Wilkinson de28ed4aa1 Upgrade to Groovy 2.3.11
Closes gh-2733
2015-03-26 17:04:26 +00:00
Andy Wilkinson adbd340c91 Upgrade to Logback 1.1.3
Closes gh-2729
2015-03-26 17:03:52 +00:00
Andy Wilkinson 887a7cce1e Upgrade to SLF4J 1.7.11
Closes gh-2734
2015-03-26 17:03:23 +00:00
Andy Wilkinson 0c8b2889fb Merge branch '1.2.x' 2015-03-26 16:32:10 +00:00
Andy Wilkinson d428afb45f Merge branch '1.1.x' into 1.2.x
Conflicts:
	spring-boot-dependencies/pom.xml
2015-03-26 16:32:05 +00:00
Andy Wilkinson 936e1c2152 Update to Spring Security 3.2.7.RELEASE
Closes gh-2726
2015-03-26 16:31:13 +00:00
Andy Wilkinson 1307a2401d Upgrade Spring WS in 1.1.x as well
See gh-2718
2015-03-26 16:29:04 +00:00
Andy Wilkinson a6028280d2 Polishing 2015-03-26 16:27:52 +00:00
Andy Wilkinson a67a37840b Merge branch '1.2.x' 2015-03-26 16:26:48 +00:00
Greg Turnquist 599792097c Upgrade Spring WS to 2.2.1.RELEASE
Closes gh-2718
2015-03-26 16:25:23 +00:00
Stephane Nicoll c9997f7a4d Upgrade to Spring Framework 4.1.6
Closes gh-2702
2015-03-26 10:43:29 +01:00
Andy Wilkinson 04c5fc8856 Start building against Spring Framework 4.2.0 snapshots
See gh-2575
2015-03-25 10:47:13 +00:00
Andy Wilkinson cebd58ad23 Merge branch '1.2.x' 2015-03-24 09:48:16 +00:00
Phillip Webb 6322ea142d Upgrade to Spring Framework 4.1.6.BUILD-SNAPSHOT
See gh-2702
2015-03-23 10:23:12 -07:00
Andy Wilkinson 2c3c62d71c Replace basic Gradle dependency management with use of separate plugin
This commit replaces Spring Boot's basic dependency management support
with separate dependency management plugin. This has a number of
benefits including:

1. A Maven bom can be used rather than a custom properties file
2. Dependency management is applied transitively rather than only to
   direct dependencies
3. Exclusions are applied as they would be in Maven
4. Gradle-generated poms are automatically configured with the
   appropriate dependency management

Closes gh-2133
2015-03-19 13:23:40 +00:00
Andy Wilkinson 0e47a70f9e Upgrade to Groovy 2.4.1
Closes gh-2681
2015-03-18 14:23:31 +00:00
Andy Wilkinson 055d841eb3 Upgrade to Flyway 3.2
Closes gh-2675
2015-03-18 14:21:37 +00:00
Andy Wilkinson 99de71bf65 Upgrade to Jackson 2.5.1
Closes gh-2332
2015-03-18 10:02:10 +00:00
Andy Wilkinson 81d25a5705 Upgrade to Spring Data Fowler RC1 2015-03-17 17:22:41 +00:00
Andy Wilkinson 1fba81e4ba Upgrade Spring Security 3.2.6.RELEASE
Closes gh-2582
2015-03-17 10:39:40 +00:00
Andy Wilkinson 2f791602a0 Upgrade to ActiveMQ 5.11.1
Closes gh-2662
2015-03-16 17:50:56 +00:00
Maciej Walkowiak f05769dcc5 Add auto-configuration for SendGrid's client
Closes gh-2160
Closes gh-2280
2015-03-05 16:09:56 +00:00
izeye 33a92caad6 Provide dependency management for logback-access
Closes gh-2550
2015-03-05 15:39:07 +00:00
izeye c4145106e8 Provide dependency management for MariaDB Java client
Closes gh-2448
2015-03-05 15:33:06 +00:00
Michael Cramer 22e5f86f37 Upgrade to maven-dependency-plugin 2.10
See gh-2430
2015-03-05 14:07:27 +00:00
Michael Cramer 993f3a078d Upgrade to Joda-Time 2.7
Closes gh-2153
2015-03-05 13:58:29 +00:00
Andy Wilkinson 3fbb7c91c1 Merge branch '1.2.x' 2015-03-04 17:55:26 +00:00
Andy Wilkinson 9f0654bd77 Merge branch '1.1.x' into 1.2.x
Conflicts:
	spring-boot-dependencies/pom.xml
2015-03-04 17:55:20 +00:00
Andy Wilkinson 44d98c6186 Upgrade to Freemarker 2.3.22
Closes gh-2581
2015-03-04 17:54:53 +00:00
Phillip Webb a57a88f5cf Move master to 1.3.0.BUILD-SNAPSHOT 2015-02-26 17:01:02 -08:00
Phillip Webb 8ce39bda88 Fixup version numbers following release 2015-02-26 15:59:57 -08:00
Spring Buildmaster 8f0ad02237 Next development version 2015-02-26 15:26:53 -08:00
Phillip Webb 8a49218e82 Fixup version numbers following release 2015-02-26 14:17:25 -08:00
Spring Buildmaster aea68f0c32 Next development version 2015-02-26 13:01:31 -08:00
Phillip Webb 10caace55f Upgrade to Spring Security 3.2.6
Closes gh-2539
2015-02-26 11:16:11 -08:00
Andy Wilkinson f43f2fb8c4 Upgrade to Jetty 9.2.9
Closes gh-2554
2015-02-25 17:11:53 +00:00
Phillip Webb affa584916 Upgrade to Tomcat 8.0.20
Fixes gh-2547
2015-02-24 13:41:33 -08:00
Phillip Webb 236f51a841 Upgrade Spring Security to 3.2.6.CI-SNAPSHOT
See gh-2539
2015-02-23 21:57:06 -08:00