Skip to content

Maven extension to handle altDeploymentRepository legacy/new forms.

License

Notifications You must be signed in to change notification settings

rnc/alt-deploy-maven-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Maven extension to handle altDeploymentRepository legacy/new forms.

Resources

License

Stars

Watchers

Forks

Packages

No packages published