walkmod-license-applier-plugin

Walkmod plugin to add license headers into Java source files.

Лицензия

Лицензия

Группа

Группа

org.walkmod
Идентификатор

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

walkmod-license-applier-plugin
Последняя версия

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

2.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

walkmod-license-applier-plugin
Walkmod plugin to add license headers into Java source files.
Ссылка на сайт

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

https://github.com/rpau/walkmod-license-applier-plugin
Система контроля версий

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

https://github.com/rpau/walkmod-license-applier-plugin

Скачать walkmod-license-applier-plugin

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

<!-- https://jarcasting.com/artifacts/org.walkmod/walkmod-license-applier-plugin/ -->
<dependency>
    <groupId>org.walkmod</groupId>
    <artifactId>walkmod-license-applier-plugin</artifactId>
    <version>2.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.walkmod/walkmod-license-applier-plugin/
implementation 'org.walkmod:walkmod-license-applier-plugin:2.2'
// https://jarcasting.com/artifacts/org.walkmod/walkmod-license-applier-plugin/
implementation ("org.walkmod:walkmod-license-applier-plugin:2.2")
'org.walkmod:walkmod-license-applier-plugin:jar:2.2'
<dependency org="org.walkmod" name="walkmod-license-applier-plugin" rev="2.2">
  <artifact name="walkmod-license-applier-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.walkmod', module='walkmod-license-applier-plugin', version='2.2')
)
libraryDependencies += "org.walkmod" % "walkmod-license-applier-plugin" % "2.2"
[org.walkmod/walkmod-license-applier-plugin "2.2"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.walkmod : javalang jar [4.0.0, 5.0.0)
org.walkmod : walkmod-core jar [1.0.0,2.0.0)

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.5

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

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

walkmod-license-applier-plugin

Build Status

This is a walkmod plugin to add license headers in Java source files. By default, it add your license header if it is missing in your source files. However, there are the following actions:

  • update: updates the existing header with a new one.

  • check: checks if the header is missing in some source file but it does not change any source file.

  • remove: removes the existing header.

  • reformat: adds headers if they are missing (default option).

Usage

1) Check that your walkmod version is > = 2.2.0.

2) In order to configure this convention to apply or update a license to all your source files, execute the following command:

walkmod add -DlicenseFile=src/main/walkmod/license-applier/license.txt -Daction=reformat license-applier

And then, to see the results:

walkmod apply

Contributing

If you want to hack on this, fork it, improve it and send me a pull request.

To get started using it, just clone it and call mvn install.

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

Версия
2.2
2.1
2.0
1.0