Class OutputTargetBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.deployment.pkg.builditem.OutputTargetBuildItem

public final class OutputTargetBuildItem extends SimpleBuildItem
The location that output artifacts should be created in TODO: should we just create them in temp directories, and leave it up to the integration to move them where they want?
  • Constructor Details

    • OutputTargetBuildItem

      @Deprecated(forRemoval=true) public OutputTargetBuildItem(Path outputDirectory, String baseName, boolean rebuild, Properties buildSystemProperties, Optional<Set<io.quarkus.maven.dependency.ArtifactKey>> includedOptionalDependencies)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      outputDirectory - build output directory
      baseName - base runner name
      rebuild - indicates whether the application is being re-built
      buildSystemProperties - build system properties
      includedOptionalDependencies - included optional dependencies
    • OutputTargetBuildItem

      public OutputTargetBuildItem(Path outputDirectory, String baseName, String originalBaseName, boolean rebuild, Properties buildSystemProperties, Optional<Set<io.quarkus.maven.dependency.ArtifactKey>> includedOptionalDependencies)
  • Method Details

    • getOutputDirectory

      public Path getOutputDirectory()
    • getBaseName

      public String getBaseName()
      Base name for the Quarkus application runner file.
      Returns:
      base name for the Quarkus application runner file
    • getOriginalBaseName

      public String getOriginalBaseName()
      The base name (not including the extension) of the original JAR generated by the build system. This name could be different from the value of {@ #getBaseName()}, which will be used for the Quarkus runner file.
      Returns:
      name of the original JAR generated by the build system
    • isRebuild

      public boolean isRebuild()
    • getBuildSystemProperties

      public Properties getBuildSystemProperties()
    • getIncludedOptionalDependencies

      public Optional<Set<io.quarkus.maven.dependency.ArtifactKey>> getIncludedOptionalDependencies()