Commit Graph

23481 Commits

Author SHA1 Message Date
Phillip Webb
f4dc090bae Add a little more context to ErrorPageFilter log
Add the servlet and context path along with the exception message to
the error logged in ErrorPageFilter.

See gh-1427
2014-08-25 10:06:22 -07:00
Dave Syer
bb13ebc0a3 Merge branch '1.1.x' 2014-08-25 17:28:12 +01:00
Dave Syer
2d67452128 Log exceptions in ErrorPageFilter
For some reason I thought that the DispatcherServlet default handler
would log all exceptions, so if we did it in the ErrorPageFilter it
would lead to duplicates. That appears not to be the case.

Fixes gh-1427
2014-08-25 17:26:57 +01:00
Dave Syer
43de5f3df8 Bump version in new sample 2014-08-25 17:21:17 +01:00
Dave Syer
5fd9af23d6 Merge branch '1.1.x' 2014-08-25 17:18:36 +01:00
Dave Syer
607f78a779 Add secure sample with JDBC and data.sql
We can't easily solve the problem by not allowing Spring Security to
eagerly instantiate everything, but we can be defensive about data.sql
and make sure it is executed even if the listener isn't yet registered.

Fixes gh-1386
2014-08-25 17:16:32 +01:00
Dave Syer
9da556d5e9 Merge branch '1.1.x' 2014-08-25 16:59:46 +01:00
Dave Syer
00ef26599e Add clarification of logging.file (fixes gh-1416) 2014-08-25 16:59:12 +01:00
Stephane Nicoll
d1f4fd0ecb Add skip parameter to repackage goal
This commit adds a 'skip' parameter to the 'repackage' goal that is
false by default. When this parameter is enabled, the repackage goal
does not run at all.

This can be used when repackaging should occur conditionally or
when a particular module in a hierarchy should not use this feature.

Fixes gh-1424
2014-08-23 10:02:08 +02:00
Phillip Webb
8c030795c2 Merge branch '1.1.x'
Conflicts:
	spring-boot-dependencies/pom.xml
2014-08-22 11:18:36 -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
658dc10722 Merge branch '1.1.x' 2014-08-21 22:11:40 -07:00
Phillip Webb
d515595ca1 Detect embedded DBs when deducing driver class
Fix DataSourceProperties getUsername() and getPassword() methods to
call getDriverClassName() rather than using `this.driverClassName` to
ensure than deduced driver classes can be used.

Fixes gh-1421
2014-08-21 22:06:01 -07:00
Phillip Webb
e6c18a00a1 Polish 2014-08-21 22:03:19 -07:00
Phillip Webb
77bf558307 Relocate configuration prefix constant
Relocate DataSourceAutoConfiguration.CONFIGURATION_PREFIX to
DataSourceProperties.PREFIX.
2014-08-21 21:44:39 -07:00
Phillip Webb
3512f56c0a Polish spaces->tabs 2014-08-21 16:22:54 -07:00
Phillip Webb
059bf3aae1 Use org.hsqldb.jdbc.JDBCDriver HSQLDB Driver
Switch driver class to the more conventionally named
`org.hsqldb.jdbc.JDBCDriver`.
2014-08-21 16:16:48 -07:00
Phillip Webb
2c6ca4d7e3 Merge branch '1.1.x' 2014-08-21 14:26:24 -07:00
Phillip Webb
5ef45c7494 Fix asciidoc incorrect link syntax 2014-08-21 14:25:02 -07:00
Phillip Webb
49805661f0 Merge branch '1.1.x' 2014-08-21 12:44:02 -07:00
Phillip Webb
d0f493cbea Fix InteliJ code formatter instructions
Update CONTRIBUTING.adoc with improved code formatter instructions.

Fixes gh-1271
2014-08-21 12:41:37 -07:00
Phillip Webb
650e326ae7 Align MessageSource path search fix with SPR-12095
Update ExtendedPathMatchingResourcePatternResolver to use similar
code as the fix for SPR-12095.

