/custom-maven-release-strategies

Custom strategies for the Maven Release Plugin

Primary LanguageJavaApache License 2.0Apache-2.0

Custom strategies for the Maven Release Plugin

Build status Quality Gate Status Coverage Technical Debt Vulnerabilities Mutation testing badge Download

Using it

Add the following to the root of your projects pom.xml:

<pluginRepositories>
    <pluginRepository>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
        <id>bintray-mthmulders-open-source</id>
        <name>bintray-plugins</name>
        <url>https://dl.bintray.com/mthmulders/open-source</url>
    </pluginRepository>
</pluginRepositories>

Then configure the Maven Release Plugin as follows:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-release-plugin</artifactId>
    <version>3.0.0-M1</version><!-- You need at least version 3.0.0-M1! -->
    <dependencies>
        <dependency>
            <groupId>it.mulders.maven</groupId>
            <artifactId>ascii-art-logger</artifactId>
            <version>0.0.6</version>
        </dependency>
    </dependencies>
    <configuration>
        <releaseStrategyId>ascii-art-enhanced-strategy</releaseStrategyId>
    </configuration>
</plugin>