Commit Graph

23481 Commits

Author SHA1 Message Date
Dave Syer
dac1b53fda Don't mask original exception in SpringApplication.handleError
If any @Import (or @Enable*, especially @EnableScheduling) has registered
bean *names* as ApplicationListeners, and the application context wasn't
refreshed fully when it failed, then the listener lookup could fail and
mask the original exception

Fixes gh-253
2014-01-23 10:21:32 +00:00
Dave Syer
a55809959f Fix type mentioned in javadocs 2014-01-23 10:21:32 +00:00
Dave Syer
195eb9f9bc Updates to redis repositories
* Ensure prefix ends with period
* Allow prefix and key index to be set separately
2014-01-23 10:21:31 +00:00
Andy Wilkinson
d64b18cca9 Document JSP limitations with executable JAR or WAR 2014-01-22 10:00:00 +00:00
Dave Syer
a2f70c6f4f Add javadocs to some Metrics interfaces
Fixes gh-250
2014-01-22 09:53:52 +00:00
Dave Syer
d23dab3bd0 Change package name in sample 2014-01-22 09:34:56 +00:00
Oliver Gierke
765bfbd086 Include spring-aspects in Spring Data JPA starter.
Declared spring-aspects as additional dependency in Spring Data JPA
starter pom. This is necessary to let the auditing feature work
correctly.
2014-01-22 09:58:46 +01:00
Phillip Webb
4a0ef9720b Update READMEs to reference latest version number 2014-01-22 00:13:49 -08:00
Phillip Webb
595cb6d55b Fix version-type logic to deal with RCx form 2014-01-21 22:15:11 -08:00
Phillip Webb
f500e48e2c Fix version replacement in homebrew generation 2014-01-21 21:05:23 -08:00
Phillip Webb
d0f3e33f21 Remove unused test dependency 2014-01-21 21:05:06 -08:00
Phillip Webb
43e54d38f7 Make fields private where possible 2014-01-21 16:29:07 -08:00
Phillip Webb
0160760568 Apply latest eclipse cleanup rules 2014-01-21 16:28:26 -08:00
Phillip Webb
0ac5a7595b Polish eclipse settings 2014-01-21 16:28:26 -08:00
Phillip Webb
ac54d7fe3c Final polish before 1.0.0.RC1 2014-01-21 16:28:17 -08:00
Phillip Webb
853b0a8027 Fix some maven warnings 2014-01-21 10:56:09 -08:00
Phillip Webb
cdda330acd Update copyright header for files changed in 2014 2014-01-21 10:27:10 -08:00
Phillip Webb
b12d728c06 Update ant example to 1.0.0.BUILD-SNAPSHOT 2014-01-21 10:22:42 -08:00
Phillip Webb
72dc09cb56 Strip trailing whitespace 2014-01-21 10:22:00 -08:00
Dave Syer
433d049544 Make some dependencies optional 2014-01-21 17:41:27 +00:00
Dave Syer
ea3b82091b Tweak javadocs in SprinApplicationBuilder 2014-01-21 14:29:19 +00:00
Dave Syer
7e4ee4f720 Special case for YAML ParseException caused by bad document boundary
YAML documents can be text literals, so some common typos can be misleading
and not generate the expected exception (Boot fails to cast the
document to a Map, rather than reporting the underlying exception).

Fixes gh-235
2014-01-21 13:58:16 +00:00
Dave Syer
2dc4c291ff Add some clarifications to maven plugin README
Fixes gh-246
2014-01-21 12:18:13 +00:00
Dave Syer
02f6814d93 Revert direct dependency on Jasper pending changes in Tomcat 2014-01-21 12:18:13 +00:00
Dave Syer
8f4059147c Revert "Upgrade to Tomcat 7.0.50"
This reverts commit 3d60696b9b.
2014-01-21 12:18:12 +00:00
Phillip Webb
7bb6bf6a54 Polish 2014-01-21 00:44:02 -08:00
Phillip Webb
68293f34af Upgrade version to 1.0.0.BUILD-SNAPSHOT
Fixes fg-243
2014-01-21 00:43:54 -08:00
Phillip Webb
3d60696b9b Upgrade to Tomcat 7.0.50
Upgrade to Tomcat 7.0.50, working around the potential
NullPointerException by also adding dependencies to
tomcat-embedded-jasper (which is now also required for Hibernate
Validator 5.0, see commit 377953babd)

