Document latest changes

This commit is contained in:
Andres Almiray
2021-05-30 00:09:05 +02:00
parent 3d07662ee8
commit 477ef26de9
24 changed files with 1324 additions and 70 deletions

View File

@@ -57,6 +57,12 @@ announce:
# Defaults to `src/jreleaser/templates/discord.tpl`.
# icon:dot-circle[]
messageTemplate: path/to/template/discord.tpl
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `discord`, i.e, `discordFoo`.
foo: bar
----
TOML::
+
@@ -98,6 +104,11 @@ TOML::
# Defaults to `src/jreleaser/templates/discord.tpl`.
# icon:dot-circle[]
messageTemplate = "path/to/template/discord.tpl"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `discord`, i.e, `discordFoo`.
----
JSON::
+
@@ -140,7 +151,14 @@ JSON::
// Review the available xref:configuration:name-templates.adoc[].
// Defaults to `src/jreleaser/templates/discord.tpl`.
// icon:dot-circle[]
"messageTemplate": "path/to/template/discord.tpl"
"messageTemplate": "path/to/template/discord.tpl",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `discord`, i.e, `discordFoo`.
"foo": "bar"
}
}
}
}
@@ -203,6 +221,17 @@ Maven::
icon:dot-circle[]
-->
<messageTemplate>path/to/template/discord.tpl</messageTemplate>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `discord`, i.e, `discordFoo`.
-->
<foo>bar</foo>
</extraProperties>
</discord>
</announce>
</jreleaser>
@@ -249,6 +278,11 @@ jreleaser {
// Defaults to `src/jreleaser/templates/discord.tpl`.
// icon:dot-circle[]
messageTemplate = 'path/to/template/discord.tpl'
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `discord`, i.e, `discordFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -55,6 +55,12 @@ announce:
# Defaults to `src/jreleaser/templates/discussions.tpl`.
# icon:dot-circle[]
messageTemplate: path/to/template/discussions.tpl
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `discussions`, i.e, `discussionsFoo`.
foo: bar
----
TOML::
+
@@ -103,6 +109,11 @@ TOML::
# Defaults to `src/jreleaser/templates/discussions.tpl`.
# icon:dot-circle[]
messageTemplate = "path/to/template/discussions.tpl"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `discussions`, i.e, `discussionsFoo`.
----
JSON::
+
@@ -152,7 +163,14 @@ JSON::
// Review the available xref:configuration:name-templates.adoc[].
// Defaults to `src/jreleaser/templates/discussions.tpl`.
// icon:dot-circle[]
"messageTemplate": "path/to/template/discussions.tpl"
"messageTemplate": "path/to/template/discussions.tpl",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `discussions`, i.e, `discussionsFoo`.
"foo": "bar"
}
}
}
}
@@ -227,6 +245,17 @@ Maven::
icon:dot-circle[]
-->
<messageTemplate>path/to/template/discussions.tpl</messageTemplate>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `discussions`, i.e, `discussionsFoo`.
-->
<foo>bar</foo>
</extraProperties>
</discussions>
</announce>
</jreleaser>
@@ -280,6 +309,11 @@ jreleaser {
// Defaults to `src/jreleaser/templates/discussions.tpl`.
// icon:dot-circle[]
messageTemplate = 'path/to/template/discussions.tpl'
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `discussions`, i.e, `discussionsFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -56,6 +56,12 @@ announce:
# Defaults to `src/jreleaser/templates/gitter.tpl`.
# icon:dot-circle[]
messageTemplate: path/to/template/gitter.tpl
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `gitter`, i.e, `gitterFoo`.
foo: bar
----
TOML::
+
@@ -97,6 +103,11 @@ TOML::
# Defaults to `src/jreleaser/templates/gitter.tpl`.
# icon:dot-circle[]
messageTemplate = "path/to/template/gitter.tpl"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `gitter`, i.e, `gitterFoo`.
----
JSON::
+
@@ -139,7 +150,14 @@ JSON::
// Review the available xref:configuration:name-templates.adoc[].
// Defaults to `src/jreleaser/templates/gitter.tpl`.
// icon:dot-circle[]
"messageTemplate": "path/to/template/gitter.tpl"
"messageTemplate": "path/to/template/gitter.tpl",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `gitter`, i.e, `gitterFoo`.
"foo": "bar"
}
}
}
}
@@ -202,6 +220,17 @@ Maven::
icon:dot-circle[]
-->
<messageTemplate>path/to/template/gitter.tpl</messageTemplate>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `gitter`, i.e, `gitterFoo`.
-->
<foo>bar</foo>
</extraProperties>
</gitter>
</announce>
</jreleaser>
@@ -248,6 +277,11 @@ jreleaser {
// Defaults to `src/jreleaser/templates/gitter.tpl`.
// icon:dot-circle[]
messageTemplate = 'path/to/template/gitter.tpl'
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `gitter`, i.e, `gitterFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -99,6 +99,12 @@ announce:
# icon:dot-circle[]
properties:
'mail.smtp.starttls.enable': true
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `mail`, i.e, `mailFoo`.
foo: bar
----
TOML::
+
@@ -191,6 +197,11 @@ TOML::
# Use this field to set properties such as `mail.smtp.starttls.enable`.
# icon:dot-circle[]
properties."mail.smtp.starttls.enable" = "true"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `mail`, i.e, `mailFoo`.
----
JSON::
+
@@ -284,6 +295,13 @@ JSON::
// icon:dot-circle[]
"properties": {
"mail.smtp.starttls.enable": true
},
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `mail`, i.e, `mailFoo`.
"foo": "bar"
}
}
}
@@ -421,6 +439,17 @@ Maven::
<properties>
<mail.smtp.starttls.enable>true</mail.smtp.starttls.enable>
</properties>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `mail`, i.e, `mailFoo`.
-->
<foo>bar</foo>
</extraProperties>
</mail>
</announce>
</jreleaser>
@@ -518,6 +547,11 @@ jreleaser {
// Use this field to set properties such as `mail.smtp.starttls.enable`.
// icon:dot-circle[]
properties.put('mail.smtp.starttls.enable', 'true')
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `mail`, i.e, `mailFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -45,6 +45,12 @@ announce:
# Review the available xref:configuration:name-templates.adoc[].
# icon:dot-circle[] icon:file-alt[]
status: icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `mastodon`, i.e, `mastodonFoo`.
foo: bar
----
TOML::
+
@@ -84,6 +90,11 @@ TOML::
# Review the available xref:configuration:name-templates.adoc[].
# icon:dot-circle[] icon:file-alt[]
status = "icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `mastodon`, i.e, `mastodonFoo`.
----
JSON::
+
@@ -124,7 +135,14 @@ JSON::
// The announcement status.
// Review the available xref:configuration:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
"status": "icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}"
"status": "icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `mastodon`, i.e, `mastodonFoo`.
"foo": "bar"
}
}
}
}
@@ -186,6 +204,17 @@ Maven::
icon:dot-circle[] icon:file-alt[]
-->
<status>icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}</status>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `mastodon`, i.e, `mastodonFoo`.
-->
<foo>bar</foo>
</extraProperties>
</mastodon>
</announce>
</jreleaser>
@@ -230,6 +259,11 @@ jreleaser {
// Review the available xref:configuration:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
status = 'icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}'
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `mastodon`, i.e, `mastodonFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -50,6 +50,12 @@ announce:
# Defaults to `src/jreleaser/templates/mattermost.tpl`.
# icon:dot-circle[]
messageTemplate: path/to/template/mattermost.tpl
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `mattermost`, i.e, `mattermostFoo`.
foo: bar
----
TOML::
+
@@ -91,6 +97,11 @@ TOML::
# Defaults to `src/jreleaser/templates/mattermost.tpl`.
# icon:dot-circle[]
messageTemplate = "path/to/template/mattermost.tpl"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `mattermost`, i.e, `mattermostFoo`.
----
JSON::
+
@@ -133,7 +144,14 @@ JSON::
// Review the available xref:configuration:name-templates.adoc[].
// Defaults to `src/jreleaser/templates/mattermost.tpl`.
// icon:dot-circle[]
"messageTemplate": "path/to/template/mattermost.tpl"
"messageTemplate": "path/to/template/mattermost.tpl",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `mattermost`, i.e, `mattermostFoo`.
"foo": "bar"
}
}
}
}
@@ -196,6 +214,17 @@ Maven::
icon:dot-circle[]
-->
<messageTemplate>path/to/template/mattermost.tpl</messageTemplate>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `mattermost`, i.e, `mattermostFoo`.
-->
<foo>bar</foo>
</extraProperties>
</mattermost>
</announce>
</jreleaser>
@@ -242,6 +271,11 @@ jreleaser {
// Defaults to `src/jreleaser/templates/mattermost.tpl`.
// icon:dot-circle[]
messageTemplate = 'path/to/template/mattermost.tpl'
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `mattermost`, i.e, `mattermostFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -53,6 +53,12 @@ announce:
# environment variable must be defined.
# icon:exclamation-triangle[] icon:eye-slash[]
consumerToken: __DO_NOT_SET_HERE__
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `sdkman`, i.e, `sdkmanFoo`.
foo: bar
----
TOML::
+
@@ -99,6 +105,11 @@ TOML::
# environment variable must be defined.
# icon:exclamation-triangle[] icon:eye-slash[]
consumerToken = "__DO_NOT_SET_HERE__"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `sdkman`, i.e, `sdkmanFoo`.
----
JSON::
+
@@ -146,7 +157,14 @@ JSON::
// If left unspecified, the `JRELEASER_SDKMAN_CONSUMER_TOKEN`
// environment variable must be defined.
// icon:exclamation-triangle[] icon:eye-slash[]
"consumerToken": "__DO_NOT_SET_HERE__"
"consumerToken": "__DO_NOT_SET_HERE__",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `sdkman`, i.e, `sdkmanFoo`.
"foo": "bar"
}
}
}
}
@@ -216,6 +234,17 @@ Maven::
icon:exclamation-triangle[] icon:eye-slash[]
-->
<consumerToken>__DO_NOT_SET_HERE__</consumerToken>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `sdkman`, i.e, `sdkmanFoo`.
-->
<foo>bar</foo>
</extraProperties>
</sdkman>
</announce>
</jreleaser>
@@ -266,6 +295,11 @@ jreleaser {
// environment variable must be defined.
// icon:exclamation-triangle[] icon:eye-slash[]
consumerToken = "__DO_NOT_SET_HERE__"
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `sdkman`, i.e, `sdkmanFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -72,6 +72,12 @@ announce:
# Defaults to `src/jreleaser/templates/slack.tpl`.
# icon:dot-circle[]
messageTemplate: path/to/template/slack.tpl
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `slack`, i.e, `slackFoo`.
foo: bar
----
TOML::
+
@@ -124,6 +130,11 @@ TOML::
# Defaults to `src/jreleaser/templates/slack.tpl`.
# icon:dot-circle[]
messageTemplate = "path/to/template/slack.tpl"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `slack`, i.e, `slackFoo`.
----
JSON::
+
@@ -177,7 +188,14 @@ JSON::
// Review the available xref:configuration:name-templates.adoc[].
// Defaults to `src/jreleaser/templates/slack.tpl`.
// icon:dot-circle[]
"messageTemplate": "path/to/template/slack.tpl"
"messageTemplate": "path/to/template/slack.tpl",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `slack`, i.e, `slackFoo`.
"foo": "bar"
}
}
}
}
@@ -254,6 +272,17 @@ Maven::
icon:dot-circle[]
-->
<messageTemplate>path/to/template/slack.tpl</messageTemplate>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `slack`, i.e, `slackFoo`.
-->
<foo>bar</foo>
</extraProperties>
</slack>
</announce>
</jreleaser>
@@ -311,6 +340,11 @@ jreleaser {
// Defaults to `src/jreleaser/templates/slack.tpl`.
// icon:dot-circle[]
messageTemplate = 'path/to/template/slack.tpl'
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `slack`, i.e, `slackFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -52,6 +52,12 @@ announce:
# Defaults to `src/jreleaser/templates/teams.tpl`.
# icon:exclamation-triangle[]
messageTemplate: path/to/template/teams.tpl
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `teams`, i.e, `teamsFoo`.
foo: bar
----
TOML::
+
@@ -88,6 +94,11 @@ TOML::
# Defaults to `src/jreleaser/templates/teams.tpl`.
# icon:exclamation-triangle[]
messageTemplate = "path/to/template/teams.tpl"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `teams`, i.e, `teamsFoo`.
----
JSON::
+
@@ -125,7 +136,14 @@ JSON::
// Review the available xref:configuration:name-templates.adoc[].
// Defaults to `src/jreleaser/templates/teams.tpl`.
// icon:dot-circle[] icon:exclamation-triangle[]
"messageTemplate": "path/to/template/teams.tpl"
"messageTemplate": "path/to/template/teams.tpl",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `teams`, i.e, `teamsFoo`.
"foo": "bar"
}
}
}
}
@@ -181,6 +199,17 @@ Maven::
icon:dot-circle[] icon:exclamation-triangle[]
-->
<messageTemplate>path/to/template/teams.tpl</messageTemplate>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `teams`, i.e, `teamsFoo`.
-->
<foo>bar</foo>
</extraProperties>
</teams>
</announce>
</jreleaser>
@@ -222,6 +251,11 @@ jreleaser {
// Defaults to `src/jreleaser/templates/teams.tpl`.
// icon:dot-circle[] icon:exclamation-triangle[]
messageTemplate = 'path/to/template/teams.tpl'
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `teams`, i.e, `teamsFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -61,6 +61,12 @@ announce:
# Review the available xref:configuration:name-templates.adoc[].
# icon:dot-circle[] icon:file-alt[]
status: icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `twitter`, i.e, `twitterFoo`.
foo: bar
----
TOML::
+
@@ -114,6 +120,11 @@ TOML::
# Review the available xref:configuration:name-templates.adoc[].
# icon:dot-circle[] icon:file-alt[]
status = "icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `twitter`, i.e, `twitterFoo`.
----
JSON::
+
@@ -168,7 +179,14 @@ JSON::
// The announcement message.
// Review the available xref:configuration:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
"status": "icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}"
"status": "icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `twitter`, i.e, `twitterFoo`.
"foo": "bar"
}
}
}
}
@@ -248,6 +266,17 @@ Maven::
icon:dot-circle[] icon:file-alt[]
-->
<status>icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}</status>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `twitter`, i.e, `twitterFoo`.
-->
<foo>bar</foo>
</extraProperties>
</twitter>
</announce>
</jreleaser>
@@ -306,6 +335,11 @@ jreleaser {
// Review the available xref:configuration:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
status = 'icon:rocket[] {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}'
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `twitter`, i.e, `twitterFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -66,6 +66,12 @@ announce:
# Defaults to `src/jreleaser/templates/zulip.tpl`.
# icon:dot-circle[]
messageTemplate: path/to/template/zulip.tpl
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `zulip`, i.e, `zulipFoo`.
foo: bar
----
TOML::
+
@@ -125,6 +131,11 @@ TOML::
# Defaults to `src/jreleaser/templates/zulip.tpl`.
# icon:dot-circle[]
messageTemplate = "path/to/template/zulip.tpl"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `zulip`, i.e, `zulipFoo`.
----
JSON::
+
@@ -185,7 +196,14 @@ JSON::
// Review the available xref:configuration:name-templates.adoc[].
// Defaults to `src/jreleaser/templates/zulip.tpl`.
// icon:dot-circle[]
"messageTemplate": "path/to/template/zulip.tpl"
"messageTemplate": "path/to/template/zulip.tpl",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `zulip`, i.e, `zulipFoo`.
"foo": "bar"
}
}
}
}
@@ -275,6 +293,17 @@ Maven::
icon:dot-circle[]
-->
<messageTemplate>path/to/template/zulip.tpl</messageTemplate>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `zulip`, i.e, `zulipFoo`.
-->
<foo>bar</foo>
</extraProperties>
</zulip>
</announce>
</jreleaser>
@@ -339,6 +368,11 @@ jreleaser {
// Defaults to `src/jreleaser/templates/zulip.tpl`.
// icon:dot-circle[]
messageTemplate = 'path/to/template/zulip.tpl'
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `zulip`, i.e, `zulipFoo`.
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
}
}
}

