FileSwitcher Maven Plugin

A Maven plugin to switch files between release and debug versions.

Лицензия

Лицензия

Категории

Категории

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

Группа

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

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

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

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

1.0.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

FileSwitcher Maven Plugin
A Maven plugin to switch files between release and debug versions.
Ссылка на сайт

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

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

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

https://github.com/kobusgrobler/fileswitcher-maven-plugin

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

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

<plugin>
    <groupId>com.github.kobusgrobler</groupId>
    <artifactId>fileswitcher-maven-plugin</artifactId>
    <version>1.0.0</version>
</plugin>

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 2.0
org.apache.maven : maven-artifact jar 2.0
org.apache.maven : maven-project jar 2.0
org.codehaus.plexus : plexus-utils jar 3.0.8

provided (1)

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

test (1)

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

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

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

fileswitcher-maven-plugin

A Maven plugin to switch files between release and debug versions.

Typically used to switch log configuration files used during development with that used for a production build.

To build, test and install the plugin

mvn -Prun-its install

Usage

To copy logging-debug.properties to logging.properties IF the debug variable is set to true, otherwise use logging-release.properties

            <plugin>
                <groupId>com.github.kobusgrobler</groupId>
                <artifactId>fileswitcher-maven-plugin</artifactId>
                <version>1.0.0</version>
                <configuration>
                    <useDebug>${debug}</useDebug>
                    <outFile>logging.properties</outFile>
                    <debugFile>logging-debug.properties</debugFile>
                    <releaseFile>logging-release.properties</releaseFile>
                </configuration>
                <executions>
                    <execution>
                        <id>fileswitchid</id>
                        <phase>validate</phase>
                        <goals>
                            <goal>fileswitch</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

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

Версия
1.0.0