Class ArtifactInfoUtil

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

public final class ArtifactInfoUtil extends Object
  • Field Details

  • Constructor Details

    • ArtifactInfoUtil

      public ArtifactInfoUtil()
  • Method Details

    • groupIdAndArtifactId

      @Deprecated public static Map.Entry<String,String> groupIdAndArtifactId(Class<?> clazz)
      Returns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItem

      The way this works is by depending on the pom.properties file that should be present in the deployment jar

      Returns:
      the result, or throws
    • groupIdAndArtifactId

      public static Map.Entry<String,String> groupIdAndArtifactId(Class<?> clazz, CurateOutcomeBuildItem curateOutcomeBuildItem)
      Returns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItem

      The way this works is by depending on the pom.properties file that should be present in the deployment jar

      Parameters:
      clazz - the caller clazz. (must not be null)
      curateOutcomeBuildItem - the application model that gets searched for the caller clazz. optional
      Returns:
      the result, or throws
    • isDeploymentTargetClasses

      static boolean isDeploymentTargetClasses(Path location)
    • groupIdAndArtifactId

      public static Map.Entry<String,String> groupIdAndArtifactId(FileSystem fs) throws IOException
      Returns a Map.Entry containing the groupId and the artifactId of the module the contains the BuildItem

      The way this works is by depending on the pom.properties file that should be present in the deployment jar

      Returns:
      the result, or null if no maven metadata were found
      Throws:
      IOException
    • groupIdAndArtifactId

      public static AbstractMap.SimpleEntry<String,String> groupIdAndArtifactId(Path pomPropertiesContainer) throws IOException
      Throws:
      IOException