View File

@@ -112,7 +112,7 @@ assemble:
recursive: true
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `jlink`, i.e, `jlinkFoo`.
foo: bar
@@ -240,7 +240,7 @@ TOML::
recursive = true
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `jlink`, i.e, `jlinkFoo`.
@@ -387,7 +387,7 @@ JSON::
],
// Additional properties used when evaluating templates.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `jlink`, i.e, `jlinkFoo`.
"foo": "bar"
@@ -589,7 +589,7 @@ Maven::
<!--
Additional properties used when evaluating templates.
icon:dot-circle[]
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
@@ -762,7 +762,7 @@ jreleaser {
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `jlink`, i.e, `jlinkFoo`.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
// icon:dot-circle[]

View File

@@ -80,7 +80,7 @@ assemble:
recursive: true
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `nativeImage`, i.e, `nativeImageFoo`.
foo: bar
@@ -181,7 +181,7 @@ TOML::
recursive = true
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `nativeImage`, i.e, `nativeImageFoo`.
@@ -292,7 +292,7 @@ JSON::
],
// Additional properties used when evaluating templates.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `nativeImage`, i.e, `nativeImageFoo`.
"foo": "bar"
@@ -450,7 +450,7 @@ Maven::
<!--
Additional properties used when evaluating templates.
icon:dot-circle[]
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
@@ -588,7 +588,7 @@ jreleaser {
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `nativeImage`, i.e, `nativeImageFoo`.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
// icon:dot-circle[]

View File

@@ -47,7 +47,7 @@ distributions:
- awesome
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `distribution`, i.e, `distributionFoo`.
foo: bar
@@ -126,7 +126,7 @@ TOML::
tags = ["cli", "awesome"]
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `distribution`, i.e, `distributionFoo`.
@@ -206,7 +206,7 @@ JSON::
],
// Additional properties used when evaluating templates.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `distribution`, i.e, `distributionFoo`.
"foo": "bar"
@@ -317,7 +317,7 @@ Maven::
<!--
Additional properties used when evaluating templates.
icon:dot-circle[]
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
@@ -434,7 +434,7 @@ jreleaser {
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `distribution`, i.e, `distributionFoo`.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
// A list of artifacts.

View File

@@ -112,6 +112,8 @@ The following names are related to xref:configuration:project.adoc[]
| projectLongDescription | the project long description
| projectWebsite | link to the project website
| projectLicense | the project license, typically an SPDX identifier
| projectCopyright | the project copyright notice
| projectDocsUrl | link to the project's documentation
| projectAuthorsBySpace | space separated list of author names
| projectAuthorsByComma | commma separated list of author names
| projectTagsBySpace | space separate list of project tags
@@ -292,8 +294,8 @@ The following names are related to detected OS/Platform settings
[%header, cols="<2,<5", width="100%"]
|===
| Key | Description
| osName | value of System.getProperty("os.name")
| osArch | value of System.getProperty("os.arch")
| osName | normalized value of System.getProperty("os.name")
| osArch | normalized value of System.getProperty("os.arch")
| osPlatform | combination of `${osName}-${osArch}`
| osVersion | value of System.getProperty("os.version")
|===
@@ -1299,4 +1301,825 @@ jreleaser {
}
}
----
====
====
== Discord
Every key/value from `discord.extraProperties` is mapped with `discord` as key prefix and the capitalized
key, such that
[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
announce:
discord:
extraProperties:
# Key will be capitalized and prefixed
# with `discord`, i.e, `discordFoo`.
foo: bar
----
TOML::
+
[source,toml]
[subs="+macros"]
----
[announce.discord]
# Key will be capitalized and prefixed
# with `discord`, i.e, `discordFoo`.
extraProperties.foo = "bar"
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
"announce": {
"discord": {
"extraProperties": {
// Key will be capitalized and prefixed
// with `discord`, i.e, `discordFoo`.
"foo": "bar"
}
}
}
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
<announce>
<discord>
<extraProperties>
<!--
Key will be capitalized and prefixed
with `discord`, i.e, `discordFoo`.
-->
<foo>bar</foo>
</extraProperties>
</discord>
</announce>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
announce {
discord {
// Key will be capitalized and prefixed
// with `discord`, i.e, `discordFoo`.
extraProperties.put('foo', 'bar')
}
}
}
----
====
== Discussions
Every key/value from `discussions.extraProperties` is mapped with `discussions` as key prefix and the capitalized
key, such that
[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
announce:
discussions:
extraProperties:
# Key will be capitalized and prefixed
# with `discussions`, i.e, `discussionsFoo`.
foo: bar
----
TOML::
+
[source,toml]
[subs="+macros"]
----
[announce.discussions]
# Key will be capitalized and prefixed
# with `discussions`, i.e, `discussionsFoo`.
extraProperties.foo = "bar"
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
"announce": {
"discussions": {
"extraProperties": {
// Key will be capitalized and prefixed
// with `discussions`, i.e, `discussionsFoo`.
"foo": "bar"
}
}
}
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
<announce>
<discussions>
<extraProperties>
<!--
Key will be capitalized and prefixed
with `discussions`, i.e, `discussionsFoo`.
-->
<foo>bar</foo>
</extraProperties>
</discussions>
</announce>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
announce {
discussions {
// Key will be capitalized and prefixed
// with `discussions`, i.e, `discussionsFoo`.
extraProperties.put('foo', 'bar')
}
}
}
----
====
== Mail
Every key/value from `mail.extraProperties` is mapped with `mail` as key prefix and the capitalized
key, such that
[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
announce:
mail:
extraProperties:
# Key will be capitalized and prefixed
# with `mail`, i.e, `mailFoo`.
foo: bar
----
TOML::
+
[source,toml]
[subs="+macros"]
----
[announce.mail]
# Key will be capitalized and prefixed
# with `mail`, i.e, `mailFoo`.
extraProperties.foo = "bar"
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
"announce": {
"mail": {
"extraProperties": {
// Key will be capitalized and prefixed
// with `mail`, i.e, `mailFoo`.
"foo": "bar"
}
}
}
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
<announce>
<mail>
<extraProperties>
<!--
Key will be capitalized and prefixed
with `mail`, i.e, `mailFoo`.
-->
<foo>bar</foo>
</extraProperties>
</mail>
</announce>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
announce {
mail {
// Key will be capitalized and prefixed
// with `mail`, i.e, `mailFoo`.
extraProperties.put('foo', 'bar')
}
}
}
----
====
== Mastodon
Every key/value from `mastodon.extraProperties` is mapped with `mastodon` as key prefix and the capitalized
key, such that
[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
announce:
mastodon:
extraProperties:
# Key will be capitalized and prefixed
# with `mastodon`, i.e, `mastodonFoo`.
foo: bar
----
TOML::
+
[source,toml]
[subs="+macros"]
----
[announce.mastodon]
# Key will be capitalized and prefixed
# with `mastodon`, i.e, `mastodonFoo`.
extraProperties.foo = "bar"
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
"announce": {
"mastodon": {
"extraProperties": {
// Key will be capitalized and prefixed
// with `mastodon`, i.e, `mastodonFoo`.
"foo": "bar"
}
}
}
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
<announce>
<mastodon>
<extraProperties>
<!--
Key will be capitalized and prefixed
with `mastodon`, i.e, `mastodonFoo`.
-->
<foo>bar</foo>
</extraProperties>
</mastodon>
</announce>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
announce {
mastodon {
// Key will be capitalized and prefixed
// with `mastodon`, i.e, `mastodonFoo`.
extraProperties.put('foo', 'bar')
}
}
}
----
====
== Mattermost
Every key/value from `mattermost.extraProperties` is mapped with `mattermost` as key prefix and the capitalized
key, such that
[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
announce:
mattermost:
extraProperties:
# Key will be capitalized and prefixed
# with `mattermost`, i.e, `mattermostFoo`.
foo: bar
----
TOML::
+
[source,toml]
[subs="+macros"]
----
[announce.mattermost]
# Key will be capitalized and prefixed
# with `mattermost`, i.e, `mattermostFoo`.
extraProperties.foo = "bar"
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
"announce": {
"mattermost": {
"extraProperties": {
// Key will be capitalized and prefixed
// with `mattermost`, i.e, `mattermostFoo`.
"foo": "bar"
}
}
}
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
<announce>
<mattermost>
<extraProperties>
<!--
Key will be capitalized and prefixed
with `mattermost`, i.e, `mattermostFoo`.
-->
<foo>bar</foo>
</extraProperties>
</mattermost>
</announce>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
announce {
mattermost {
// Key will be capitalized and prefixed
// with `mattermost`, i.e, `mattermostFoo`.
extraProperties.put('foo', 'bar')
}
}
}
----
====
== Sdkman
Every key/value from `sdkman.extraProperties` is mapped with `sdkman` as key prefix and the capitalized
key, such that
[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
announce:
sdkman:
extraProperties:
# Key will be capitalized and prefixed
# with `sdkman`, i.e, `sdkmanFoo`.
foo: bar
----
TOML::
+
[source,toml]
[subs="+macros"]
----
[announce.sdkman]
# Key will be capitalized and prefixed
# with `sdkman`, i.e, `sdkmanFoo`.
extraProperties.foo = "bar"
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
"announce": {
"sdkman": {
"extraProperties": {
// Key will be capitalized and prefixed
// with `sdkman`, i.e, `sdkmanFoo`.
"foo": "bar"
}
}
}
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
<announce>
<sdkman>
<extraProperties>
<!--
Key will be capitalized and prefixed
with `sdkman`, i.e, `sdkmanFoo`.
-->
<foo>bar</foo>
</extraProperties>
</sdkman>
</announce>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
announce {
sdkman {
// Key will be capitalized and prefixed
// with `sdkman`, i.e, `sdkmanFoo`.
extraProperties.put('foo', 'bar')
}
}
}
----
====
== Slack
Every key/value from `slack.extraProperties` is mapped with `slack` as key prefix and the capitalized
key, such that
[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
announce:
slack:
extraProperties:
# Key will be capitalized and prefixed
# with `slack`, i.e, `slackFoo`.
foo: bar
----
TOML::
+
[source,toml]
[subs="+macros"]
----
[announce.slack]
# Key will be capitalized and prefixed
# with `slack`, i.e, `slackFoo`.
extraProperties.foo = "bar"
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
"announce": {
"slack": {
"extraProperties": {
// Key will be capitalized and prefixed
// with `slack`, i.e, `slackFoo`.
"foo": "bar"
}
}
}
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
<announce>
<slack>
<extraProperties>
<!--
Key will be capitalized and prefixed
with `slack`, i.e, `slackFoo`.
-->
<foo>bar</foo>
</extraProperties>
</slack>
</announce>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
announce {
slack {
// Key will be capitalized and prefixed
// with `slack`, i.e, `slackFoo`.
extraProperties.put('foo', 'bar')
}
}
}
----
====
== Teams
Every key/value from `teams.extraProperties` is mapped with `teams` as key prefix and the capitalized
key, such that
[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
announce:
teams:
extraProperties:
# Key will be capitalized and prefixed
# with `teams`, i.e, `teamsFoo`.
foo: bar
----
TOML::
+
[source,toml]
[subs="+macros"]
----
[announce.teams]
# Key will be capitalized and prefixed
# with `teams`, i.e, `teamsFoo`.
extraProperties.foo = "bar"
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
"announce": {
"teams": {
"extraProperties": {
// Key will be capitalized and prefixed
// with `teams`, i.e, `teamsFoo`.
"foo": "bar"
}
}
}
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
<announce>
<teams>
<extraProperties>
<!--
Key will be capitalized and prefixed
with `teams`, i.e, `teamsFoo`.
-->
<foo>bar</foo>
</extraProperties>
</teams>
</announce>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
announce {
teams {
// Key will be capitalized and prefixed
// with `teams`, i.e, `teamsFoo`.
extraProperties.put('foo', 'bar')
}
}
}
----
====
== Twitter
Every key/value from `twitter.extraProperties` is mapped with `twitter` as key prefix and the capitalized
key, such that
[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
announce:
twitter:
extraProperties:
# Key will be capitalized and prefixed
# with `twitter`, i.e, `twitterFoo`.
foo: bar
----
TOML::
+
[source,toml]
[subs="+macros"]
----
[announce.twitter]
# Key will be capitalized and prefixed
# with `twitter`, i.e, `twitterFoo`.
extraProperties.foo = "bar"
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
"announce": {
"twitter": {
"extraProperties": {
// Key will be capitalized and prefixed
// with `twitter`, i.e, `twitterFoo`.
"foo": "bar"
}
}
}
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
<announce>
<twitter>
<extraProperties>
<!--
Key will be capitalized and prefixed
with `twitter`, i.e, `twitterFoo`.
-->
<foo>bar</foo>
</extraProperties>
</twitter>
</announce>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
announce {
twitter {
// Key will be capitalized and prefixed
// with `twitter`, i.e, `twitterFoo`.
extraProperties.put('foo', 'bar')
}
}
}
----
====
== Zulip
Every key/value from `zulip.extraProperties` is mapped with `zulip` as key prefix and the capitalized
key, such that
[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
announce:
zulip:
extraProperties:
# Key will be capitalized and prefixed
# with `zulip`, i.e, `zulipFoo`.
foo: bar
----
TOML::
+
[source,toml]
[subs="+macros"]
----
[announce.zulip]
# Key will be capitalized and prefixed
# with `zulip`, i.e, `zulipFoo`.
extraProperties.foo = "bar"
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
"announce": {
"zulip": {
"extraProperties": {
// Key will be capitalized and prefixed
// with `zulip`, i.e, `zulipFoo`.
"foo": "bar"
}
}
}
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
<announce>
<zulip>
<extraProperties>
<!--
Key will be capitalized and prefixed
with `zulip`, i.e, `zulipFoo`.
-->
<foo>bar</foo>
</extraProperties>
</zulip>
</announce>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
announce {
zulip {
// Key will be capitalized and prefixed
// with `zulip`, i.e, `zulipFoo`.
extraProperties.put('foo', 'bar')
}
}
}
----
====