Fixes gh-1378
2014-08-21 12:09:07 -07:00
Andy Wilkinson
2ed24ddcd5 Merge branch '1.1.x' 2014-08-21 16:26:52 +01:00
Andy Wilkinson
9717b7d840 Preserve JVM args when auto-configuring a Java agent in Gradle bootRun
Fixes #1411
2014-08-21 16:26:36 +01:00
Andy Wilkinson
c75782424c Add jar that should have been added as part of 69c61d0 2014-08-21 16:25:37 +01:00
Andy Wilkinson
0e7757decd Merge branch '1.1.x' 2014-08-21 15:38:13 +01:00
Andy Wilkinson
69c61d0e8e Include transitive file dependencies during Gradle repackaging
Previously, ProjectLibraries only considered a configuration's
direct file dependencies. This meant that a transitive file
dependency that should have been pulled in via a project dependency
was not included in the repackaged jar's lib directory.

ProjectLibraries has been updated to walk down the tree of project
dependencies and create libraries for any file dependencies that
are found.

Fixes gh-1368
2014-08-21 15:27:08 +01:00
Andy Wilkinson
595c81124d Polishing 2014-08-21 09:02:16 +01: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
1a61ffd7d1 Update maven-invoker-plugin to 1.9 2014-08-21 00:43:12 -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
Phillip Webb
bd4eda383f Create ApplicationHome class
Extract useful logic from StartupInfoLogger to a new ApplicationHome
class.

Fixes gh-1414
2014-08-20 16:40:17 -07:00
Phillip Webb
91e493fd0a Revert "Update travis CI configuration"
This reverts commit c28026bb36.
2014-08-20 16:26:06 -07:00
Phillip Webb
c28026bb36 Update travis CI configuration 2014-08-20 16:23:08 -07:00
Phillip Webb
7732135a2b Add repositories section to dependencies POM
Add a repositories section to the spring-boot-dependencies POM but
strip it out during a CI build. This allows snapshot and milestone
BOM imports to be used but doesn't pollute published POMs and doesn't
prevent a fresh checkout from building.

Fixes gh-1413
2014-08-20 16:18:42 -07:00
Phillip Webb
e6e0cf094b Move more repositories to generated settings.xml 2014-08-20 12:08:30 -07:00
Phillip Webb
a1f1ab7a50 Upgrade maven-plugin-plugin to 3.3 2014-08-20 12:08:30 -07:00
Phillip Webb
ac98e5b5ab Polish profile ordering 2014-08-20 10:28:59 -07:00
Phillip Webb
fc90b95eb0 Polish module ordering 2014-08-20 10:28:24 -07:00
Dave Syer
171b2e452b Make ServerProperties bean conditional on being a webapp 2014-08-20 09:09:19 +01:00
Phillip Webb
a9d0815e0c Merge branch '1.1.x' 2014-08-19 14:44:10 -07:00
Phillip Webb
c7045f5294 Remove duplicate dependencies from data-rest
Update `spring-boot-starter-data-rest` to remove duplicate jackson
dependencies.
2014-08-19 14:43:14 -07:00
Phillip Webb
de7ff0670d Polish 2014-08-19 14:22:46 -07:00
Andy Wilkinson
90b12d738b Merge branch '1.1.x' 2014-08-19 19:44:11 +01:00
Andy Wilkinson
896a85b575 Add settings.xml used by AetherGrapeEngineTests 2014-08-19 19:43:46 +01:00
Andy Wilkinson
cee8c9f4ea Merge branch '1.1.x' 2014-08-19 17:56:10 +01:00
Andy Wilkinson
5f9fddd44a Explicitly apply mirror and auth settings to remote repos in the CLI
Previously, the CLI relied on Aether using the session's mirror
selector and authentication selector to customize the configured
repositories. These selectors are only used to configure what Aether
calls recessive repositories (repositories discovered when resolving
an artifact), rather than the explicitly configured repositories that
are typically used.

This commit updates AetherGrapeEngine to apply mirror and
authentication configuration to every added repository, bringing its
behaviour for these two settings into line with what it already does
for proxy configuration.

Fixes #1354
2014-08-19 17:55:54 +01:00