Bintray Maven Plugin

Deploy Maven project artifacts to existing Bintray Maven repository. Upload Eclipse P2 repository artifacts to existing Bintray Eclipse repository.

Лицензия

Лицензия

Apache-2.0
Категории

Категории

Maven Компиляция и сборка
Группа

Группа

com.carrotgarden.maven
Идентификатор

Идентификатор

bintray-maven-plugin
Последняя версия

Последняя версия

1.5.20191113165555
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Bintray Maven Plugin
Deploy Maven project artifacts to existing Bintray Maven repository. Upload Eclipse P2 repository artifacts to existing Bintray Eclipse repository.
Ссылка на сайт

Ссылка на сайт

https://github.com/random-maven/bintray-maven-plugin
Организация-разработчик

Организация-разработчик

CarrotGarden
Система контроля версий

Система контроля версий

https://github.com/random-maven/bintray-maven-plugin

Скачать bintray-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>com.carrotgarden.maven</groupId>
    <artifactId>bintray-maven-plugin</artifactId>
    <version>1.5.20191113165555</version>
</plugin>

Зависимости

compile (9)

Идентификатор библиотеки Тип Версия
org.scala-lang : scala-library jar 2.12.8
com.squareup.okhttp3 : okhttp jar 4.2.2
org.sonatype.plexus : plexus-build-api jar 0.0.7
org.apache.maven : maven-plugin-api jar 3.5.4
org.apache.maven : maven-core jar 3.5.4
org.json : json jar 20190722
com.carrotgarden.maven : maven-plugin-tools-annotations jar 1.2.20190427171248
org.apache.maven : maven-compat jar 3.5.4
org.apache.maven.plugins : maven-deploy-plugin jar 2.8.2

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.5.2

Модули Проекта

Данный проект не имеет модулей.

Bintray Maven Plugin

A Bintray plugin to deploy Maven artifacts and upload Eclipse repositories.

Project License Travis Status Lines of Code

Production Release Development Release
Install
Central Bintray

Similar plugins

Plugin features

  • proxy authentication
  • bintray target package removal
  • create bintray target package on-demand
  • automatic cleanup of old bintray target versions
  • preservation of selected versions from cleanup by regex
  • upload folder content, such as eclipse p2 repository, to fixed path
  • automatic cleanup of previous eclipse p2 repository resources by regex

Maven goals

Usage examples

bintary:deploy - deploy maven artifacts:

mvn clean deploy -P distro-bintray
        <profile>
            <id>distro-bintray</id>
            <build>
                <plugins>

                    <!-- Disable default deployer. -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-deploy-plugin</artifactId>
                        <configuration>
                            <skip>true</skip>
                        </configuration>
                    </plugin>

                    <!-- Enable alternative deployer. -->
                    <plugin>
                        <groupId>com.carrotgarden.maven</groupId>
                        <artifactId>bintray-maven-plugin</artifactId>
                        <configuration>
                            <skip>false</skip>

                            <!-- Bintray oranization name. -->
                            <subject>random-maven</subject>

                            <!-- Bintray target repository. -->
                            <repository>maven</repository>

                            <!-- Bintray credentials in settings.xml. -->
                            <serverId>distro-bintary</serverId>

                        </configuration>
                        <executions>
                            <!-- Activate "bintary:deploy" during "deploy" -->
                            <execution>
                                <goals>
                                    <goal>deploy</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

bintary:upload - upload eclipse p2 repository

mvn clean deploy -P upload-bintray
        <profile>
            <id>upload-bintray</id>
            <build>
                <plugins>

                    <!-- Disable default deployer. -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-deploy-plugin</artifactId>
                        <configuration>
                            <skip>true</skip>
                        </configuration>
                    </plugin>

                    <!-- Enable alternative deployer. -->
                    <plugin>
                        <groupId>com.carrotgarden.maven</groupId>
                        <artifactId>bintray-maven-plugin</artifactId>
                        <configuration>
                            <skip>false</skip>

                            <!-- Bintray oranization name. -->
                            <subject>random-eclipse</subject>

                            <!-- Bintray target repository. -->
                            <repository>eclipse</repository>

                            <!-- Nominal permanent bintray identity. -->
                            <!-- Actual remote content will mirror local dir. -->
                            <!-- These coordinates must be rotated to work around bintray policy. -->
                            <bintrayPackage>tracker</bintrayPackage>
                            <bintrayVersion>release</bintrayVersion>

                            <!-- Local folder content to sync to the remote repo. -->
                            <sourceFolder>${project.build.directory}/repository</sourceFolder>
                            <!-- Remote folder for local content upload, relative path. -->
                            <targetFolder>repository</targetFolder>

                            <!-- Bintray credentials in settings.xml. -->
                            <serverId>distro-bintary</serverId>

                        </configuration>
                        <executions>
                            <!-- Activate "bintary:upload" during "deploy" -->
                            <execution>
                                <goals>
                                    <goal>upload</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

Build yourself

cd /tmp
git clone git@github.com:random-maven/bintray-maven-plugin.git
cd bintray-maven-plugin
./mvnw.sh clean install -B -P skip-test
com.carrotgarden.maven

Версии библиотеки

Версия
1.5.20191113165555
1.4.20190427204453
1.3.20180612164212
1.2.20180117184439
1.1.20171202224405
1.0.20171128181137