Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.35 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.35 KB

Actions Status

Maven extension to handle altDeploymentRepository legacy/new formats.

Overview

This extension will activate if a maven-deploy-plugin and altDeploymentRepository have been specified. If it has, then it will examine the value for altDeploymentRepository and convert it to the correct form for the plugin version in use.

It will search for altDeploymentRepository in the following locations:

  • Project properties
  • User properties
  • System Properties
  • Settings file properties

If the deployment plugin version is >= 3.0.0-M1 it uses:

id::url

otherwise (e.g. for 2.8) it uses

id::layout::url

(where layout defaults to default).

This has been tested with Maven 3.2.2 to 3.9.0.

Installation

It is recommended to install in your Maven lib/ext directory. Binary releases can be obtained from Maven Central here and snapshots from here.

Configuration

There is no configuration required for this plugin. It can be disabled by setting altdeploy.extension.disable to true.