Class WebJarUtil

java.lang.Object
io.quarkus.deployment.util.WebJarUtil

@Deprecated(forRemoval=true) public class WebJarUtil extends Object
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 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

      public static void updateFile(Path original, byte[] newContent) throws IOException
      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

      public static String updateUrl(String original, String path, String lineStartsWith, String format)
      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.