check-staging-properties-maven-plugin

Checks stage dependent properties

Лицензия

Лицензия

Категории

Категории

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

Группа

de.codecentric
Идентификатор

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

check-staging-properties-maven-plugin
Последняя версия

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

1.0.4
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

check-staging-properties-maven-plugin
Checks stage dependent properties
Ссылка на сайт

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

https://github.com/codecentric/check-staging-properties-maven-plugin
Организация-разработчик

Организация-разработчик

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

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

https://github.com/codecentric/check-staging-properties-maven-plugin/tree/master

Скачать check-staging-properties-maven-plugin

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

<plugin>
    <groupId>de.codecentric</groupId>
    <artifactId>check-staging-properties-maven-plugin</artifactId>
    <version>1.0.4</version>
</plugin>

Зависимости

provided (2)

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

test (1)

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

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

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

check-staging-properties-maven-plugin

GitHub license Build Status Codacy grade Coveralls Maven Central

Maven-plugin for checking the equality of several .properties-files for Mule applications (at least mostly used with, but not necessary). This plugin is perfect for you, if you have multiple .properties-files for different staging environments like app-DEV.properties or app-PRD.properties and you want to check if they correlate. It will check if:

  • sizes (number of keys) are equal,
  • name of the keys are equal and
  • all values are present.

Usage

Add the following lines to the build > plugins section of your pom.xml. Here's an example:

<plugin>
  <groupId>de.codecentric</groupId>
  <artifactId>check-staging-properties-maven-plugin</artifactId>
  <version>1.0.4</version>
  <executions>
    <execution>
      <phase>verify</phase>
      <goals>
        <goal>check</goal>
      </goals>
    </execution>
  </executions>
  <configuration>
    <directory>src/main/resources</directory>
    <groups>
      <group>credentials-(.*)\.properties</group>
      <group>settings-(.*)\.properties</group>
    </groups>
  </configuration>
</plugin>

Note: The configuration section is optional. By default the plugin will search for properties in the src/main/resources directory and will break the Maven build if the properties are not equal. You can optionally pass a list of groups to group the checking of properties by filename.

de.codecentric

codecentric AG

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

Версия
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0