Commit Graph

711 Commits

Author SHA1 Message Date
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
Phillip Webb 10257d96f2 Merge branch '1.1.x' 2015-02-23 18:02:23 -08:00
Phillip Webb 7ac8cac3b5 Reorganize integration tests
Make spring-boot-integration-tests a top level project and move the
existing gradle tests and security tests to be sub-modules.
2015-02-23 17:24:05 -08:00
izeye 31639be94b Add dependency management for Apache Derby 2015-02-23 16:44:20 +01:00
Stephane Nicoll 1d69a71b75 Upgrade to Spring 4.1.5
Closes gh-2413
2015-02-20 13:55:52 +01:00
Andy Wilkinson ecdc6a06a1 Merge branch '1.1.x'
Fixes gh-2212
2015-02-18 16:55:39 +00:00
Andy Wilkinson b29c5a3297 Upgrade to Groovy 2.3.10
Closes gh-2429
2015-02-18 16:54:31 +00:00
Andy Wilkinson 9af30450c4 Upgrade to Liquibase 3.3.2
Closes gh-2512
2015-02-18 16:20:47 +00:00
Andy Wilkinson 6028f6b343 Upgrade to Jetty 9.2.7
Closes gh-2511
2015-02-18 16:20:47 +00:00
Andy Wilkinson 4178613d72 Upgrade to ActiveMQ 5.10.1
Closes gh-2510
2015-02-18 16:20:47 +00:00
Andy Wilkinson 119e37a1f9 Upgrade to JMustache 1.10
Closes gh-2508
2015-02-18 16:20:47 +00:00
Andy Wilkinson 375a08d7ce Upgrade to H2 1.4.185
Closes gh-2507
2015-02-18 16:20:47 +00:00
Andy Wilkinson ce303f9f59 Upgrade to Jackson 2.4.5
Closes gh-2506
2015-02-18 16:20:46 +00:00
Andy Wilkinson d87bf707a7 Merge branch '1.1.x' 2015-02-17 10:01:39 +00:00
Andy Wilkinson 11e0444814 Upgrade to Spring Security JWT 1.0.3.RELEASE
Closes gh-2304
2015-02-17 09:56:15 +00:00
Andy Wilkinson 99a0661565 Upgrade to Spring Batch 3.0.3.RELEASE
Closes gh-2503
2015-02-17 09:55:47 +00:00
Andy Wilkinson 4840417cd9 Upgrade to mongo-java-driver 2.12.5
Closes gh-2502
2015-02-17 09:55:16 +00:00
Andy Wilkinson 3b8c9418b1 Upgrade to JDom 2.0.6
Closes gh-2501
2015-02-17 09:54:51 +00:00
Andy Wilkinson 8c534547c9 Upgrade to Groovy 2.3.9
Closes gh-2500
2015-02-17 09:54:26 +00:00
Andy Wilkinson cdc2008146 Upgrade to AspectJ 1.8.5
Closes gh-2499
2015-02-17 09:54:01 +00:00
Andy Wilkinson 3f285d1bf0 Upgrade to Tomcat 7.0.59
Closes gh-2498
2015-02-17 09:53:29 +00:00
Andy Wilkinson 6a93fa1dd0 Upgrade to Jackson 2.3.5
Closes gh-2497
2015-02-17 09:52:59 +00:00
Andy Wilkinson b40f689e1d Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2015-02-09 10:18:40 +00:00
Andy Wilkinson 6aaa5ee933 Upgrade to CRaSH 1.3.1
Closes gh-2425
2015-02-09 10:17:34 +00:00
Andy Wilkinson e5d653dbd4 Update to Spring AMQP 1.4.3.RELEASE
Closes gh-2452
2015-02-04 18:12:57 +00:00
Andy Wilkinson 9212574191 Upgrade to Spring AMQP 1.3.9.RELEASE
Closes gh-2453
2015-02-04 18:11:39 +00:00
Andy Wilkinson 68c7c65d52 Configure SnakeYAML so the timestamp-like strings do not become Dates
By default, SnakeYAML will convert a timestamp-like string into a
java.util.Date. This differs to properties file-based configuration
where the values are always strings. Dates are problematic as the
round trip (string -> Date -> string) can change the value. For example,
“2015-01-27” becomes “Tue Jan 27 00:00:00 GMT 2015”.

This commit updates YamlPropertySourceLoader to use a Yaml with a
custom Resolver subclass that suppresses the addition of the implicit
resolver for timestamps. Supressing the addition of the unwanted
resolver, rather than overriding addImplicitResolvers and registering
the resolvers that we do want, ensures that we get all of the other
default Resolvers in their default order.

Fixes gh-2422
2015-02-04 16:50:51 +00:00
Andy Wilkinson c60fab92ce Upgrade to Spring Data Evans SR2
Closes gh-2424
2015-01-29 10:29:48 +00:00
Andy Wilkinson b2a059a385 Upgrade to Spring Data Dijkstra SR5
Closes gh-2423
2015-01-29 10:28:16 +00:00
Andy Wilkinson 37ffa6dc85 Upgrade to Tomcat 8.0.18
Closes gh-2415
See gh-1920
2015-01-26 16:26:34 +00:00
Andy Wilkinson 01344c8617 Add a starter for building a RESTful service with Spring HATEOAS
Closes gh-2396
2015-01-22 15:22:50 +00:00
Andy Wilkinson ea7b5c6e3c Improve support for alternative Log4j 2 configuration file formats
This commit adds support for configuring Log4j 2 with YAML. It also
improves the existing support for configuring Log4j 2 with JSON.

Previously, Log4J2LoggingSystem returned a hard-coded list of standard
config locations that includes both JSON and XML file suffixes. Log4j 
2’s support for JSON configuration files requires Jackson’s ObjectMapper
to be on the classpath so, in its absence, the standard config locations
were incorrect.

This commit updates Log4J2LoggingSystem to return an array of standard
config locations based on what’s on the classpath. It also updates the
documentation to describe the additional dependencies that are required
to enable YAML or JSON-based configuration.

