Maven Release Version Date Policy

Release version policy for use with Maven's maven-release-plugin, specifies a version scheme: year.month.day.minor

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

win.sa4zet
Идентификатор

Идентификатор

maven-release-version-date-policy
Последняя версия

Последняя версия

2020.7.20.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Maven Release Version Date Policy
Release version policy for use with Maven's maven-release-plugin, specifies a version scheme: year.month.day.minor
Ссылка на сайт

Ссылка на сайт

https://github.com/sa4zet/maven-release-version-date-policy
Система контроля версий

Система контроля версий

https://github.com/sa4zet/maven-release-version-date-policy

Скачать maven-release-version-date-policy

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/win.sa4zet/maven-release-version-date-policy/ -->
<dependency>
    <groupId>win.sa4zet</groupId>
    <artifactId>maven-release-version-date-policy</artifactId>
    <version>2020.7.20.2</version>
</dependency>
// https://jarcasting.com/artifacts/win.sa4zet/maven-release-version-date-policy/
implementation 'win.sa4zet:maven-release-version-date-policy:2020.7.20.2'
// https://jarcasting.com/artifacts/win.sa4zet/maven-release-version-date-policy/
implementation ("win.sa4zet:maven-release-version-date-policy:2020.7.20.2")
'win.sa4zet:maven-release-version-date-policy:jar:2020.7.20.2'
<dependency org="win.sa4zet" name="maven-release-version-date-policy" rev="2020.7.20.2">
  <artifact name="maven-release-version-date-policy" type="jar" />
</dependency>
@Grapes(
@Grab(group='win.sa4zet', module='maven-release-version-date-policy', version='2020.7.20.2')
)
libraryDependencies += "win.sa4zet" % "maven-release-version-date-policy" % "2020.7.20.2"
[win.sa4zet/maven-release-version-date-policy "2020.7.20.2"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.release : maven-release-api jar 3.0.0-M1

test (2)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-api jar 5.6.2
org.junit.jupiter : junit-jupiter-params jar 5.6.2

Модули Проекта

Данный проект не имеет модулей.

maven-release-version-date-policy

Release version policy for use with Maven's maven-release-plugin, specifies a version scheme: year.month.day.minor

Where year.month.day is the date when the mvn release command executed. Like: 2020.7.20

The minor is a number that tells the mvn release command how many times executed on the same day. If you released 4 times at 2020.7.20 on a same day, then it will be: 2020.7.20.4

Usage

Maven

<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven.release.plugin.version}</version>
<configuration>
  <projectVersionPolicyId>date</projectVersionPolicyId>
  <tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
<dependencies>
  <dependency>
    <groupId>win.sa4zet</groupId>
    <artifactId>maven-release-version-date-policy</artifactId>
    <version>2020.7.20.1</version>
  </dependency>
</dependencies>
</plugin>

Версии библиотеки

Версия
2020.7.20.2
2020.7.20.1