Deploy

Artifacts may be deployed to configured locations.

Legend:

  • required

  • optional

  • may use environment variable

  • accepts Name Templates

  • YAML

  • TOML

  • JSON

  • Maven

  • Gradle

# 
deploy:
  # Enable or disable all configured deployers.
  # Supported values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
  # Defaults to `ALWAYS`.
  # 
  active: ALWAYS
# 
[deploy]

  # Enable or disable all configured deployers.
  # Supported values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
  # Defaults to `ALWAYS`.
  # 
  active = "ALWAYS"
{
  // 
  "deploy": {
    // Enable or disable all configured deployers.
    // Supported values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
    // Defaults to `ALWAYS`.
    // 
    "active": "ALWAYS"
  }
}
<jreleaser>
  <!--
    
  -->
  <deploy>
    <!--
      Enable or disable all configured deployers.
      Supported values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
      Defaults to `ALWAYS`.
      
    -->
    <active>ALWAYS</active>
  </deploy>
</jreleaser>
jreleaser {
  // 
  deploy {
    // Enable or disable all configured deployers.
    // Supported values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
    // Defaults to `ALWAYS`.
    // 
    active = 'ALWAYS'
  }
}
When not explicitly set, the value of active may be resolved from an environment variable JRELEASER_DEPLOY_ACTIVE or from a system property jreleaser.deploy.active. The system property takes precedence over the environment variable.