whitespace-maven-plugin Maven Mojo

Maven plugin for stripping trailing whitespace errors from java source code

Лицензия

Лицензия

Категории

Категории

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

Группа

com.github.dantwining.whitespace-maven-plugin
Идентификатор

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

whitespace-maven-plugin
Последняя версия

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

1.0.4
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

whitespace-maven-plugin Maven Mojo
Maven plugin for stripping trailing whitespace errors from java source code
Ссылка на сайт

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

https://github.com/dantwining/whitespace-maven-plugin
Система контроля версий

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

https://github.com/dantwining/whitespace-maven-plugin

Скачать whitespace-maven-plugin

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

<plugin>
    <groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
    <artifactId>whitespace-maven-plugin</artifactId>
    <version>1.0.4</version>
</plugin>

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 2.0
commons-io : commons-io jar 2.4
org.apache.commons : commons-lang3 jar 3.1

test (1)

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

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

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

whitespace-maven-plugin

The whitespace plugin will remove any trailing whitespace from .java, .xml and .scala files in your project.

Usage

The plugin works best if it is run every time during Maven compilation. However, if you wish to perform a simple test of what the plugin does, then run the following within your Maven project:

mvn com.github.dantwining.whitespace-maven-plugin:whitespace-maven-plugin:trim

To enable the plugin for every Maven compilation, add the following to your pom and run any maven phase that would include the process-sources phase:

<plugin>
	<artifactId>whitespace-maven-plugin</artifactId>
	<groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
	<version>1.0.4</version>
	<executions>
		<execution>
			<phase>process-sources</phase>
			<goals>
				<goal>trim</goal>
			</goals>
		</execution>
	</executions>
</plugin>

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

Версия
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0