Class JarResultBuildStep


  • public class JarResultBuildStep
    extends Object
    This build step builds both the thin jars and uber jars. The way this is built is a bit convoluted. In general we only want a single one built, as determined by the PackageConfig (unless the config explicitly asks for both of them) However we still need an extension to be able to ask for a specify one of these despite the config, e.g. if a serverless environment needs an uberjar to build its deployment package then we need to be able to provide this. To enable this we have two build steps that strongly produce the respective artifact type build items, but not a ArtifactResultBuildItem. We then have another two build steps that only run if they are configured too that consume these explicit build items and transform them into ArtifactResultBuildItem.