flyway-check-plugin

Verifies that a project does not contain identical versions of Flyway(https://flywaydb.org/) sql and java migrations.

Лицензия

Лицензия

Категории

Категории

Flyway Данные Базы данных
Группа

Группа

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

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

flyway-check-plugin
Последняя версия

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

0.0.3
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

flyway-check-plugin
Verifies that a project does not contain identical versions of Flyway(https://flywaydb.org/) sql and java migrations.
Ссылка на сайт

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

https://github.com/iWAConsolti-OSS/sloth-trap
Система контроля версий

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

https://github.com/iWAConsolti-OSS/sloth-trap

Скачать flyway-check-plugin

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

<plugin>
    <groupId>com.iwaconsolti</groupId>
    <artifactId>flyway-check-plugin</artifactId>
    <version>0.0.3</version>
</plugin>

Зависимости

compile (1)

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

provided (1)

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

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

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

Maven plugin

Verifies that a project does not contain identical versions of Flyway(https://flywaydb.org/) sql and java migrations.

Add plugin to existing project

  • In POM file, add the plugin to build plugins section as shown below.
<build>
	<plugins>
		<plugin>
			<groupId>mx.iwa</groupId>
			<artifactId>flyway-maven-plugin</artifactId>
			<version>0.0.2</version>
			<executions>
				<execution>
					<phase>compile</phase>
					<goals>
						<goal>flyway-check</goal>
					</goals>
				</execution>
			</executions>
			<configuration>
				<sql>./src/main/resources/db/migration/</sql>
				<java>./src/main/java/db/migration/</java>
				<prefix>V</prefix>
				<separator>__</separator>
			</configuration>
		</plugin>
	</plugins>
</build>
  • Set plugin properties in configuration section.
    • In plugin configuration section, specify the folders containing sql and java migrations. By default, plugin will look in folders "./src/main/resources/db/migration/" and "./src/main/java/db/migration".
    • If necessary, change the default flyway naming strategy for migrations, prefix and separator properties. Example of default naming: "V1_1__initialization.sql".

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

Версия
0.0.3
0.0.2
0.0.1