Git Product home page Git Product logo

bintray-maven-plugin's Introduction

bintray-maven-plugin

Download

The plugin is primary used during deploy phase, to add your artifact(s) to a Bintray repository, additionally to deploying in repositories from distributionManagement section. This plugin works like maven-deploy-plugin.

Goals

The Bintray deploy plugin has following goals.

bintray:deploy

This goal is used to automatically install the artifact, its pom and the attached artifacts produced by a particular project.

Parameters:

Name Type Description
id String The id can be used to pick up the correct credentials from the settings.xml.
User property: bintray.repository.id.
url String The location of maven repository in Bintray.
User property: bintray.repository.url.
skip boolean Set this to 'true' to bypass artifact deploy.
Default value: false.
User property: maven.deploy.skip.
retryFailedDeploymentCount int Parameter used to control how many times a failed deployment will be retried before giving up and failing. If a value outside the range 1-10 is specified it will be pulled to the nearest value within the range 1-10.
Default value: 1.
User property: retryFailedDeploymentCount.

bintray:publish

This goal is used to publish all artifacts in Bintray repository.

Parameters:

Name Type Description
id String The id can be used to pick up the correct credentials from the settings.xml.
User property: bintray.repository.id.
url String The location of maven repository in Bintray.
User property: bintray.repository.url.
skip boolean Set this to 'true' to bypass publishing.
Default value: false.
User property: bintray.publish.skip.

Authentication

The plugin uses credentials from settings.xml.

Example

pom.xml

<plugin>
    <groupId>com.devexperts.bintray</groupId>
    <artifactId>bintray-maven-plugin</artifactId>
    <version>1.2</version>
    <configuration>
        <id>bintray-REPO-deploy</id>
        <url>https://api.bintray.com/maven/SUBJECT/maven/REPO</url>
    </configuration>
    <executions>
        <execution>
            <id>bintray-deploy</id>
            <goals>
                <goal>deploy</goal>
                <goal>publish</goal>
            </goals>
        </execution>
    </executions>
</plugin>

settings.xml

<server>
    <id>bintray-REPO-deploy</id>
    <username>USER</username>
    <password>API_KEY</password>
</server>

bintray-maven-plugin's People

Contributors

elizarov avatar ndkoval avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bintray-maven-plugin's Issues

No goals in the plugin

The plugin descriptor contains no mojos. So when I try the plugin I am getting error: Could not find goal 'publish' in plugin com.devexperts.bintray:bintray-maven-plugin:1.0 among available goals

Is the plugin intended to be public?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.