Update with recent changes

This commit is contained in:
Andres Almiray
2021-05-30 22:17:47 +02:00
parent 477ef26de9
commit 9deafba0ea
7 changed files with 18 additions and 3 deletions

View File

@@ -126,7 +126,7 @@ jreleaser {
----
====
Formats currently supported for the properties file are:
Formats currently supported for the file configurable in the `variables` field are:
* `.properties`
* `.yml`
@@ -173,6 +173,9 @@ JSON::
NOTE: The config file must use the appropriate file extension that matches the format in use.
IMPORTANT: The config file should have key/value pairs with no nesting. Each key maps to the corresponding environment
variable that requires a value.
== Maven
JReleaser will honor Maven project properties. These properties can be defined in several ways:

View File

@@ -25,6 +25,8 @@ project:
groupId: com.acme
artifactId: app
version: 16
extraProperties:
inceptionYear: 2021
release:
github:
@@ -72,6 +74,7 @@ TOML::
java.groupId = "com.acme"
java.artifactId = "app"
java.version = "16"
extraProperties.inceptionYear = "2021"
[release.github]
overwrite = true
@@ -114,6 +117,9 @@ JSON::
"groupId": "com.acme",
"artifactId": "app",
"version": "16"
},
"extraProperties": {
"inceptionYear": "2021"
}
},
@@ -178,7 +184,7 @@ Maven::
<name>app</name>
<description>Sample app</description>
<url>https://acme.com/app</url>
<inceptionYear>2020</inceptionYear>
<inceptionYear>2021</inceptionYear>
<properties>
<maven.compiler.release>16</maven.compiler.release>
@@ -287,6 +293,7 @@ jreleaser {
website = 'pass:[https://acme.com/app]'
authors = ['Duke']
license = 'Apache-2.0'
inceptionYear = '2021'
java {
mainClass = 'com.acme.Main'
artifactId = 'app'

View File

@@ -37,6 +37,8 @@ project:
java:
groupId: com.acme
version: 8
extraProperties:
inceptionYear: 2021
release:
github:

View File

@@ -28,6 +28,8 @@ project:
java:
groupId: com.acme
version: 8
extraProperties:
inceptionYear: 2021
release:
github:

View File

@@ -104,6 +104,7 @@ jreleaser {
website = 'https://acme.com/app'
authors = ['Duke']
license = 'Apache-2.0'
extraProperties.put('inceptionYear', '2021')
}
release {

Binary file not shown.

View File

@@ -5,7 +5,7 @@
<a class="navbar-item" href="{{{or site.url (or siteRootUrl siteRootPath)}}}">{{site.title}}</a>
</div>
<div class="navbar-item hide-for-print">
<input id="search-input" type="text" placeholder="Search (by Algolia)">
<input id="search-input" type="text" placeholder="Search docs">
</div>
<button class="navbar-burger" data-target="topbar-nav">
<span></span>