Closes gh-2239
2015-01-22 15:06:20 +00:00
Drummond 0025be8771 Upgrade to Flyway 3.1
The 3.1 release includes an important fix to restore JDK 6
compatibility with the Gradle plugin [1].

Closes gh-2260

[1] https://github.com/flyway/flyway/issues/779
2015-01-20 17:39:48 +00:00
Chris Schaefer 6975b206bc Upgrade Spring Cloud Connectors to 1.1.1.RELEASE
Closes gh-2373
2015-01-20 17:32:10 +00:00
Andy Wilkinson 69ea4beb8a Add auto-configuration for Jetty’s GzipFilter
Jetty’s GzipFilter is a container-agnostic Filter that can be used to
provide gzip and deflate encoding of HTTP responses. This commit adds
auto-configuration for GzipFilter that is enabled when
org.eclipse.jetty:jetty-servlets is on the classpath. The filter can
be configured using spring.http.gzip.*

See gh-2031
2015-01-16 12:07:28 +00:00
Andy Wilkinson 492cf4ef54 Add jersey-bean-validation to spring-boot-starter-jersey
A dependency on org.glassfish.jersey.ext:jersey-bean-validation has
been added to spring-boot-starter-jersey. jersey-bean-validation’s EL
dependencies have been excluded in favour of those provided by
spring-boot-starter-tomcat (or starter-jetty or starter-undertow should
the user choose to use a different embedded container).

