mthmulders / custom-maven-release-strategies

Custom strategies for the Maven Release Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

Custom strategies for the Maven Release Plugin

License:Apache License 2.0


Languages

Language:Java 100.0%