Some distribution types may be assembled by JReleaser.
- YAML
-
# [dot circle] assemble: # Enable or disable all configured assemblers. # Supported values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`]. # Defaults to `ALWAYS`. # [dot circle] active: ALWAYS
- TOML
-
# [dot circle] [assemble] # Enable or disable all configured assemblers. # Supported values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`]. # Defaults to `ALWAYS`. # [dot circle] active = "ALWAYS"
- JSON
-
{ // [dot circle] "assemble": { // Enable or disable all configured assemblers. // Supported values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`]. // Defaults to `ALWAYS`. // [dot circle] "active": "ALWAYS" } }
- Maven
-
<jreleaser> <!-- [dot circle] --> <assemble> <!-- Enable or disable all configured assemblers. Supported values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`]. Defaults to `ALWAYS`. [dot circle] --> <active>ALWAYS</active> </assemble> </jreleaser>
- Gradle
-
jreleaser { // [dot circle] assemble { // Enable or disable all configured assemblers. // Supported values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`]. // Defaults to `ALWAYS`. // [dot circle] active = 'ALWAYS' } }
Note
|
When not explicitly set, the value of active may be resolved from an environment variable JRELEASER_ASSEMBLE_ACTIVE
or from a system property jreleaser.assemble.active . The system property takes precedence over the environment variable.
|
Assemblers will configure a matching distribution by name if it exists and if the assembler exports its artifacts
(true
by default), otherwise they鈥檒l create a new distribution with their respective name. Assemblers may configure
the following distribution properties:
-
active
-
stereotype
-
artifacts
-
extraProperties
-
java
-
executable
You may skip resolving outputs for all assemblers or assemblers per type by defining any of the following properties
with a true
value inside configuration:environment.adoc properties or as a property on the command line:
-
skipAssembleResolvers
-
skipArchiveResolver
-
skipJavaArchiveResolver
-
skipJlinkResolver
-
skipJpackageResolver
-
skipNativeImageResolver