View File

@@ -35,7 +35,7 @@ packagers:
templateDirectory: path/to/chocolatey/templates
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `chocolatey`, i.e, `chocolateyFoo`.
foo: bar
@@ -109,7 +109,7 @@ TOML::
templateDirectory = "path/to/chocolatey/templates"
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `chocolatey`, i.e, `chocolateyFoo`.
@@ -182,7 +182,7 @@ JSON::
"templateDirectory": "path/to/chocolatey/templates",
// Additional properties used when evaluating templates.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `chocolatey`, i.e, `chocolateyFoo`.
"foo": "bar"
@@ -274,7 +274,7 @@ Maven::
<!--
Additional properties used when evaluating templates.
icon:dot-circle[]
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
@@ -382,7 +382,7 @@ jreleaser {
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `chocolatey`, i.e, `chocolateyFoo`.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
// The username that can publish Chocolatey packages.

View File

@@ -68,7 +68,7 @@ packagers:
foo: bar
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `docker`, i.e, `dockerFoo`.
foo: bar
@@ -154,7 +154,7 @@ TOML::
labels.foo = "bar"
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `docker`, i.e, `dockerFoo`.
@@ -249,7 +249,7 @@ JSON::
},
// Additional properties used when evaluating templates.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `docker`, i.e, `dockerFoo`.
"foo": "bar"
@@ -374,7 +374,7 @@ Maven::
<!--
Additional properties used when evaluating templates.
icon:dot-circle[]
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
@@ -484,7 +484,7 @@ jreleaser {
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `scoop`, i.e, `scoopFoo`.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
// A list of docker registries where images will be published.

View File

@@ -59,7 +59,7 @@ packagers:
key4: 'null'
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `brew`, i.e, `brewFoo`.
foo: bar
@@ -144,7 +144,7 @@ TOML::
dependencies.key4 = "null"
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `brew`, i.e, `brewFoo`.
@@ -233,7 +233,7 @@ JSON::
},
// Additional properties used when evaluating templates.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `brew`, i.e, `brewFoo`.
"foo": "bar"
@@ -363,7 +363,7 @@ Maven::
<!--
Additional properties used when evaluating templates.
icon:dot-circle[]
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
@@ -483,7 +483,7 @@ jreleaser {
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `brew`, i.e, `brewFoo`.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
// Git author used to commit to the tap repository.

View File

@@ -34,7 +34,7 @@ packagers:
templateDirectory: path/to/jbang/templates
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `jbang`, i.e, `jbangFoo`.
foo: bar
@@ -104,7 +104,7 @@ TOML::
templateDirectory = "path/to/jbang/templates"
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `jbang`, i.e, `jbangFoo`.
@@ -171,7 +171,7 @@ JSON::
"templateDirectory": "path/to/jbang/templates",
// Additional properties used when evaluating templates.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `jbang`, i.e, `jbangFoo`.
"foo": "bar"
@@ -258,7 +258,7 @@ Maven::
<!--
Additional properties used when evaluating templates.
icon:dot-circle[]
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
@@ -359,7 +359,7 @@ jreleaser {
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `jbang`, i.e, `jbangFoo`.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
// The jbang executable alias.

View File

@@ -34,7 +34,7 @@ packagers:
templateDirectory: path/to/scoop/templates
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `scoop`, i.e, `scoopFoo`.
foo: bar
@@ -108,7 +108,7 @@ TOML::
templateDirectory = "path/to/scoop/templates"
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `scoop`, i.e, `scoopFoo`.
@@ -180,7 +180,7 @@ JSON::
"templateDirectory": "path/to/scoop/templates",
// Additional properties used when evaluating templates.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `scoop`, i.e, `scoopFoo`.
"foo": "bar"
@@ -272,7 +272,7 @@ Maven::
<!--
Additional properties used when evaluating templates.
icon:dot-circle[]
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
@@ -380,7 +380,7 @@ jreleaser {
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `scoop`, i.e, `scoopFoo`.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
// URL used to check the latest version.

View File

@@ -39,7 +39,7 @@ packagers:
templateDirectory: path/to/snap/templates
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `snap`, i.e, `snapFoo`.
foo: bar
@@ -182,7 +182,7 @@ TOML::
templateDirectory = "path/to/snap/templates"
# Additional properties used when evaluating templates.
# icon:dot-circle[]
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `snap`, i.e, `snapFoo`.
@@ -317,7 +317,7 @@ JSON::
"templateDirectory": "path/to/snap/templates",
// Additional properties used when evaluating templates.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `snap`, i.e, `snapFoo`.
"foo": "bar"
@@ -490,7 +490,7 @@ Maven::
<!--
Additional properties used when evaluating templates.
icon:dot-circle[]
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
@@ -695,7 +695,7 @@ jreleaser {
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `snap`, i.e, `snapFoo`.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
// Git author used to commit to the snap repository.

View File

@@ -60,8 +60,18 @@ project:
# icon:exclamation-triangle[] Only if configured distributions or announcers.
license: Apache-2.0
# Additional properties used when evaluating templates.
# The project's copyright notice.
# You may set `${project.extraProperties.inceptionYear}` and `${project.authors}` instead.
# icon:dot-circle[]
copyright: 2021 Duke
# The project's documentation site.
# Defaults to `${project.website}`.
# icon:dot-circle[]
docsUrl: pass:[https://acme.com/app/docs]
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties:
# Key will be capitalized and prefixed with `project`, i.e, `projectFoo`.
foo: bar
@@ -151,8 +161,18 @@ TOML::
# icon:exclamation-triangle[] Only if configured distributions or announcers.
license = "Apache-2.0"
# Additional properties used when evaluating templates.
# The project's copyright notice.
# You may set `${project.extraProperties.inceptionYear}` and `${project.authors}` instead.
# icon:dot-circle[]
copyright = "2021 Duke"
# The project's documentation site.
# Defaults to `${project.website}`.
# icon:dot-circle[]
docsUrl = "pass:[https://acme.com/app/docs]"
# Additional properties used when evaluating templates.
# icon:dot-circle[] icon:file-alt[]
extraProperties.foo = "bar"
# Key will be capitalized and prefixed with `project`, i.e, `projectFoo`.
@@ -242,8 +262,18 @@ JSON::
// icon:exclamation-triangle[] Only if configured distributions or announcers.
"license": "Apache-2.0",
// Additional properties used when evaluating templates.
// The project's copyright notice.
// You may set `${project.extraProperties.inceptionYear}` and `${project.authors}` instead.
// icon:dot-circle[]
"copyright": "2021 Duke",
// The project's documentation site.
// Defaults to `${project.website}`.
// icon:dot-circle[]
"docsUrl": "pass:[https://acme.com/app/docs]",
// Additional properties used when evaluating templates.
// icon:dot-circle[] icon:file-alt[]
"extraProperties": {
// Key will be capitalized and prefixed with `project`, i.e, `projectFoo`.
"foo": "bar"
@@ -370,9 +400,23 @@ Maven::
<license>Apache-2.0</license>
<!--
Additional properties used when evaluating templates.
The project's copyright notice.
You may set `${project.extraProperties.inceptionYear}` and `${project.authors}` instead.
icon:dot-circle[]
-->
<copyright>2021 Duke</copyright>
<!--
The project's documentation site.
Defaults to `${project.website}`.
icon:dot-circle[]
-->
<docsUrl>pass:[https://acme.com/app/docs]</docsUrl>
<!--
Additional properties used when evaluating templates.
icon:dot-circle[] icon:file-alt[]
-->
<extraProperties>
<!--
Key will be capitalized and prefixed with `project`, i.e, `projectFoo`.
@@ -490,9 +534,19 @@ jreleaser {
// icon:exclamation-triangle[] Only if configured distributions or announcers.
license = 'Apache-2.0'
// The project's copyright notice.
// You may set `${project.extraProperties.inceptionYear}` and `${project.authors}` instead.
// icon:dot-circle[]
copyright = '2021 Duke'
// The project's documentation site.
// Defaults to `${project.website}`.
// icon:dot-circle[]
docsUrl = 'pass:[https://acme.com/app/docs]'
// Additional properties used when evaluating templates.
// Key will be capitalized and prefixed with `project`, i.e, `projectFoo`.
// icon:dot-circle[]
// icon:dot-circle[] icon:file-alt[]
extraProperties.put('foo', 'bar')
// Required if there are configured distributions.
@@ -550,4 +604,5 @@ there were not defined in the `jreleaser` DSL block:
| config.info.authors | project.authors
| config.info.tags | project.tags
| config.info.licenses | project.license
| config.info.inceptionYear | project.extraProperties.inceptionYear
|===

View File

@@ -52,6 +52,7 @@ plugin is applied:
| config.info.authors | project.authors
| config.info.tags | project.tags
| config.info.licenses | project.license
| config.info.inceptionYear | project.extraProperties.inceptionYear
|===
== Tasks

View File

@@ -27,13 +27,14 @@ the matching JReleaser element has not been explicitly configured:
[%header, cols="<1,<1", width="100%"]
|===
| POM | JReleaser
| project.artifactId | project.name
| project.version | project.version
| project.description | project.description
| project.url | project.website
| project.groupId | project.java.groupId
| project.artifactId | project.java.artifactId
| POM | JReleaser
| project.artifactId | project.name
| project.version | project.version
| project.description | project.description
| project.url | project.website
| project.groupId | project.java.groupId
| project.artifactId | project.java.artifactId
| project.inceptionYear | project.extraProperties.inceptionYear
|===
The value of `project.java.multiProject` will be set to true if the current Maven session has more than 1 project.