Class WebDependencyJarBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.vertx.http.deployment.spi.WebDependencyJarBuildItem
public final class WebDependencyJarBuildItem
extends io.quarkus.builder.item.MultiBuildItem
Produced by extensions that ship web assets (JS modules, CSS, etc.)
following the mvnpm layout convention in their runtime JAR.
UI framework extensions (web-dependency-locator, web-bundler, etc.) consume these to discover web dependencies without classpath scanning or group-ID matching.
Extensions that generate their import mappings at build time can pass them
directly via WebDependencyJarBuildItem(ArtifactKey, Path, Map),
avoiding the need for a static META-INF/importmap.json in the JAR.
-
Constructor Summary
ConstructorsConstructorDescriptionWebDependencyJarBuildItem(io.quarkus.maven.dependency.ArtifactKey artifactKey, Path jarPath) WebDependencyJarBuildItem(io.quarkus.maven.dependency.ArtifactKey artifactKey, Path jarPath, Map<String, String> importMappings) -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.maven.dependency.ArtifactKeyReturns the import mappings provided at build time, or an empty map if the import map should be read from the JAR'sMETA-INF/importmap.json.
-
Constructor Details
-
WebDependencyJarBuildItem
-
WebDependencyJarBuildItem
-
-
Method Details
-
getArtifactKey
public io.quarkus.maven.dependency.ArtifactKey getArtifactKey() -
getJarPath
-
getImportMappings
Returns the import mappings provided at build time, or an empty map if the import map should be read from the JAR'sMETA-INF/importmap.json.
-