decerto-maven-plugin

Decerto Maven Utility Plugins

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

pl.decerto
ArtifactId

ArtifactId

decerto-maven-plugin
Last Version

Last Version

1.4.6
Release Date

Release Date

Type

Type

pom
Description

Description

decerto-maven-plugin
Decerto Maven Utility Plugins
Project URL

Project URL

https://github.com/decerto-poland/decerto-maven-plugin
Source Code Management

Source Code Management

https://github.com/decerto-poland/decerto-maven-plugin.git

Download decerto-maven-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/pl.decerto/decerto-maven-plugin/ -->
<dependency>
    <groupId>pl.decerto</groupId>
    <artifactId>decerto-maven-plugin</artifactId>
    <version>1.4.6</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/pl.decerto/decerto-maven-plugin/
implementation 'pl.decerto:decerto-maven-plugin:1.4.6'
// https://jarcasting.com/artifacts/pl.decerto/decerto-maven-plugin/
implementation ("pl.decerto:decerto-maven-plugin:1.4.6")
'pl.decerto:decerto-maven-plugin:pom:1.4.6'
<dependency org="pl.decerto" name="decerto-maven-plugin" rev="1.4.6">
  <artifact name="decerto-maven-plugin" type="pom" />
</dependency>
@Grapes(
@Grab(group='pl.decerto', module='decerto-maven-plugin', version='1.4.6')
)
libraryDependencies += "pl.decerto" % "decerto-maven-plugin" % "1.4.6"
[pl.decerto/decerto-maven-plugin "1.4.6"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • decerto-liquibase-maven-plugin

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>

Versions

Version
1.4.6
1.4.3
1.4.2
1.4.1