Fork me on GitHub

wagon:merge-maven-repos

Full name:

org.codehaus.mojo:wagon-maven-plugin:3.0.0:merge-maven-repos

Description:

Merge artifacts from one Maven repository to another Maven repository.

Attributes:

  • The goal is not marked as thread-safe and thus does not support parallel builds.

Required Parameters

Name Type Since Description
<source> String - The URL to the source repository.
User Property: wagon.source
<target> String - The URL to the target repository.
User Property: wagon.target

Optional Parameters

Name Type Since Description
<optimize> boolean - Optimize the upload by locally compressed all files in one bundle, upload the bundle, and finally remote uncompress the bundle. This only works with SCP's URL
Default: false
User Property: wagon.optimize
<skip> boolean 2.0.0 When true, skip the execution.
User Property: wagon.skip
<sourceId> String - settings.xml's server id of the source repository. This is used when wagon needs extra authentication information.
Default: source
User Property: wagon.sourceId
<targetId> String - settings.xml's server id of the target repository. This is used when wagon needs extra authentication information.
Default: target
User Property: wagon.targetId

Parameter Details

<optimize>

Optimize the upload by locally compressed all files in one bundle, upload the bundle, and finally remote uncompress the bundle. This only works with SCP's URL
  • Type: boolean
  • Required: No
  • User Property: wagon.optimize
  • Default: false

<skip>

When true, skip the execution.
  • Type: boolean
  • Since: 2.0.0
  • Required: No
  • User Property: wagon.skip

<source>

The URL to the source repository.
  • Type: java.lang.String
  • Required: Yes
  • User Property: wagon.source

<sourceId>

settings.xml's server id of the source repository. This is used when wagon needs extra authentication information.
  • Type: java.lang.String
  • Required: No
  • User Property: wagon.sourceId
  • Default: source

<target>

The URL to the target repository.
  • Type: java.lang.String
  • Required: Yes
  • User Property: wagon.target

<targetId>

settings.xml's server id of the target repository. This is used when wagon needs extra authentication information.
  • Type: java.lang.String
  • Required: No
  • User Property: wagon.targetId
  • Default: target