Commit Graph

6914 Commits

Author SHA1 Message Date
Andy Wilkinson dad4e84d35 Merge pull request #5410 from Kazuki Shimizu
* version-upgrades:
  Upgrade to Logback 1.1.6
2016-04-01 11:43:25 +01:00
Kazuki Shimizu b4b7e7ead3 Upgrade to Logback 1.1.6
Closes gh-5410
2016-04-01 11:42:50 +01:00
Andy Wilkinson e7bb67fa33 Upgrade to SLF4J 1.7.20
Closes gh-5408
2016-04-01 11:42:07 +01:00
Phillip Webb 39140945b5 Polish 2016-03-29 21:45:11 -07:00
Andy Wilkinson 1043239de0 Ignore non-JavaExec run task when finding application's main class
Previously, FindMainClassTask would look for a property named main
on any class named run. This was based on the assumption that the
run task would be a JavaExec task (typically provided by the
application plugin). If the run task was not a JavaExec task (more
accurately, if it did not have a main property) this would result in
a build failure due to trying to read a non-existent property.

This commit updates FindMainClassTask to only use the main property
of the run task if the task is a JavaExec task. This guarantees that
the property will exist on the task, and unlike using any property
named main on a task named run, also guarantee that its value will
refer to a Java class with a main method.

Closes gh-5501
2016-03-29 11:03:47 +01:00
Stephane Nicoll ae095b2c1b Disable JMX Integration support if necessary
This commit fixes `IntegrationAutoConfiguration` to actually rely on the
auto-configured `MBeanServer` rather than attempting to create it again.

If JMX support is disabled, no attempt to register integration-related
MBeans is made.

Closes gh-5309
2016-03-29 11:27:24 +02:00
Stephane Nicoll 3363415712 Polish documentation
Add a reference ot underscore notation

Closes gh-5268
2016-03-29 10:56:46 +02:00
Phillip Webb 0a7a283f45 Apply logging system properties on reinitialize
Restore Spring Boot 1.3.2 behavior of re-applying system properties
when SLF4J based loggers are re-initialized. Reapplying system
properties is required when using the Spring Cloud config server since
PropertySourceBootstrapConfiguration directly calls the system
initialize method.

Fixes gh-5491
2016-03-28 12:49:05 -07:00
Stephane Nicoll 422f3d12a3 Merge pull request #5489 from garyrussell/amqp-update13
* pr/5489:
  Upgrade Spring AMQP to 1.5.5.RELEASE
2016-03-25 10:26:16 +01:00
Gary Russell 67cffaebcc Upgrade Spring AMQP to 1.5.5.RELEASE
Closes gh-5489
2016-03-25 10:25:43 +01:00
Andy Wilkinson 86a9fc2f9a Upgrade to Undertow 1.3.19.Final
Closes gh-5264
2016-03-24 17:37:49 +00:00
Stephane Nicoll b1b84a358d Fix Artemis embedded mode condition
This commit prevents the Artemis embedded mode to kick-in if the
`EmbeddedJMS` class it not in the classpath. The previous condition would
match if only `artemis-server` was on the classpath while
`artemis-jms-server` is actually required.

Closes gh-5452
2016-03-21 11:55:59 +01:00
Stephane Nicoll 3c15ddf807 Fix version of Spring Framework in doc
Closes gh-5415
2016-03-15 12:15:31 +01:00
Phillip Webb 5e722dae6a Polish 2016-03-08 09:37:13 -08:00
Stephane Nicoll a83dae0e10 Polish contribution
Closes gh-5335
2016-03-08 10:01:14 +01:00
Eric Bottard 79cd01eb7a Fix configuration property name when group is empty
See gh-5335
2016-03-08 09:48:26 +01:00
Andy Wilkinson 497790571f Add dependency management for logback-core
Previously, only dependency management for logback-classic was
provided. This meant that it was possible for logback-core, upon
which logback-classic depends, to have a different version.

This commit adds dependency management for logback-core, thereby
ensuring that the two dependencies will have the same version.

Closes gh-5304
2016-03-02 11:02:18 +00:00
Andy Wilkinson 40ffe4169b Improve DevTools non-embedded in-memory DB shutdown handling
Shutdown handling has been improved so that it will run after any
EntityManagerFactory beans have been closed. This ensures that Hibernate
can, if configured to do so, drop its schema during restart processing.
Without this change, a benign exception could be logged if the database
was shutdown before Hibernate.

Closes gh-5305
2016-03-02 10:55:29 +00:00
Stephane Nicoll c6c001457a Fix description of classifier attribute
See gh-5258
2016-03-01 11:15:10 +01:00
Dave Syer baf7dda05a Accumulate state in a local variable, not a field in the instance
State is accumulating unnecessarily in AST tranformation instances.
We can fix the ones we have implemented so far just by using a
local variable and passing it into the methods where it is used.
All the methods are private so this change is safe in a point release.

Fixes gh-5283
2016-02-29 16:46:53 +00:00
Dave Syer 0dd3531f77 Fix apostrophe 2016-02-29 16:46:53 +00:00
Andy Wilkinson bb473c32e2 Enable Animal Sniffer checking of spring-boot-loader-tools
Previously, Animal Sniffer checking of spring-boot-loader-tools
was disabled as it failed with an NPE. This has been fixed in
Animal Sniffer 1.15.

This commit upgrades Animal Sniffer to 1.15 and adds the necessary
annotations to suppress failures for safe usage of sun.* and Java 7
APIs.

Note that UsesUnsafeJava has been copied from spring-boot and made
package-private. This retains the clearer intent of the custom
annotation (versus @IgnoreJRERequirement) while avoiding the change
in the build order that would be necessary for
spring-boot-loader-tools to use the annotation from spring-boot.

