constant-maven-plugin

Export maven properties to constants sources

Лицензия

Лицензия

Категории

Категории

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

Группа

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

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

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

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

1.0.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

constant-maven-plugin
Export maven properties to constants sources
Ссылка на сайт

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

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

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

https://github.com/spirylics/constant-maven-plugin.git

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

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

<plugin>
    <groupId>com.github.spirylics</groupId>
    <artifactId>constant-maven-plugin</artifactId>
    <version>1.0.2</version>
</plugin>

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.3.9
com.google.guava : guava jar 19.0

provided (2)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.4
org.apache.maven : maven-core jar 3.3.9

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0
org.apache.maven : maven-compat jar 3.3.9

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

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

constant-maven-plugin

Export properties to constants sources

Example

<plugin>
   <groupId>com.github.spirylics</groupId>
   <artifactId>constant-maven-plugin</artifactId>
   <version>1.0</version>
   <executions>
       <execution>
           <id>generate-constants</id>
           <goals>
               <goal>java</goal>
           </goals>
           <configuration>
               <directory>${project.build.directory}/gen</directory>
               <name>com.github.spirylics.R</name>
               <includes>
                    <include>constant.*</include>
               </includes>
           </configuration>
       </execution>
   </executions>
</plugin>

Should generated a java class in 'directory' with constants from maven properties matching with includes.

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

Версия
1.0.2
1.0.1