Build Helper Maven Plugin

This plugin contains various small independent goals to assist with the Maven build lifecycle. Notes Starting with version 3.0.0 this plugin will only support Maven 3+. If you really need Maven 2+ support you have to use version 1.12 or earlier.

Goals Overview

build-helper:add-source Add more source directories to the POM.
build-helper:add-test-source Add test source directories to the POM.
build-helper:add-resource Add more resource directories to the POM.
build-helper:add-test-resource Add test resource directories to the POM.
build-helper:attach-artifact Attach additional artifacts to be installed and deployed.
build-helper:maven-version Set a property containing the current version of maven.
build-helper:regex-property Sets a property by applying a regex replacement rule to a supplied value.
build-helper:regex-properties Sets a property by applying a regex replacement rule to a supplied value.
build-helper:released-version Resolve the latest released version of this project.
build-helper:parse-version Parse the version into different properties.
build-helper:remove-project-artifact Remove project's artifacts from local repository.
build-helper:reserve-network-port Reserve a list of random and unused network ports.
build-helper:local-ip Retrieve current host IP address.
build-helper:cpu-count Retrieve number of available CPU.
build-helper:timestamp-property Sets a property based on the current date and time.
build-helper:uptodate-property Sets a property according to whether a file set's outputs are up to date with respect to its inputs.
build-helper:uptodate-properties Sets multiple properties according to whether multiple file sets' outputs are up to date with respect to their inputs.
build-helper:rootlocation Sets a property which defines the root folder of a multi module build.

Usage

Instructions on how to use the Build Helper Maven Plugin can be found on the usage page.

Examples

Reserve network port Passing reserve port to Surefire

results matching ""

    No results matching ""