From 6f59dd6b175a604c612c8b0eae6d94908cf98613 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 20 Feb 2018 16:37:34 +0100 Subject: [PATCH] Polish "Update documentation to reference webjars-locator-core" Closes gh-12135 --- .../autoconfigure/web/ConditionalOnEnabledResourceChain.java | 2 +- .../src/main/asciidoc/spring-boot-features.adoc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ConditionalOnEnabledResourceChain.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ConditionalOnEnabledResourceChain.java index fc01bb2ab3..9f6406e5a9 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ConditionalOnEnabledResourceChain.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ConditionalOnEnabledResourceChain.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 5f1b37869b..2771e9999b 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -1994,7 +1994,8 @@ Then declare your Webjar. Using jQuery as an example, adding `"/webjars/jquery/x.y.z/dist/jquery.min.js"`. where `x.y.z` is the Webjar version. NOTE: If you use JBoss, you need to declare the `webjars-locator-jboss-vfs` -dependency instead of the `webjars-locator-core`. Otherwise, all Webjars resolve as a `404`. +dependency instead of the `webjars-locator-core`. Otherwise, all Webjars resolve as a +`404`. To use cache busting, the following configuration configures a cache busting solution for all static resources, effectively adding a content hash, such as