velocity-maven-plugin Maven Mojo

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Лицензия

Лицензия

Категории

Категории

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

Группа

com.github.vdubus
Идентификатор

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

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

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

1.1.3
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

velocity-maven-plugin Maven Mojo
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Ссылка на сайт

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

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

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

https://github.com/vdubus/velocity-maven-plugin

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

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

<plugin>
    <groupId>com.github.vdubus</groupId>
    <artifactId>velocity-maven-plugin</artifactId>
    <version>1.1.3</version>
</plugin>

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.2.3
org.apache.maven : maven-project jar 3.0-alpha-2
org.apache.velocity : velocity jar 1.7

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

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

README

Introduction

The plugin name is velocity-maven-plugin and there is a single goal: velocity.

Original code is available on google code project.

This version fix these issues:

Example Addition to POM

<plugin>
	<groupId>com.github.vdubus</groupId>
	<artifactId>velocity-maven-plugin</artifactId>
	<version>1.1.2</version>
	<executions>
		<execution>
			<id>Generate source velocity</id>
			<phase>generate-sources</phase>
			<goals>
				<goal>velocity</goal>
			</goals>
			<configuration>
				<removeExtension>.vm</removeExtension>
				<templateFiles>
					<directory>src/main/resources</directory>
					<includes>
						<include>**/*.vm</include>
					</includes>
				</templateFiles>
				<templateValues>
					<test>testValue</test>
				</templateValues>
			</configuration>
		</execution>
	</executions>
</plugin>

Options

Option Name Default Notes
encoding ${project.build.sourceEncoding} This option also has null check that sets the value to "UTF-8"
outputDirectory ${project.build.directory}
removeExtension no default Set this parameter if you want the plugin to remove an unwanted extension when saving result. For example foo.xml.vtl ==> foo.xml if removeExtension = '.vtl'.
templateFiles Required, no default. This is required, but a default may be added later
templateValues Required, no default. This is the properties list you wish to have merged with your templates

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

Версия
1.1.3