Closes gh-5284
2016-02-29 14:44:27 +00:00
Andy Wilkinson 4eda91d6db Allow logging.file and logging.path to refer to logging system properties
Closes gh-5274
2016-02-29 12:32:47 +00:00
Andy Wilkinson 7a4e061de5 Make DevTools DataSource auto-config back off without DataSourceProperties
Previously, if DataSourceAutoConfiguration had been explicitly excluded,
DevToolsDataSourceAutoConfiguration would cause refresh to fail due to
a missing DataSourceProperties bean. This commit corrects the condition
so that the auto-configuration is conditional on a DataSource bean and
a DataSourceProperties bean rather than only being conditional on one or
the other.

Closes gh-5269
2016-02-29 11:37:17 +00:00
Stephane Nicoll 5680ffdedb Fixup version numbers following release 2016-02-26 11:00:36 +01:00
Spring Buildmaster 225d877ab9 Next Development Version 2016-02-26 01:06:16 -08:00
Phillip Webb 936a96746a Fix missing Javadoc @param 2016-02-25 22:13:03 -08:00
Phillip Webb 4fd778fed8 Polish CacheManagerCustomizers 2016-02-25 20:05:16 -08:00
Andy Wilkinson 7ba16e37e8 Merge pull request #5205 from Vedran Pavić
* gh-5205:
  Fix namespace declarations in Hazelcast xml's and make them consistent
2016-02-25 20:00:21 +00:00
Vedran Pavic 6801e8208d Fix namespace declarations in Hazelcast xml's and make them consistent 2016-02-25 19:59:28 +00:00
Stephane Nicoll ad57d99fe5 Cleanup HazelcastInstance in test
If a JCache provider is started with hazelcast and the default settings,
the underlying `HazelcastInstance` is disposed at the end of the
process, not when the `CacheManager` is closed.

This commit fixes the only test that use such setup.

See also https://github.com/hazelcast/hazelcast/issues/7606

Closes gh-5209
2016-02-25 14:25:28 +01:00
Andy Wilkinson 5d1ee87e81 Upgrade to Spring Framework 4.2.5.RELEASE 2016-02-25 10:45:57 +00:00
Andy Wilkinson 6075682e64 Polishing
- Code formatting
 - Javadoc warnings
 - Deprecation warnings
2016-02-24 17:05:54 +00:00
Andy Wilkinson 1c715ab282 Upgrade to Jetty 9.2.15.v20160210
Upgrade to Jetty 9.2.15 and replace use of API that was deprecated
and changed to throw an UnsupportedOperationException in the same
release.

Closes gh-5218
2016-02-24 16:49:22 +00:00
Andy Wilkinson 1735fac3ab Upgrade to Logback 1.1.5
Closes gh-5212
2016-02-24 16:24:10 +00:00
Andy Wilkinson ab96962833 Upgrade to Spring AMQP 1.5.4.RELEASE
Closes gh-5224
2016-02-24 15:15:24 +00:00
Andy Wilkinson efec3b5607 Upgrade to SLF4J 1.7.16
Closes gh-5223
2016-02-24 15:15:23 +00:00
Andy Wilkinson 3eafec5f83 Upgrade to Postgresql 9.4.1208.jre7
Closes gh-5222
2016-02-24 15:15:23 +00:00
Andy Wilkinson f5e450ebf7 Upgrade to Jolokia 1.3.3
Closes gh-5221
2016-02-24 15:15:23 +00:00
Andy Wilkinson a33325e3da Upgrade to Hibernate Validator 5.2.4.Final
Closes gh-5220
2016-02-24 15:15:23 +00:00
Andy Wilkinson 0c389945da Upgrade to Jersey 2.22.2
Closes gh-5219
2016-02-24 15:15:23 +00:00
Andy Wilkinson f734fd8d17 Upgrade to ActiveMQ 5.12.3
Closes gh-5217
2016-02-24 15:15:22 +00:00
Andy Wilkinson 1b84ccb449 Upgrade to thymeleaf-layout-dialect 1.3.3
Closes gh-5216
2016-02-24 15:15:22 +00:00
Andy Wilkinson ea34dcdcde Upgrade to HikariCP-java6 2.3.13
Closes gh-5215
2016-02-24 15:15:22 +00:00
Andy Wilkinson beb5f0bd41 Upgrade to Hazelcast 3.5.5
Closes gh-5214
2016-02-24 15:15:22 +00:00
Andy Wilkinson d9814bf529 Upgrade to H2 1.4.191
Closes gh-5213
2016-02-24 15:15:22 +00:00
Andy Wilkinson 718f509271 Upgrade to Dependency Management Plugin 0.5.6.RELEASE
Closes gh-5211
2016-02-24 14:18:32 +00:00
Stephane Nicoll 5febd497da Support customization of CacheManager
This commit allows to customize the auto-configured `CacheManager` by
exposing a bean of type `CacheManagerCustomizer`. The implementation may
reference the type of a `CacheManager` to determine in which case it has
to be invoked.

Several implementations can be provided and ordered using the regular
`Ordered` interface and `@Order` annotation.

Closes gh-5039
2016-02-24 14:00:38 +01:00
Andy Wilkinson ce71bd997c Remove redundant public modifier 2016-02-24 12:51:33 +00:00
Andy Wilkinson 13971692dc Docs and actuator endpoints can be enabled when endpoints.enabled=false
Previously, if endpoints.enabled was false setting
endpoints.docs.enabled=true or endpoints.actuator.enabled=true would
have no effect as their entire configuration class was conditional
on endpoints.enabled being true.

This commit updates the conditions on the configuration class so that
it is conditional on either the actuator or docs endpoint being enabled.

Closes gh-5007
2016-02-24 12:32:09 +00:00