Skip to content

Commit 7c9face

Browse files
committed
Revert "Add a WebJar Locator extension that duplicates webjar locator behavior from Spring Boot."
This reverts commit b5e055f.
1 parent 8b72d76 commit 7c9face

File tree

27 files changed

+0
-810
lines changed

27 files changed

+0
-810
lines changed

bom/deployment/pom.xml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -822,19 +822,6 @@
822822
<version>${project.version}</version>
823823
</dependency>
824824

825-
<dependency>
826-
<groupId>io.quarkus</groupId>
827-
<artifactId>quarkus-webjars-locator-deployment</artifactId>
828-
<version>${project.version}</version>
829-
</dependency>
830-
831-
<!-- Quarkus extension dependencies -->
832-
<dependency>
833-
<groupId>org.webjars</groupId>
834-
<artifactId>webjars-locator</artifactId>
835-
<version>0.39</version>
836-
</dependency>
837-
838825
<!-- Quarkus test dependencies -->
839826

840827
<dependency>

bom/runtime/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,11 +1075,6 @@
10751075
<artifactId>quarkus-picocli</artifactId>
10761076
<version>${project.version}</version>
10771077
</dependency>
1078-
<dependency>
1079-
<groupId>io.quarkus</groupId>
1080-
<artifactId>quarkus-webjars-locator</artifactId>
1081-
<version>${project.version}</version>
1082-
</dependency>
10831078

10841079
<!-- External dependencies -->
10851080

core/deployment/src/main/java/io/quarkus/deployment/builditem/FeatureBuildItem.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ public final class FeatureBuildItem extends MultiBuildItem {
111111
public static final String VERTX = "vertx";
112112
public static final String VERTX_WEB = "vertx-web";
113113
public static final String VERTX_GRAPHQL = "vertx-graphql";
114-
public static final String WEBJARS_LOCATOR = "webjars-locator";
115114

116115
private final String info;
117116

docs/src/main/asciidoc/http-reference.adoc

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,6 @@ was chosen as it is the standard location for resources in `jar` files as define
2929
Quarkus can be used without Servlet following this convention allows existing code that places its resources in this
3030
location to function correctly.
3131

32-
=== WebJar Locator Support
33-
34-
If you are using webjars, like the following JQuery one
35-
[source, xml]
36-
----
37-
<dependency>
38-
<groupId>org.webjars</groupId>
39-
<artifactId>jquery</artifactId>
40-
<version>3.1.1</version>
41-
</dependency>
42-
----
43-
and rather write `/webjars/jquery/jquery.min.js` instead of `/webjars/jquery/3.1.1/jquery.min.js`
44-
in your HTML files, you can add the `quarkus-webjars-locator` extension to your project.
45-
To use it, add the following to your project's dependencies:
46-
47-
[source, xml]
48-
----
49-
<dependency>
50-
<groupId>io.quarkus</groupId>
51-
<artifactId>quarkus-webjars-locator</artifactId>
52-
</dependency>
53-
----
54-
5532
== Configuring the Context path
5633

5734
By default Quarkus will serve content from under the root context. If you want to change this you can use the

extensions/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
<module>vertx-http</module>
3434
<module>undertow</module>
3535
<module>undertow-websockets</module>
36-
<module>webjars-locator</module>
3736

3837
<!-- Monitoring -->
3938
<module>smallrye-health</module>

extensions/webjars-locator/deployment/pom.xml

Lines changed: 0 additions & 84 deletions
This file was deleted.

extensions/webjars-locator/deployment/src/main/java/io/quarkus/webjar/locator/deployment/WebJarLocatorStandaloneBuildStep.java

Lines changed: 0 additions & 42 deletions
This file was deleted.

extensions/webjars-locator/deployment/src/test/java/io/quarkus/webjar/locator/test/PostResource.java

Lines changed: 0 additions & 20 deletions
This file was deleted.

extensions/webjars-locator/deployment/src/test/java/io/quarkus/webjar/locator/test/WebJarLocatorDevModeTest.java

Lines changed: 0 additions & 109 deletions
This file was deleted.

0 commit comments

Comments
 (0)