Decerto Liquibase Maven Plugin

Decerto Maven Utility Plugins

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка Liquibase Данные Базы данных
Группа

Группа

pl.decerto
Идентификатор

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

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

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

1.4.6
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Decerto Liquibase Maven Plugin
Decerto Maven Utility Plugins

Скачать decerto-liquibase-maven-plugin

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

<plugin>
    <groupId>pl.decerto</groupId>
    <artifactId>decerto-liquibase-maven-plugin</artifactId>
    <version>1.4.6</version>
</plugin>

Зависимости

compile (8)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-core jar 3.2.2
org.apache.maven : maven-plugin-api jar 2.0
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2
org.eclipse.jgit : org.eclipse.jgit jar 4.4.1.201607150455-r
org.projectlombok : lombok jar 1.16.10
commons-io : commons-io jar 2.4
org.slf4j : slf4j-simple jar 1.7.21
org.slf4j : slf4j-api jar 1.7.21

test (4)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-compat jar 3.2.2
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.1.0
org.spockframework : spock-core jar 1.0-groovy-2.4
org.codehaus.groovy : groovy-all jar 2.4.0

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

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

Decerto Maven Plugin

Build Status Maven Central

This repository contains a set of useful Maven plugins.

  • Decerto Liquibase Maven Plugin - This plugin is made for enhancing Liquibase projects automation

Decerto Liquibase Maven Plugin

This plugin provides following goals:

  • moveSnapshots (phase none) - enables moving temporary changes from (in default) /resources/liquibase/snapshot directory of the project. Useful during releasing a new version - it creates new folder in /resources/liquibase/ with a project's current version name. After succesful file processing, it creates proper git commit, which is provided for releasing automation through CI like Jenkins.

Configuration properties:

  • liquibaseDir (default value -> /src/main/resources/liquibase/)
  • liquibaseSnapshotDir (default value -> /src/main/resources/liquibase/snapshot/)
  • projectVersion (default value -> project version from maven properties)
  • projectBaseDir (default value -> project base dir from maven properties)
  • artifactName (default value -> finalName from maven properties)
  • lineSeparator
  • changelogFiles (list of changelog file names located in /resources/liquibase/ - each files is extented by new snapshots folder inclusion)

Usage:

<plugins>
	<plugin>
		<artifactId>decerto-liquibase-maven-plugin</artifactId>
		<groupId>pl.decerto</groupId>
		<version>1.4.6</version>
		<configuration>
			<changelogFiles>
				<changelogFile>changelog-master.xml</changelogFile>
				<changelogFile>changelog-test.xml</changelogFile>
			</changelogFiles>
		</configuration>
		<executions>
			<execution>
				<goals>
					<goal>moveSnapshots</goal>
				</goals>
			</execution>
		</executions>
	</plugin>
</plugins>

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

Версия
1.4.6
1.4.3
1.4.2
1.4.1