stage:copy

Full name:

org.apache.maven.plugins:maven-stage-plugin:1.0:copy

Description:

Copies artifacts from one repository to another repository.

Attributes:

Required Parameters

Name Type Since Description
version String - The version of the artifact that is to be copied.

Note: This is currently only used for naming temporary files. All versions of the artifacts will be copied.


User property is: version.

Optional Parameters

Name Type Since Description
source String - The URL to the source repository.
User property is: source.
sourceRepositoryId String - The id of the source repository, required if you need the configuration from the user settings.
Default value is: source.
User property is: sourceRepositoryId.
target String - The URL to the target repository.

Note: currently only scp: URLs are allowed as a target URL.


User property is: target.
targetRepositoryId String - The id of the target repository, required if you need the configuration from the user settings.
Default value is: target.
User property is: targetRepositoryId.

Parameter Details

source:

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

sourceRepositoryId:

The id of the source repository, required if you need the configuration from the user settings.
  • Type: java.lang.String
  • Required: No
  • User Property: sourceRepositoryId
  • Default: source

target:

The URL to the target repository.

Note: currently only scp: URLs are allowed as a target URL.

  • Type: java.lang.String
  • Required: No
  • User Property: target

targetRepositoryId:

The id of the target repository, required if you need the configuration from the user settings.
  • Type: java.lang.String
  • Required: No
  • User Property: targetRepositoryId
  • Default: target

version:

The version of the artifact that is to be copied.

Note: This is currently only used for naming temporary files. All versions of the artifacts will be copied.

  • Type: java.lang.String
  • Required: Yes
  • User Property: version