For certain enabled builds (currently Hadoop and Hive), its possible to deploy Maven artifacts to Maven central, custom Nexus repositories, or arbitrary S3 locations at build time. In order to deploy artifacts, pass the following arguments to gradle/gradlew:
 
    -PdoMavenDeploy: flag to trigger deployment of maven artifacts
    -PmavenDeploySource: flag to add 'source:jars'
    -PmavenRepoId: repository ID, for getting credentials from Maven settings.xml
    -PmavenRepoUri: location of repository. Supports HTTP/HTTPS/S3 URIs
 
Note: deploying artifacts of SNAPSHOT builds is not currently supported.

  • No labels