liquibase-unwrap-all-maven-plugin Maven Plugin

This plugin workaround problem of liquibase with "includeAll" tag un-wrapping this annotation in master file. See http://www.liquibase.org/documentation/includeall.html for more info.

License

License

Categories

Categories

Maven Build Tools Liquibase Data Databases
GroupId

GroupId

com.github.putpixel
ArtifactId

ArtifactId

liquibase-unwrap-all-maven-plugin
Last Version

Last Version

1.4
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

liquibase-unwrap-all-maven-plugin Maven Plugin
This plugin workaround problem of liquibase with "includeAll" tag un-wrapping this annotation in master file. See http://www.liquibase.org/documentation/includeall.html for more info.
Project URL

Project URL

https://github.com/PutPixel/liquibase-unwrap-all
Source Code Management

Source Code Management

https://github.com/PutPixel/liquibase-unwrap-all

Download liquibase-unwrap-all-maven-plugin

How to add to project

<plugin>
    <groupId>com.github.putpixel</groupId>
    <artifactId>liquibase-unwrap-all-maven-plugin</artifactId>
    <version>1.4</version>
</plugin>

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.maven : maven-core jar 3.3.9
org.apache.maven : maven-plugin-api jar 3.3.9

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.5

test (2)

Group / Artifact Type Version
org.apache.maven : maven-embedder jar 3.3.9
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Goal

This plugin workaround problem of liquibase with <includeAll/> tag un-wrapping this annotation in master file.

See http://www.liquibase.org/documentation/includeall.html for more info.

Before-After

Changeslog file in project: https://github.com/PutPixel/liquibase-unwrap-all/blob/master/src/test/resources/unit/project-to-test-with-unwrap-with-nested-folders/src/main/resources/db/changelog/db.changelog-master.xml

Changeslog file after processing: https://github.com/PutPixel/liquibase-unwrap-all/blob/master/src/test/resources/unit/project-to-test-with-unwrap-with-nested-folders/src/main/resources/db/changelog/db.changelog-master-should-be.xml

How to use

Just include following code to your POM

<plugin>
    <groupId>com.github.putpixel</groupId>
    <artifactId>liquibase-unwrap-all-maven-plugin</artifactId>
    <executions>
        <execution>
            <goals>
                <goal>unwrap</goal>
            </goals>
            <phase>process-classes</phase>
        </execution>
    </executions>
    <configuration>
        <changesLogMasterLocation>path/to/changelog/master.xml</changesLogMasterLocation>
    </configuration>
</plugin>

Versions

Version
1.4