Fork me on GitHub

wagon:exist

Full name:

org.codehaus.mojo:wagon-maven-plugin:2.0.2:exist

Description:

Check for the existing of remote resource.

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
<url> String - URL to upload to or download from or list. Must exist and point to a directory.
User property is: wagon.url.

Optional Parameters

Name Type Since Description
<resource> String - relative path to a remote resource.
User property is: wagon.resource.
<serverId> String - settings.xml's server id for the URL. This is used when wagon needs extra authentication information.
Default value is: serverId.
User property is: wagon.serverId.
<skip> boolean 2.0.0 When true, skip the execution.
User property is: wagon.skip.

Parameter Details

<resource>

relative path to a remote resource.
  • Type: java.lang.String
  • Required: No
  • User Property: wagon.resource

<serverId>

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

<skip>

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

<url>

URL to upload to or download from or list. Must exist and point to a directory.
  • Type: java.lang.String
  • Required: Yes
  • User Property: wagon.url