Fixes gh-245
2014-01-20 23:45:27 -08:00
Phillip Webb
377953babd Upgrade to Hibernate Validator 5.0.2
Update Hibernate Validator dependency to 5.0.2 and also include
Tomcat Jasper dependency. Jasper is required as it provides the
default ExpressionFactory implementation class
(org.apache.el.ExpressionFactoryImpl) which is indirectly
instantiated by Hibernate Validator.

Fixes gh-173
2014-01-20 22:59:42 -08:00
Phillip Webb
618bfc65ac Upgrade to Groovy 2.2.1
Fixes gh-126
2014-01-20 22:28:24 -08:00
Phillip Webb
e38f10d7a6 Upgrade CRaSH shell to 1.3.0-beta14 2014-01-20 22:18:28 -08:00
Phillip Webb
e33eae5b54 Upgrade various 3rd-party dependencies 2014-01-20 22:17:51 -08:00
Rob Winch
6c5701bacd Use @Autowired AuthenticationManagerBuilder
Update documentation to use @Autowired AuthenticationManagerBuilder.

Fixes gh-244
2014-01-20 20:19:59 -08:00
Phillip Webb
18cecd077d Move CLI integration tests into spring-boot-cli
Use `maven-failsafe-plugin` to run CLI integration tests as part of
the `spring-boot-cli` project, removing the need for
`spring-boot-cli-integration-tests`.
2014-01-20 12:12:10 -08:00
Andy Wilkinson
f418a07ba7 Add basic integration tests for the CLI
Add integration tests for the CLI that invoke it as a user would, i.e.
via the shell script in the package's bin directory.
2014-01-20 11:19:33 +00:00
Dave Syer
015d92b8e8 Add docs for @EntityScan and JPA repository packages
Fixes gh-200
2014-01-20 08:29:35 +00:00
Dave Syer
c1bbd4fc4e Fix typo in howto 2014-01-20 08:11:49 +00:00
Phillip Webb
56364ecd46 Allow custom PersistenceUnitManager with JPA
Allow JPA auto-configuration to use an optional custom
PersistenceUnitManager defined as a bean.

Fixed gh-238
2014-01-19 21:59:06 -08:00
Phillip Webb
096ace6896 Add @EntityScan annotation
Add an @EntityScan annotation that can be used to configure the
`packagesToScan` attribute on `LocalContainerEntityManagerFactoryBean`.

Fixed gh-239
2014-01-19 21:42:04 -08:00
Dave Syer
8db1d0e044 Fix some TODOs 2014-01-19 16:00:10 +00:00
Dave Syer
07da034571 Allow @EnableTransactionManagement to be supplied by user 2014-01-19 14:11:04 +00:00
Dave Syer
e7675a0630 Add unit tests for YAML parsing errors
Test for gh-235
2014-01-19 14:11:04 +00:00
Phillip Webb
0a6074be6f Fix failing test due to cache timeout property
Related to gh-232
2014-01-18 11:51:14 -08:00
Christopher Smith
25cc68cafe Add spring.resources.cachePeriod to MvcAutoConfiguration
Fixes gh-232
2014-01-17 18:48:32 +00:00
Dave Syer
5627caa724 Move spring-boot tests utilities to main spring-boot.jar
Fixes gh-233
2014-01-17 18:31:08 +00:00
Dave Syer
d53a52cf1a Fix test 2014-01-17 17:40:01 +00:00
Dave Syer
d01bc59d7e Update to bootstrap 3.0.3 2014-01-17 10:15:16 +00:00
Dave Syer
aded7435b5 Swicth to webjars for static sample 2014-01-17 09:59:13 +00:00
Dave Syer
559f907b54 Use explicit test dependencies in samples 2014-01-17 09:08:18 +00:00
Phillip Webb
f103a976f8 Don't use @ComponentScan for default packages
Update the 'default' package used for @Entity and Repository scanning
to be the package of the class annotated with @EnableAutoConfiguration
rather than using @ComponentScan.

This allows JPA and Spring Data to be used without requiring component
scanning and also removes the confusion that could arise from reusing
the @ComponentScan annotation, which already has well defined semantics.

Fixes gh-200
2014-01-16 22:57:07 -08:00