- 13 Oct, 2014 4 commits
-
-
Andy Wilkinson authored
Closes gh-1695
-
Andy Wilkinson authored
-
Eric Dahl authored
-
Andy Wilkinson authored
JerseyAutoConfiguration is annotated with @ConditionalOnClass. It references both SpringComponentProvider.class and ServletRegistration.class. Normally, this wouldn't be a problem as, in the absence of either of those classes, the configuration class bean will not be present in the bean factory and, therefore, its annotations will never be introspected using reflection. However, JerseyAutoConfiguration is a WebApplicationInitializer. This means that when it's deployed to a standalone container, JerseyAutoConfiguration is found by the container and its class is passed to SpringServletContainerInitializer. SpringServletContainerInitializer introspects every WebApplicationInitializer class so that it can order them. This blows up if Jersey's SpringComponentProvider class isn't on the classpath as the annotation is referencing SpringComponentProvider as a Class and the attempt to load it fails. The problem can be avoided by referencing SpringComponentProvider using a String. Fixes gh-1696
-
- 11 Oct, 2014 1 commit
-
-
Phillip Webb authored
-
- 10 Oct, 2014 16 commits
-
-
Phillip Webb authored
-
Spring Buildmaster authored
-
Phillip Webb authored
Remove the direct unconditional JmsBootstrapConfiguration @Import from JmsAnnotationDrivenConfiguration in favor of the nested EnableJmsConfiguration class. Fixes gh-1513
-
Phillip Webb authored
Update the JNDI auto-configured DataSource so that the close method isn't called when the ApplicationContext is closed. Fixes gh-1520
-
Phillip Webb authored
Update FaviconConfiguration to allow favicon.ico files to be resolved from static resource folders (/META-INF/resources, /resources, /static, /public) in addition to the root classpath. Fixes gh-1656
-
Phillip Webb authored
* pull1688: Remove superfluous maven-antrun-plugin
-
Michael Vitz authored
Remove the maven-antrun-plugin from the pluginManagement section of spring-boot-starter-parent since it is already declared in the spring-boot-dependencies POM. Closes gh-1688
-
Phillip Webb authored
Update the MessageSourceAutoConfiguration condition to skip scanning for well known JARs. Results are now also cached. Fixes gh-1689
-
Phillip Webb authored
Improve startup performance by skipping more JARs that we know don't contain servlet files. Fixes gh-1687
-
Phillip Webb authored
Update SkipPatternJarScanner to apply skipped JARs to Tomcat 8's StandardJarScanFilter. Fixes gh-1686
-
Phillip Webb authored
Replace where possible all @ConditionalOnExpression annotations with @ConditionalOnProperty which is both faster to run and more descriptive. Fixes gh-1685
-
Phillip Webb authored
The new `maven.compiler.source` and `maven.compiler.target` properties have removed the need for explicit configuration. Closes gh-1684
-
Phillip Webb authored
Add `maven.compiler.source` and `maven.compiler.target` properties to the spring-boot-starter-parent to allow easier customization of the maven compiler. Both properties default to `${java.version}`. Fixes gh-1684
-
Phillip Webb authored
This reverts commit 0d8bde58. Fixes gh-1679
-
Phillip Webb authored
-
Phillip Webb authored
Update `Launcher` and `JarFile` to correctly deal with Windows UNC paths. Fixes gh-1641
-
- 09 Oct, 2014 19 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
Conflicts: spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Dave Syer authored
-
Dave Syer authored
When logging.level.* is set in external configuration they can now contain placeholders. Fixes gh-1680
-
Andy Wilkinson authored
Closes gh-1435
-
Dave Syer authored
-
Dave Syer authored
-
Andy Wilkinson authored
Previously, RepositoryRestMvcBootConfiguration was not annotated with @Configuration. This meant that it was processed in lite mode. Crucially, in lite mode, there’s no proxying so each call to the config() @Bean method from within other @Bean methods resulted in the creation of a new RepositoryRestConfiguration instance. Furthermore, as each of these instances wasn’t a Spring bean the configuration properties were not applied. This commit updates RepositoryRestMvcBootConfiguration to annotate it with @Configuration so that it’s no longer processed in lite mode. It also updates the unit tests and the Spring Data REST sample to verify that the baseUri can be configured using application.properties. Fixes gh-1675
-
Andy Wilkinson authored
Previously, for a string to be considered upper-case, EmbeddedServerPortFileWriter required every character in the string to be upper-case. This meant that strings containing numbers were considered lower-case even if every letter in the string was upper-case. OS X’s case-preserving, case-insensitive file system masked this problem as the tests were still able to find the created file, even though the case of its name was not as expected. This commit updates EmbeddedServerPortFileWriter to only require characters that are letters (as defined by Character.isLetter()) to be upper-case. It also updates the tests to verify that the case of the created file’s name is correct in such a way that it will fail, even on OS X, when it is not. Fixes gh-1676
-
Dave Syer authored
Points to note for authors: * Nesting "*" in `literals` does not behave like Markdown - you have to escape the asterisk (e.g. `foo/\*`) * Quote ligatures (why we had to use those I don't really know) are different in asciidoctor 1.5 ('`foo`' instead of ``foo'') Merge branch '1.1.x' Conflicts: spring-boot-docs/src/main/asciidoc/production-ready-features.adoc spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
-
Dave Syer authored
-
Phillip Webb authored
Add a EmbeddedServerPortFileWriter which can be used to write server port information to a file. Fixes gh-1275 Closes gh-1491
-
Phillip Webb authored
Rename ApplicationPidListener to ApplicationPidFileWriter (keeping the old class in a deprecated form) Fixes gh-1673
-
Phillip Webb authored
* spring-boot-1499: Add CAMELCASE_TO_HYPHEN in RelaxedNames
-