reposync:update

Full name:

com.kerbaya.maven:reposync-maven-plugin:1.5.0:update

Description:

Prepares a repository to support builds using provided dependencies

Attributes:

  • The goal is thread-safe and supports parallel builds.

Required Parameters

Name Type Since Description
<repositoryId> String - The ID of the repository that should be updated with dependencies. If used in combination with the repositoryUrl parameter, the updated repository is the provided URL used in combination with proxy/login settings associated to the provided repository ID.
Default value is: remote-repository.
User property is: repositoryId.
<repositoryUrl> String - The URL of the repository that should be updated with dependencies. Used in combination with the repositoryId parameter, the updated repository is the provided URL used in combination with proxy/login settings associated to the provided repository ID.
User property is: repositoryUrl.

Optional Parameters

Name Type Since Description
<artifact> String - The artifact to update when executing the plugin from the command-line, in the format <groupId>:<artifactId>[:<extension>[:<classifier>]]:[version]. If version is omitted, dependency management will be used to determine the version. Multiple artifacts may be specified, separated by a comma, or one or more whitespace characters. Use artifactItems when executing the plugin within a POM configuration.
User property is: artifact.
<artifactItems> List - The artifacts to update when executing the plugin within a POM configuration
<extra> String - Extra artifacts to include when executing the plugin from the command- line, in the format <extension>[:<classifier>]. Multiple extras may be specified, separated by a comma, or one or more whitespace characters. For example, "jar:sources jar:javadoc"
User property is: extra.
<extraItems> List - Extra artifacts to include when executing the plugin within a POM configuration
<failOnNoArtifact> boolean - If true, the plugin execution will fail when no artifacts have been specified.
Default value is: true.
User property is: failOnNoArtifact.
<filter> String - a regular expression against which an artifact must be matched before being deployed to the target repository. artifacts are matched using <groupId>:<artifactId>:<extension>[:<classifier>]:<version>
User property is: filter.
<filterType> Filter - a filter against which an artifact must be matched before deploying to the repository. Values are
  • SNAPSHOT: only include artifacts with snapshot versions
  • RELEASE: only include artifacts with release versions

User property is: filterType.
<force> boolean - If true, artifacts are updated even when they are determined to have originated from the target repository.
Default value is: false.
User property is: force.
<snapshotAsRelease> boolean - If true, snapshot artifacts using timestamps are deployed to the target repository as releases
Default value is: false.
User property is: snapshotAsRelease.

Parameter Details

<artifact>

The artifact to update when executing the plugin from the command-line, in the format <groupId>:<artifactId>[:<extension>[:<classifier>]]:[version]. If version is omitted, dependency management will be used to determine the version. Multiple artifacts may be specified, separated by a comma, or one or more whitespace characters. Use artifactItems when executing the plugin within a POM configuration.
  • Type: java.lang.String
  • Required: No
  • User Property: artifact

<artifactItems>

The artifacts to update when executing the plugin within a POM configuration
  • Type: java.util.List
  • Required: No

<extra>

Extra artifacts to include when executing the plugin from the command- line, in the format <extension>[:<classifier>]. Multiple extras may be specified, separated by a comma, or one or more whitespace characters. For example, "jar:sources jar:javadoc"
  • Type: java.lang.String
  • Required: No
  • User Property: extra

<extraItems>

Extra artifacts to include when executing the plugin within a POM configuration
  • Type: java.util.List
  • Required: No

<failOnNoArtifact>

If true, the plugin execution will fail when no artifacts have been specified.
  • Type: boolean
  • Required: No
  • User Property: failOnNoArtifact
  • Default: true

<filter>

a regular expression against which an artifact must be matched before being deployed to the target repository. artifacts are matched using <groupId>:<artifactId>:<extension>[:<classifier>]:<version>
  • Type: java.lang.String
  • Required: No
  • User Property: filter

<filterType>

a filter against which an artifact must be matched before deploying to the repository. Values are
  • SNAPSHOT: only include artifacts with snapshot versions
  • RELEASE: only include artifacts with release versions
  • Type: com.kerbaya.maven.reposync.Filter
  • Required: No
  • User Property: filterType

<force>

If true, artifacts are updated even when they are determined to have originated from the target repository.
  • Type: boolean
  • Required: No
  • User Property: force
  • Default: false

<repositoryId>

The ID of the repository that should be updated with dependencies. If used in combination with the repositoryUrl parameter, the updated repository is the provided URL used in combination with proxy/login settings associated to the provided repository ID.
  • Type: java.lang.String
  • Required: Yes
  • User Property: repositoryId
  • Default: remote-repository

<repositoryUrl>

The URL of the repository that should be updated with dependencies. Used in combination with the repositoryId parameter, the updated repository is the provided URL used in combination with proxy/login settings associated to the provided repository ID.
  • Type: java.lang.String
  • Required: Yes
  • User Property: repositoryUrl

<snapshotAsRelease>

If true, snapshot artifacts using timestamps are deployed to the target repository as releases
  • Type: boolean
  • Required: No
  • User Property: snapshotAsRelease
  • Default: false