Closes gh-2315
2015-01-15 09:50:05 +00:00
Andy Wilkinson c0ef7d1815 Upgrade to Spring AMQP 1.4.2.RELEASE 2015-01-14 13:34:20 +00:00
Andy Wilkinson b97fc63234 Upgrade to Spring Integration 4.1.2.RELEASE
Closes gh-2352
2015-01-14 13:34:06 +00:00
Andy Wilkinson dcc07ad6c9 Upgrade to Mockito 1.10.19
Closes gh-2337
2015-01-14 13:33:47 +00:00
Andy Wilkinson 1ab510e53c Upgrade to H2 1.4.184
Closes gh-2334
2015-01-14 13:33:22 +00:00
Andy Wilkinson bb058934a6 Upgrade to Gson 2.3.1
Closes gh-2333
2015-01-14 13:32:40 +00:00
Andy Wilkinson de2087ff2e Merge branch '1.1.x' 2015-01-14 12:29:06 +00:00
Andy Wilkinson 92c8b75a73 Upgrade to Spring Integration 4.0.6.RELEASE
Closes gh-2358
2015-01-14 11:39:03 +00:00
Andy Wilkinson 3ef768e76d Upgrade to Spring AMQP 1.3.8.RELEASE
Closes gh-2357
2015-01-14 11:38:45 +00:00
Andy Wilkinson 912060698d Upgrade to SLF4J 1.7.10
Closes gh-2336
2015-01-14 11:38:22 +00:00
Andy Wilkinson ca1716e9d6 Upgrade to Hibernate 4.3.8
Closes gh-2335
2015-01-14 11:38:02 +00:00
Dave Syer 2729c747ca Add jmustache support
The package names changed a bit from the prototype project, but wuth vanilla
autconfiguration usage that shouldn't matter. Follows closely the Groovy
templates support. Templates live in classpath:/templates/*.html by default.

Fixes gh-2242
2015-01-09 13:50:39 +00:00
Phillip Webb 9dd4d43cec Fixup version numbers following release 2015-01-08 00:19:04 -08:00
Spring Buildmaster 60725cd8bd Next development version 2015-01-07 23:37:07 -08:00
Phillip Webb f369a72264 Merge branch '1.1.x' 2015-01-03 12:29:38 -08:00
Phillip Webb 20dbf4ab15 Remove duplicate jetty-util dependency
See gh-2180
2015-01-03 12:29:00 -08:00
Phillip Webb a36c3b977c Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2015-01-02 16:22:49 -08:00
Phillip Webb 67302db9e5 Add dependency management for all Jetty modules
Update spring-boot-dependencies to include all Jetty modules. The helps
to prevent issues when modules are pulled in transitively (for example
via solr).

Fixes gh-2180
2015-01-02 16:21:47 -08:00
Stephane Nicoll 1567c00ef0 Upgrade to Spring Framework 4.0.9
Closes gh-2259
2014-12-30 16:33:49 +01:00
Stephane Nicoll 2b3061b31f Upgrade to Spring 4.1.4
Closes gh-2249
2014-12-30 14:54:25 +01:00
Stephane Nicoll 95cf63f685 Switch to Spring snapshot
See gh-2249
2014-12-29 10:20:09 +01:00
Stephane Nicoll 4a314321d7 Merge branch '1.1.x' 2014-12-23 11:54:54 +01:00
Stephane Nicoll ed1db855c0 Upgrade to Thymeleaf 2.1.4
Closes gh-2215
2014-12-23 11:51:26 +01:00
Phillip Webb d4fb8ad6a8 Polish POM artifact order 2014-12-22 11:23:18 -08:00
Andy Wilkinson e72f3c0215 Upgrade to Jetty 8.1.16.v20140903
Closes gh-2199
2014-12-18 15:43:40 +00:00
Michael Cramer 3b858edfa9 Auto-configure for Thymeleaf conditionalcomments
Add auto-configuration for thymeleaf-extras-conditionalcomments which
allows parsing of conditional comments for IE.

Example:

	<!--[if lt IE 8]>
		<link rel="stylesheet" th:href="@{/styleIE.css}"
		type="text/css"/>
	<![endif]-->

Without this dialect all Thymeleaf attributes are ignored inside the
comment.

Fixes gh-2113
2014-12-17 16:23:28 -08:00
Phillip Webb a663f07375 Upgrade to Jersey 2.14
Closes gh-2166
2014-12-17 16:02:12 -08:00
Stephane Nicoll cdbc0c7f46 Harmonize JTA dependency
Mixing Hibernate and a JTA provider may lead to duplicate JTA
dependencies as the API is published with different coordinates.

The following has been applied:

* We now use `javax.transaction:javax.transaction-api` everywhere.
* The `data-jpa` starter has been updated to replace the JBoss JTA
  dependency with the standard one.
* The `jta-bitronix` starter has been updated to use JTA 1.2 instead of
  JTA 1.1 (unfortunately, JTA 1.1 is published with different
  coordinates).
* The `jta-atomikos` starter has been updated to define a dependency on
  JTA as the current version does not do it at all.
* The HornetQ JMS server is also relying on JTA but that dependency
  should have been optional. It has been excluded for the time being as
  it was using (yet) another set of coordinates.

Fixes gh-2092
2014-12-17 15:53:48 -08:00
Michael Cramer 6806689c08 Upgrade to Spring Integration 4.1.1.RELEASE
Closes gh-2155
2014-12-15 09:58:06 +00:00
Michael Cramer 790e5fcf67 Upgrade to H2 1.4.183
Closes gh-2154
2014-12-15 09:58:05 +00:00
Michael Cramer 24ba436e2b Upgrade to Spring AMQP 1.4.1.RELEASE
Closes gh-2152
2014-12-15 09:58:05 +00:00
Andy Wilkinson cfd17eb479 Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2014-12-15 09:37:01 +00:00
Michael Cramer ef64186bb9 Upgrade to SLF4J 1.7.8
Closes gh-2151
2014-12-15 09:34:19 +00:00
Phillip Webb a6adeab319 Fixup version numbers following release 2014-12-10 19:50:05 -08:00
Phillip Webb 43fb5b63a8 Fixup version numbers following release 2014-12-10 19:49:23 -08:00
Spring Buildmaster 63e6a25097 Next development version 2014-12-10 18:06:30 -08:00
Spring Buildmaster 1a788c1741 Next development version 2014-12-10 16:35:50 -08:00
Andy Wilkinson d0d640b3e5 Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2014-12-10 16:03:45 +00:00
Andy Wilkinson 42e2b9a41d Upgrade to Groovy 2.3.8
Closes gh-2021
2014-12-10 15:52:11 +00:00
Andy Wilkinson 3bb8e5af9e Remove redundant dep management for spring-boot-configuration-metadata
The module’s artifact id is spring-boot-configuration-processor for
which dependency management is also provided.
2014-12-10 10:57:13 +00:00
Stephane Nicoll d59718447b Upgrade to Spring Framework 4.1.3
Closes gh-2038
2014-12-09 12:29:11 +01:00
Phillip Webb 4fc8a183f2 Add Jersey Jackson support
Fixes gh-2091
2014-12-08 19:13:57 -08:00
Phillip Webb 52fd5dde58 Update cargo configuration to also set AJP ports
Fixes gh-1736
2014-12-06 00:35:18 -08:00
Phillip Webb c332e5834a Add managed jackson-datatype-jdk8 dependency
Fixes gh-1750
2014-12-05 11:52:42 -08:00
Phillip Webb f3a0cebaaf Upgrade to JUnit 4.12
Closes gh-2061
2014-12-05 11:28:48 -08:00
Phillip Webb 88f64c7ad3 Upgrade to Jackson 2.4.4
Closes gh-2062
2014-12-05 11:27:59 -08:00
Sebastien Deleuze e641b47b66 Upgrade to Undertow 1.1.1
Fixes gh-2066
2014-12-05 09:51:28 -08:00
Phillip Webb 778aa39016 Add Undertow WebSocket auto-configuration
Fixes gh-2028
2014-12-03 15:35:19 -08:00
Phillip Webb 6c96608b11 Upgrade to Spring Framework 4.1.3.BUILD-SNAPSHOT
Upgrade to the SNAPSHOT so that CI will catch any problems early.

See gh-2038
2014-12-02 17:29:51 -08:00
Phillip Webb 48db5457f1 Polish 2014-12-01 19:32:05 -08:00
Dave Syer 843e6d7cfa Add 2 more JsonParser implementations 2014-12-01 13:41:13 +00:00
Andy Wilkinson 27569f5845 Add an EL implementation to the Undertow Starter
Unlike the Tomcat and Jetty starters, the Undertow starter does not
provide an EL implementation. This leads to failures when you try to use
Hibernate Validator with the Undertow starter.

To bring the Undertow starter into line with the other two embedded
container starters, this commit adds Glassfish’s EL implementation to
the Undertow starter. This is the implementation that’s used by the
Jetty starter. If/when Undertow provides JSP support and, therefore,
starts using EL itself, we should align with it.

Closes gh-1979
2014-11-24 11:34:15 +00:00
Stephane Nicoll 0f64a04780 Add easy way to consume configuration metadata
Add a companion module that IDE developers can use to read configuration
metadata from multiple sources into a single repository.

ConfigurationMetadataRepository provides access to groups and items as
well as an harmonized view on "sources" (that is the POJOs that have
contributed to a given group).

Closes gh-1970
2014-11-21 16:02:04 +01:00
Andy Wilkinson 90af8bf54a Add auto-configuration for Jetty 9's WebSocket support
Closes gh-1269
2014-11-19 14:44:54 +00:00
Andy Wilkinson 1864d79077 Polish Undertow contribution
Closes gh-1779
2014-11-18 21:20:34 +00:00
sopov.ivan c501b889af Add support for using Undertow as an embedded container
See gh-1779
2014-11-18 21:20:34 +00:00
Andy Wilkinson 33dfab08de Upgrade to Tomcat 7.0.57
Closes gh-1936
2014-11-18 10:45:11 +00:00
Andy Wilkinson 5bc48bee5a Upgrade to Spring AMQP 1.3.7.RELEASE
Closes gh-1906
2014-11-18 10:44:52 +00:00
Andy Wilkinson 1182495810 Upgrade to Spring Integration 4.0.5.RELEASE
Closes gh-1905
2014-11-18 10:44:32 +00:00
Andy Wilkinson c80ff4c555 Upgrade to HikariCP 2.2.5
Closes gh-1897
2014-11-17 16:34:19 +00:00
Dave Syer 25428a32ad Change spring-cloud.version to include 'connectors' 2014-11-17 08:52:22 +00:00
Phillip Webb 345ced1675 Fixup version numbers following release 2014-11-11 18:05:23 -08:00
Spring Buildmaster 46b7738334 Next development version 2014-11-11 17:12:24 -08:00
Phillip Webb 3e565bf421 Upgrade to Spring Integration 4.1.0.RELEASE
Fixes gh-1848
2014-11-11 15:20:57 -08:00
Phillip Webb 8cac63e239 Drop hibernate-jpa-2.0-api managed dependency
Fixes gh-1898
2014-11-11 13:03:25 -08:00
Phillip Webb 5834bcb59f Revert "Upgrade to HikariCP 2.2.4"
This reverts commit 325d751225.

Conflicts:
	spring-boot-dependencies/pom.xml
2014-11-11 12:53:36 -08:00
Phillip Webb f55705be1b Upgrade maven-source-plugin to 2.4
Fixes gh-1872
2014-11-11 12:51:02 -08:00
Phillip Webb 4fa8a94dd4 Update to latest Maven plugins
Fixes gh-1899
2014-11-11 12:44:31 -08:00
Andy Wilkinson 7aaf7c65bd Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2014-11-11 17:43:17 +00:00
Andy Wilkinson 142c183b11 Fix the ordering of versions and dependencies in the dependencies pom 2014-11-11 17:41:48 +00:00
Andy Wilkinson 6770960737 Upgrade to Spring AMQP 1.4.0.RELEASE
Closes gh-1849
2014-11-11 16:52:20 +00:00
Andy Wilkinson 674e61d87d Add dependency management for some additional Hibernate modules
hibernate-jpamodelgen was requested by a Boot user. hibernate-ehcache
and hibernate-envers were requested by a Spring IO Platform user (see
spring-io/platform#11

Closes gh-1896
2014-11-11 16:40:24 +00:00
Andy Wilkinson eecdb92728 Upgrade to Spring 4.0.8.RELEASE
Closes gh-1785
2014-11-11 12:31:07 +00:00
Andy Wilkinson 5194953030 Upgrade to Tomcat 8.0.15
Closes gh-1890
2014-11-11 12:30:12 +00:00
Andy Wilkinson 04f9872693 Upgrade to Jedis 2.5.2
Closes gh-1895
2014-11-11 11:26:47 +00:00
Andy Wilkinson aefd53059a Upgrade to SnakeYAML 1.14
Closes gh-1894
2014-11-11 11:26:47 +00:00
Andy Wilkinson 15991b2fd0 Upgrade to Mockito 1.10.8
Closes gh-1892
2014-11-11 11:26:47 +00:00
Andy Wilkinson 8b1905bb01 Upgrade to Hibernate Validator 5.1.3
Closes gh-1891
2014-11-11 11:26:47 +00:00
Andy Wilkinson 14b16712ed Upgrade to Log4j 2 2.1
Closes gh-1889
2014-11-11 11:26:47 +00:00
Andy Wilkinson a8fb5b10a7 Upgrade to Joda Time 2.5
Closes gh-1888
2014-11-11 11:26:47 +00:00
Andy Wilkinson 325d751225 Upgrade to HikariCP 2.2.4
Closes gh-1887
2014-11-11 11:26:46 +00:00
Andy Wilkinson 21354db647 Upgrade to H2 1.4.182
Closes gh-1886
2014-11-11 11:26:46 +00:00
Andy Wilkinson 0014f6dba7 Upgrade to Jackson 2.4.3
Closes gh-1885
2014-11-11 11:26:46 +00:00
Andy Wilkinson 7401e29f57 Upgrade to Spring Framework 4.1.2.RELEASE
Closes gh-1805
2014-11-11 11:26:46 +00:00
Andy Wilkinson 6eab4628f4 Merge branch '1.1.x' 2014-11-11 10:32:58 +00:00
Andy Wilkinson 21adc5066e Upgrade to Spring Mobile 1.1.3.RELEASE
Closes gh-1893
2014-11-11 10:32:17 +00:00
Andy Wilkinson 7d1606dcfa Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2014-11-11 10:13:51 +00:00
Andy Wilkinson f07c090876 Upgrade to Mongo Java Driver 2.12.4
The exception message for a connection timeout has been updated to
include the timeout period. The tests for the sample have been updated
accordingly.

Closes gh-1884
2014-11-11 10:10:16 +00:00
Andy Wilkinson 7e95dba52e Upgrade to Jolokia 1.2.3
Closes gh-1883
2014-11-11 10:08:58 +00:00
Andy Wilkinson a09e8f7538 Upgrade to HornetQ 2.4.5
Closes gh-1882
2014-11-11 10:08:37 +00:00
Andy Wilkinson 4e9da8c86e Upgrade to Hibernate 4.3.7
Closes gh-1881
2014-11-11 10:08:09 +00:00
Andy Wilkinson 55f976dd6b Upgrade to Freemarker 2.3.21
Closes gh-1880
2014-11-11 10:07:49 +00:00
Andy Wilkinson effbfb6d14 Upgrade to Groovy 2.3.7
Closes gh-1879
2014-11-11 10:07:21 +00:00
Andy Wilkinson 3647e1b0ca Upgrade to AspectJ 1.8.4
Closes gh-1878
2014-11-11 10:06:57 +00:00
Andy Wilkinson a250e60a3e Upgrade to Apache HTTPClient 4.3.6
Closes gh-1877
2014-11-11 10:06:32 +00:00
Andy Wilkinson 38e8942696 Upgrade to Thymeleaf Layout Dialect 1.2.7
Closes gh-1876
2014-11-11 10:04:10 +00:00
Andy Wilkinson 9b6ff220a1 Upgrade to MySQL Connector 5.1.34
Closes gh-1875
2014-11-11 10:03:29 +00:00
Andy Wilkinson b99ffcc170 Merge branch '1.1.x' 2014-11-10 15:43:07 +00:00
Michael Cramer 322bdd62ef Update maven-javadoc-plugin to version 2.10.1
Closes gh-1863
2014-11-10 15:41:18 +00:00
Michael Cramer f62664534d Update maven-dependency-plugin to version 2.9
Closes gh-1862
2014-11-10 15:40:42 +00:00
Andy Wilkinson a9b88d6955 Document need for ServerEndpointExporter and show its use in a sample
Traditionally, a @ServerEndpoint-annotated bean is found by a servlet
container initialiser, however Boot does not run servlet container
initialisers when an embedded container is being used. To be able to use
@ServerEndpoint in a Boot app that uses embedded Tomcat a
ServerEndpointExporter bean must be declared.

This commit updates the documentation to describe this requirement and
also updates the WebSockets sample to illustrate the use of
ServerEndpointExporter. The version of Spring Framework has been updated
to 4.0.8.BUILD-SNAPSHOT. This picks up the fix for SPR-12340.

Closes gh-1722
2014-11-10 11:27:56 +00:00
Nathan Voxland ce4400291b Upgrade to Liquibase 3.3.0
This commit updates Spring Boot to Liquibase 3.3.0 and makes the
necessary changes to Boot's PackageScanClassResolver.

Previously, when a class found by the scan could not be loaded a
warning message was logged. This commit lowers these to debug level,
bringing them into line with logging that the standard Liquibase
implementation does. It also avoids a warning always being logged at
startup due to Liquibase's WatchCommand$DynamicContentHandler which
depends on Jetty (an optional dependency of Liquibase).

Closes gh-1382
2014-11-06 18:24:32 +00:00
Phillip Webb b6bacd5e8a Upgrade to Servlet 3.1, Tomcat 8 and Jetty 9
Upgrade to latest versions of Tomcat and Jetty and to the latest Servlet
API whilst will remaining compatible with Tomcat 7 and Jetty 8.

Fixes gh-1832, gh-369
2014-11-05 16:35:34 -08:00
Andy Wilkinson a85e02fbb9 Update to Spring Data Evans SR1
Closes gh-1709
2014-11-03 11:31:58 +00:00
Stephane Nicoll 884c058e57 Add processor to generate configuration meta-data
Adds an annotation processor to generates a JSON meta-data file at
compile time from @ConfigurationProperties items. Each meta-data file
can include an array or 'properties' and 'groups'.

A 'property' is a single item that may appear in a Spring Boot
'application.properties' file with a given value. For example,
'server.port' and 'server.context-path' are properties. Each property
may optionally include 'type' and 'description' attributes to provide
the data type (e.g. `java.lang.Integer`, `java.lang.String`) and
some short documentation (taken from the field javadoc) about what the
property is for. For consistency, the type of a primitive is translated
to its wrapper counterpart, i.e. `boolean` becomes `java.lang.Boolean`.

A 'group' provides a higher level grouping of properties. For example
the 'server.port' and 'server.context-path' properties are in the
'server' group.

Both 'property' and 'group' items may additional have 'sourceType' and
'sourceMethod' attributes to indicate the source that contributed them.

Users may use `META-INF/additional-spring-configuration-metadata.json`
to manually provide additionally meta-data that is not covered by
@ConfigurationProperties objects. The contents of this file will be
read and merged with harvested items. The complete meta-data file is
finally written to `META-INF/spring-configuration-metadata.json`.

See gh-1001
2014-11-02 21:46:28 -08:00
Phillip Webb 830ce80824 Polish CLI init command
Rename a few classes and methods and extract some logic into helper
classes. Also change 2 char shortcuts to a single char.

Closes gh-1751
2014-11-01 09:05:47 -07:00
Dave Syer 49fbf215a1 Switch to Dropwizard metrics 3.1.0
Fixes gh-1775
2014-10-31 18:52:42 +00:00
Stephane Nicoll b2fe2dd912 Add init command to the CLI
This commit adds a new command to the CLI that allows to initialize a new
project from the command line. It uses the Spring initializr service to
actually generate the project.

The command offers two main operations:

1. Listing the capabilities of the service (--list or -l). This basically
dumps the defaults of a given service and the list of dependencies and
project types it supports
2. Generating a project. By default, http://start.spring.io is used and
its configured defaults are applied. Running spring init would therefore
have the same effect as clicking the 'generate project' on the UI without
entering any extra information. No file is overwritten by default.

The generation can be customized with the following options:

* --boot-version (-bv) Spring Boot version the project should use
* --dependencies (-d) comma separated list of dependencies to add to the
generated project
* --java-version (-jv) Java version to use
* --packaging (-p) the packaging for the project (jar, war)
* --target the url of the service to use

The actual type of the project can be defined in several ways:

1. Using the --type (-t) option that identifies a type that is supported
by the service
2. A combination of --build and/or --format that can be used to uniquely
identify matching these tags. Build represents the build system to use
(e.g. maven or gradle) while --format defines the format of the generated
project.

The project is saved on disk with the name provided by the server through
the Content-Disposition header, if any. It is possible to force it with
the --output option. It is possible to overwrite existing files by adding
the --force (-f) flag.

The --extract (-x) option allows to extract the project instead of saving
the zip archive. By default, the project is extracted in the current
working directory but it is possible to specify an alternate directory
using the --output option.

Fixes gh-1751
2014-10-31 08:39:03 +01:00
Phillip Webb 4b45ce9e57 Upgrade to Spring 4.1.2.BUILD-SNAPSHOT 2014-10-30 13:54:25 -07:00
Andy Wilkinson c8d7a6dc24 Merge branch '1.1.x' 2014-10-29 17:47:28 +00:00
Andy Wilkinson 9a491013c3 Update email addresses in pom files to use new pivotal.io domain
Closes gh-1774
2014-10-29 17:47:13 +00:00
Andy Wilkinson ef2455938e Align new JavaMail dependencies with Spring IO Platform
Spring IO Platform already provides dependency management for JavaMail.
This commit updates Boot’s new JavaMail dependency management to align
with the Platform, thereby allowing the Platform to inherit Boot’s
dependency management instead of defining its own.
2014-10-29 17:05:48 +00:00
Stephane Nicoll ccc5e65779 Add email support
This commit adds a new starter to auto-configure a MailSender when the
necessary classes are present and when the property "spring.mail.host" is
set.

The auto-configuration also accepts any arbitrary properties that
JavaMail might need using the "spring.mail.properties" prefix.

Fixes gh-1760
2014-10-29 15:39:05 +01:00
Andy Wilkinson 741d1f7273 Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2014-10-28 19:15:58 +00:00
Andy Wilkinson 812acec48f Upgrade to Spring Batch 3.0.2.RELEASE
Closes gh-1782
2014-10-28 19:14:34 +00:00
Andy Wilkinson b1e7cd0be2 Rename spring-boot-starter-cloud in spring-boot-dependencies
Fixes #1781
2014-10-28 19:08:43 +00:00
Dave Syer 015377f9de Exclude log4j in a couple of places (see gh-1660)
also rename spring-cloud starter
2014-10-28 15:57:14 +00:00
Andy Wilkinson cebfd44d16 Upgrade to Spring AMQP 1.4.0.RC1 2014-10-28 13:49:52 +00:00
Andy Wilkinson 43eda4ce5d Upgrade to Spring Integration 4.1.0.RC1
Closes gh-1765
2014-10-27 15:07:23 +00:00
Dave Syer 4cd3bf18e0 Revert "Updated liquibase dependency to 3.2."
This reverts commit d6621e62ad. I think
the test failure might be a bug in Liquibase:
https://liquibase.jira.com/browse/CORE-2094
2014-10-27 14:43:00 +00:00
Nathan Voxland d6621e62ad Updated liquibase dependency to 3.2.
Fixes gh-1382
2014-10-27 11:49:33 +00:00
Dave Syer 576f5cfb06 Upgrade Jersey to 2.13
Fixes gh-1752
2014-10-27 11:09:02 +00:00
Andy Wilkinson cf0018e88c Merge branch '1.1.x' 2014-10-22 12:42:10 +01:00
Andy Wilkinson 5e5e707945 Upgrade to Reactor 1.1.5.RELEASE
Closes gh-1742
2014-10-22 12:38:55 +01:00
Brett Wooldridge 9984939c47 Update HikariCP to 2.1.0, compile against the Java 6-compatible artifact
For those running applications on Java 8, dependency management for the
Java 8-compatible artifact is also provided.

Closes gh-1721
2014-10-16 15:21:57 +01:00
Andy Wilkinson d4fa5fa1cf Merge branch '1.1.x' 2014-10-15 11:06:45 +01:00
Andy Wilkinson 7cb3ae43d4 Update to Tomcat 7.0.56
Closes gh-1710
2014-10-15 11:05:14 +01:00
Phillip Webb 3228cfa9bd Fixup version numbers following release 2014-10-10 15:53:54 -07:00
Spring Buildmaster 3e71a21b30 Next development version 2014-10-10 15:19:47 -07:00
Daniel Fullarton 1dbc94d0f7 Add a logging system, starter and sample for Log4j 2
Closes gh-1565
2014-10-08 15:30:00 +01:00
Andy Wilkinson 73b80dbeed Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2014-10-06 13:50:47 +01:00
Andy Wilkinson e130c00e6c Upgrade to Spring Loaded 1.2.1.RELEASE
Closes gh-1474
2014-10-06 13:42:07 +01:00
Sebastien Deleuze 315213ea4e Support Jackson based XML serialization and Jackson2ObjectMapperBuilder
This commit introduces support for Jackson based XML serialization, using the
new MappingJackson2XmlHttpMessageConverter provided by Spring Framework
4.1. It is automatically activated when Jackson XML extension is detected on the
classpath.

Jackson2ObjectMapperBuilder is now used to create ObjectMapper and XmlMapper
instances with the following customized properties:
 - MapperFeature.DEFAULT_VIEW_INCLUSION is disabled
 - DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES is disabled

JodaModuleAutoConfiguration and Jsr310ModuleAutoConfiguration have been removed
since their behaviors are now handled directly by the ObjectMapper builder.

In addition to the existing @Bean of type ObjectMapper support, it is now
possible to customize Jackson based serialization properties by declaring
a @Bean of type Jackson2ObjectMapperBuilder.

Fixes gh-1237
Fixes gh-1580
Fixes gh-1644
2014-10-06 10:54:38 +01:00
Stephane Nicoll 24da6a504e Upgrade to Spring framework 4.1.1
Closes gh-1654
2014-10-02 16:07:33 +02:00
Dave Syer 339f3b7bf0 Add autoconfig support for Jersey (2)
Jersey 2 has some Spring support built in but it's a bit awkward to
use in a Boot app, so autoconfiguration seems appropriate. The tests
and sample show how to use it, but the short story is that any
@Component can define JAX-RS endpoints via @GET etc.

There's a sample for Jersey 1 as well (pay careful attention to
the plugin configuration if you want to build an executable jar)

Fixes gh-1651
2014-10-02 11:22:00 +01:00
Andy Wilkinson c601c09ecc Upgrade to Hibernate Validator 5.1.2.Final
Closes gh-1595
2014-10-01 17:28:29 +01:00
Henryk Konsek 7f20f5d4f8 Upgraded ActiveMQ version to 5.10.0
Fixes gh-1609
2014-09-26 13:08:03 -07:00
Phillip Webb 4f9258a345 Fixup version numbers following release 2014-09-25 21:37:40 -07:00
Spring Buildmaster edb4b7ed7d Next development version 2014-09-25 21:02:37 -07:00
Phillip Webb 22378698fe Upgrade to Spring Framework 4.1.1.BUILD-SNAPSHOT 2014-09-17 21:37:23 -07:00
Andy Wilkinson 750c116078 Upgrade to Spring Integration 4.0.4 and Spring AMQP 1.3.6
Closes gh-1503
Closes gh-1505
2014-09-07 17:32:09 -05:00
Andy Wilkinson fbeb8c966c Upgrade to Spring Data Evans
The missing bean condition on the auto-configuration classes for
Elasticsearch, Jpa, Mongo and Solr repositories have been tightened to
look for ElasticsearchRepositoryFactoryBean, JapRepositoryFactoryBean,
MonoRepositoryFactoryBean, and SolrRepositoryFactoryBean respectively.

In Spring Data Evans, when there are multiple repository types on the
classpath, a strict mode is entered to prevent the different
repositories from trampling over each other. A side-effect of this is
that for the Mongo domain types in the tests to be discovered they
must be explicitly annotated with @Document.

Closes gh-1338
2014-09-07 16:04:04 -05:00
David Liu 8e9e502b6a Add support for auto-configuration of Commons DBCP2
Closes gh-1292
Closes gh-1477
2014-09-07 10:43:48 -05:00
Andy Wilkinson 85ebc29639 Upgrade to latest Spring Integration and AMQP milestones
Closes gh-1493
Closes gh-1517
2014-09-05 16:44:27 +01:00
Phillip Webb 338288205b Fixup version numbers following release 2014-09-04 15:40:55 -07:00
Spring Buildmaster d63e4b4329 Next development version 2014-09-04 12:15:18 -07:00
Stephane Nicoll 2d8ec0faab Upgrade to Spring framework 4.1.0
Fixes gh-1501
2014-09-04 14:36:27 +02:00
Stephane Nicoll 3f148683a1 Update to Spring framework 4.0.7
Fixes gh-1488
2014-09-04 11:10:33 +02:00
Ramnivas Laddad 413890de48 Add starter for spring-cloud
Fixes gh-1385
2014-09-03 19:39:16 -07:00
Phillip Webb 9a1c15a88d Upgrade to spring-cloud v1.1.0 2014-09-03 19:15:27 -07:00
Andy Wilkinson bf249d4205 Provide dependency management for all of Spring Cloud
Closes #1462
2014-08-28 10:25:34 +01:00
Phillip Webb ff870de0f0 Fix a few JTA issues
- Search for ConnectionFactories in java:/JmsXA and
  java:/XAConnectionFactory
- Remove javax.transaction:jta managed dependency
- Removed unused JtaProperties argument

Fixes gh-947
2014-08-27 10:09:34 -07:00
David Liu f4ccaa874a Provide auto-configuration for Gson
Closes #1339
2014-08-27 16:57:21 +01:00
Andy Wilkinson d16ae2afd4 Merge branch '1.1.x' 2014-08-27 13:34:28 +01:00
Andy Wilkinson 37aa532617 Upgrade to Spring Data Dijkstra SR4
Closes #1419
2014-08-27 13:34:03 +01:00
Andy Wilkinson 993a43ee8c Remove non-existent starter from dependencies pom 2014-08-27 09:47:25 +01:00
Josh Long e1160922f9 Add Atomikos and Bitronix starter POMs
Add starters for Atomikos and Bitronix JTA libraries.

See gh-947
2014-08-26 22:34:04 -07:00
Phillip Webb b91274c0db Add Bitronix support classes
Add support classes for the Bitronix JTA library, including:

- A Spring friendly ConnectionFactoryBean and DataSourceBean with
  support for setting a direct XA source.
- A PostProcessor to apply shutdown ordering automatically.

See gh-947
2014-08-26 22:33:45 -07:00
Phillip Webb 983ec0ebc8 Add Atomikos support classes
Add support classes for the Atomikos JTA library, including:

- A Spring friendly ConnectionFactoryBean and DataSourceBean.
- A PostProcessor to apply "depends-on" ordering automatically.
- A bindable properties class for type-safe configuration.

See gh-947
2014-08-26 22:33:37 -07:00
Phillip Webb 939af5e931 Revert "Add activemq-jms-pool managed dependency"
This reverts commit bbdfcd4faa.
2014-08-22 11:16:46 -07:00
Phillip Webb d6fdc47724 Restore repositories section
Restore repositories section accidentally removed during the merge
2014-08-22 09:49:07 -07:00
Phillip Webb 8f883febd1 Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2014-08-22 09:47:30 -07:00
Phillip Webb bbdfcd4faa Add activemq-jms-pool managed dependency
Fixes gh-1423
2014-08-22 09:41:18 -07:00
Phillip Webb 7d4fbacecd Fix invoker to not download remote artifacts
Updates to prevent the maven-invoker-plugin from downloading remote
snapshot jars. Possibly caused by the recent changes to the
spring-boot-dependencies POM.

See gh-1413
2014-08-21 00:52:00 -07:00
Phillip Webb 75578e833a Add repositories section to dependencies POM
Inadvertently missed on commit 7732135a2b

Fixes gh-1413
2014-08-20 18:35:07 -07:00
Andy Wilkinson 8e5556bcfa Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2014-08-19 13:11:15 +01:00
Andy Wilkinson fbd429c6c1 Upgrade to HTTP Client 4.3.5
Closes #1409
2014-08-19 12:13:28 +01:00
Andy Wilkinson 7ea61f6d72 Upgrade to org.apache.httpcomponents:httpasyncclient 4.0.2
Closes #1408
2014-08-19 12:13:28 +01:00
Andy Wilkinson 0eaee3e833 Upgrade to mysql-connector-java 5.1.32
Closes #1407
2014-08-19 12:13:28 +01:00
Andy Wilkinson 0917760522 Upgrade to Jackson 2.3.4
Closes #1406
2014-08-19 12:13:28 +01:00
Andy Wilkinson c1d6e5e897 Upgrade to Tomcat 7.0.55
Closes #1405
2014-08-19 12:13:21 +01:00
Andy Wilkinson 601794c617 Upgrade to Spring Integration 4.0.3
Closes #1404
2014-08-19 11:55:09 +01:00
Andy Wilkinson 0e3d49512f Upgrade to Reactor 1.1.4 and Reactor Spring 1.1.3
Closes #1402
Closes #1403
2014-08-19 11:54:11 +01:00
Andy Wilkinson e3769889f5 Upgrade to mongo-java-driver 2.12.3
Closes #1401
2014-08-19 11:52:04 +01:00
Andy Wilkinson 77147bfe5c Upgrade to HornetQ 2.4.3.Final
Closes #1400
2014-08-19 11:51:14 +01:00
Andy Wilkinson 58061bd852 Upgrade to AspectJ 1.8.2
Closes #1399
2014-08-19 11:47:34 +01:00
Andy Wilkinson 2892247491 Upgrade to Spring Security 3.2.5
Closes #1398
2014-08-19 11:30:28 +01:00
Andy Wilkinson 2668e152ff Upgrade to Hibernate 4.3.6
Closes #1389
2014-08-19 11:29:29 +01:00
Mattias Severson 326516a305 Delete duplicate version numbers of Maven plugins
The Maven plugin version numbers are defined in the pluginManagement
of the spring-boot-dependencies pom.xml. Consequently, they can be
deleted in the spring-boot-starter-parent pom.xml to avoid version
conflicts and duplicated version management.
2014-08-19 11:25:52 +02:00
Andy Wilkinson ecdd291254 Upgrade to Joda Time 2.4
Closes #1388
2014-08-18 10:14:03 +01:00
Andy Wilkinson 5338dc2ade Upgrade to Jackson 2.4.2
Closes #1387
2014-08-18 09:56:56 +01:00
Ramnivas Laddad 912d5cf40b Add auto-configuration for Spring Cloud
Enable if all of the following are true:
- spring-cloud is on the classpath
- There is no Cloud bean present
  (usually done by extending AbstractCloudConfig)
- The "cloud" profile is active

Fixes gh-1302

Autoconfigure spring-cloud
2014-08-14 20:47:59 -07:00
Phillip Webb cac3865ffa Fixup version numbers following release 2014-08-07 13:11:16 -07:00
Spring Buildmaster 74d0c5185a Next development version 2014-08-07 11:59:17 -07:00
Stephane Nicoll df9200d432 Add JCache API dependency management
The dependency is currently declared in Spring IO Platform from where
it can be removed once it's using a version of Boot that contains
this change. To make the migration of the dependency management from
the Platform to Boot seamless, the dependency is versioned using a
property with the same name as is currently used by the Platform:
javax-cache.version

Closes #1347
2014-08-07 14:40:01 +01:00
Andy Wilkinson 636cc5424f Merge branch '1.1.x' 2014-07-29 15:50:27 +01:00
Andy Wilkinson b7299708f8 Upgrade to Spring HATEOAS 0.16.0
Closes #1307
2014-07-29 15:50:09 +01:00
Andy Wilkinson 3639fe2441 Merge branch '1.1.x' 2014-07-29 15:38:05 +01:00
Andy Wilkinson b69a5dab80 Upgrade to Spring Data Dijkstra SR3
Closes #1305
2014-07-29 15:37:50 +01:00
Andy Wilkinson 6c718c24d8 Merge branch '1.1.x' 2014-07-29 11:39:53 +01:00
Andy Wilkinson 86d47f62db Upgrade to Groovy 2.3.6
Closes #1304
2014-07-29 11:24:42 +01:00
Max Bruchmann ee40fb8cf1 Add auto-configuration for Thymeleaf data dialect
Closes #1120
2014-07-29 11:12:02 +01:00
Andy Wilkinson 29b388e6a9 Merge branch '1.1.x' 2014-07-28 15:33:54 +01:00
Andy Wilkinson cba50b8ee7 Upgrade to Groovy 2.3.5
Closes #1299
2014-07-28 15:32:44 +01:00
Andy Wilkinson 3145edff3a Upgrade to Spring 4.1.0 and use Yaml support that migrated from Boot
Closes #813
2014-07-17 14:39:18 +01:00
Andy Wilkinson db2b20879d Merge branch '1.1.x' 2014-07-15 14:38:02 +01:00
Andy Wilkinson 672d713f99 Add dependency management for spock-spring and document its use
Closes #1234
2014-07-15 14:36:56 +01:00
Andy Wilkinson 41ca0f604a Merge branch '1.1.x' 2014-07-15 14:23:17 +01:00
Andy Wilkinson 847627810a Merge branch '1.1.x' 2014-07-15 13:54:34 +01:00
Andy Wilkinson 124418f83f Upgrade to HikariCP 1.4.0
Closes #1220
2014-07-15 13:53:28 +01:00
Andy Wilkinson 6cac7926d9 Upgrade to Groovy 2.3.4
Closes #1224
2014-07-15 13:52:40 +01:00
Lukasz Kryger 51196e01d5 Dependencies for json-path in BOM 2014-07-15 09:31:29 +01:00
Stephane Nicoll 249e09d9bc Switch master to 1.2.0.BUILD-SNAPSHOT 2014-07-11 10:44:05 +02:00
Phillip Webb 3c7d825658 Fixup version numbers following release 2014-07-08 03:07:03 -07:00
Spring Buildmaster 40327e1ae6 Next development version 2014-07-08 02:33:36 -07:00
Phillip Webb 54f1b29db5 Upgrade to Spring Framework 4.0.6
Fixes gh-1217
2014-07-08 00:41:00 -07:00
Andy Wilkinson 6a0eb90007 Upgrade to Spring Batch 3.0.1
Due to a mistake in Spring Batch 3.0.0 it has been necessary to
introduce a breaking API change (the addition of
BatchConfigurer.getJobExplorer()) in the 3.0.1 release. This commit
updates Boot to use 3.0.1 and modifies the Batch auto-configuration
and associated tests to implement the new method.
2014-07-08 00:03:30 -07:00
Oliver Gierke 075eb9f30c Upgrade to Spring Data Dijkstra SR1
Upgraded to Dijkstra SR1 BOM as well as Spring HATEOAS 0.14.0.RELEASE
(required by Dijkstra SR1).

Closes #1197
Fixes #1190
2014-07-01 08:56:17 +01:00
Andy Wilkinson 54849f83c4 Upgrade to Spring AMQP 1.3.5
Closes #1193
2014-06-30 15:05:58 +01:00
Phillip Webb cc61d92b88 Fixup build following release 2014-06-27 07:00:57 -07:00