individual-phases-maven-plugin

Maven plugin for for executing individual lifecycle phases

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

ee.originaal.maven.plugins
ArtifactId

ArtifactId

individual-phases-maven-plugin
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

individual-phases-maven-plugin
Maven plugin for for executing individual lifecycle phases
Project URL

Project URL

https://github.com/raigok/individual-phases-maven-plugin
Source Code Management

Source Code Management

https://github.com/raigok/individual-phases-maven-plugin

Download individual-phases-maven-plugin

How to add to project

<plugin>
    <groupId>ee.originaal.maven.plugins</groupId>
    <artifactId>individual-phases-maven-plugin</artifactId>
    <version>1.0.2</version>
</plugin>

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.maven : maven-core jar 3.6.1
org.codehaus.plexus : plexus-component-annotations jar 1.7.1

provided (1)

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

Project Modules

There are no modules declared in this project.

individual-phases-maven-plugin

A Maven plugin for executing individual lifecycle phases. It is meant to be used in build pipelines, where build steps could be run individually and in parallel.

Getting started

Add individual-phases-maven-plugin to your project's pom.xml:

<project>
    <profiles>
        <profile>
            <id>individual-phases</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>ee.originaal.maven.plugins</groupId>
                        <artifactId>individual-phases-maven-plugin</artifactId>
                        <version>[LATEST]</version>
                        <extensions>true</extensions> <!-- This is important -->
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>

A typical usage of the extension

  1. Build your project once

    mvn clean package -DskipTests
  2. Run unit tests without rebuilding your project (with individual-phases profile enabled)

    mvn test -P individual-phases
  3. Run integration tests without rebuilding your project (with individual-phases profile enabled)

    mvn pre-integration-test integration-test post-integration-test -P individual-phases
  4. See project-artifact-info-maven-plugin for installing and deploying your artifacts without rebuilding your project

Versions

Version
1.0.2