Skip to content

Conventional commits plugins for Java build systems. Maven only for now.

Notifications You must be signed in to change notification settings

foo4u/conventional-commits-for-java

Repository files navigation

Conventional Commits for Java

Provides a Java implementation of Conventional Commits for projects built with Java 1.8+ using Git for version control.

Maven Plugin

Usage

This plugin works together with the Maven Release Plugin to create conventional commit compliant releases for your Maven projects

Install the Plugin

In your main pom.xml file add the plugin:

<plugins>
    <plugin>
        <groupId>com.smartling.cc4j</groupId>
        <artifactId>conventional-commits-maven-plugin</artifactId>
        <version>${version}</version>
    </plugin>
</plugins>

Release a Version

mvn conventional-commits:version release:prepare
mvn release:perform

Gradle Plugin

A [Gradle] plugin is planned for future release.

About

Conventional commits plugins for Java build systems. Maven only for now.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published