Package io.quarkus.deployment.util
Class WebJarUtil
java.lang.Object
io.quarkus.deployment.util.WebJarUtil
Deprecated, for removal: This API element is subject to removal in a future version.
Use WebJarBuildItem and WebJarResultsBuildItem instead.
Utility for Web resource related operations
-
Method Summary
Modifier and TypeMethodDescriptionstatic Path
copyResourcesForDevOrTest
(LiveReloadBuildItem liveReloadBuildItem, CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact, String rootFolderInJar) Deprecated, for removal: This API element is subject to removal in a future version.static Path
copyResourcesForDevOrTest
(LiveReloadBuildItem liveReloadBuildItem, CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact, String rootFolderInJar, boolean useDefaultQuarkusBranding) Deprecated.static Path
copyResourcesForDevOrTest
(LiveReloadBuildItem liveReloadBuildItem, CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact, String rootFolderInJar, boolean useDefaultQuarkusBranding, boolean onlyCopyNonArtifactFiles) Deprecated, for removal: This API element is subject to removal in a future version.copyResourcesForProduction
(CurateOutcomeBuildItem curateOutcomeBuildItem, io.quarkus.maven.dependency.ResolvedDependency artifact, String rootFolderInJar) Deprecated, for removal: This API element is subject to removal in a future version.copyResourcesForProduction
(CurateOutcomeBuildItem curateOutcomeBuildItem, io.quarkus.maven.dependency.ResolvedDependency artifact, String rootFolderInJar, boolean useDefaultQuarkusBranding) Deprecated, for removal: This API element is subject to removal in a future version.static Path
createResourcesDirectory
(io.quarkus.maven.dependency.ResolvedDependency userApplication, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact) Deprecated, for removal: This API element is subject to removal in a future version.static io.quarkus.maven.dependency.ResolvedDependency
getAppArtifact
(CurateOutcomeBuildItem curateOutcomeBuildItem, String groupId, String artifactId) Deprecated, for removal: This API element is subject to removal in a future version.static void
hotReloadBrandingChanges
(CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact, Set<String> hotReloadChanges) Deprecated, for removal: This API element is subject to removal in a future version.static void
hotReloadBrandingChanges
(CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact, Set<String> hotReloadChanges, boolean useDefaultQuarkusBranding) Deprecated, for removal: This API element is subject to removal in a future version.static void
updateFile
(Path original, byte[] newContent) Deprecated, for removal: This API element is subject to removal in a future version.static String
Deprecated, for removal: This API element is subject to removal in a future version.static void
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
hotReloadBrandingChanges
public static void hotReloadBrandingChanges(CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact, Set<String> hotReloadChanges) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
hotReloadBrandingChanges
public static void hotReloadBrandingChanges(CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact, Set<String> hotReloadChanges, boolean useDefaultQuarkusBranding) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
copyResourcesForDevOrTest
public static Path copyResourcesForDevOrTest(LiveReloadBuildItem liveReloadBuildItem, CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact, String rootFolderInJar) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
copyResourcesForDevOrTest
@Deprecated public static Path copyResourcesForDevOrTest(LiveReloadBuildItem liveReloadBuildItem, CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact, String rootFolderInJar, boolean useDefaultQuarkusBranding) throws IOException Deprecated.- Throws:
IOException
-
copyResourcesForDevOrTest
public static Path copyResourcesForDevOrTest(LiveReloadBuildItem liveReloadBuildItem, CurateOutcomeBuildItem curateOutcomeBuildItem, LaunchModeBuildItem launchMode, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact, String rootFolderInJar, boolean useDefaultQuarkusBranding, boolean onlyCopyNonArtifactFiles) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
copyResourcesForProduction
public static Map<String,byte[]> copyResourcesForProduction(CurateOutcomeBuildItem curateOutcomeBuildItem, io.quarkus.maven.dependency.ResolvedDependency artifact, String rootFolderInJar) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
copyResourcesForProduction
public static Map<String,byte[]> copyResourcesForProduction(CurateOutcomeBuildItem curateOutcomeBuildItem, io.quarkus.maven.dependency.ResolvedDependency artifact, String rootFolderInJar, boolean useDefaultQuarkusBranding) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
updateFile
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
updateUrl
public static void updateUrl(Path original, String path, String lineStartsWith, String format) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
updateUrl
Deprecated, for removal: This API element is subject to removal in a future version. -
getAppArtifact
public static io.quarkus.maven.dependency.ResolvedDependency getAppArtifact(CurateOutcomeBuildItem curateOutcomeBuildItem, String groupId, String artifactId) Deprecated, for removal: This API element is subject to removal in a future version. -
createResourcesDirectory
public static Path createResourcesDirectory(io.quarkus.maven.dependency.ResolvedDependency userApplication, io.quarkus.maven.dependency.ResolvedDependency resourcesArtifact) Deprecated, for removal: This API element is subject to removal in a future version.
-