github-release-plugin

Maven plugin to create github releases and upload assets to the release

Лицензия

Лицензия

Категории

Категории

Github Инструменты разработки Контроль версий
Группа

Группа

de.jutzig
Идентификатор

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

github-release-plugin
Последняя версия

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

1.4.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

github-release-plugin
Maven plugin to create github releases and upload assets to the release
Ссылка на сайт

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

https://github.com/jutzig/github-release-plugin
Система контроля версий

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

https://github.com/jutzig/github-release-plugin

Скачать github-release-plugin

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

<plugin>
    <groupId>de.jutzig</groupId>
    <artifactId>github-release-plugin</artifactId>
    <version>1.4.0</version>
</plugin>

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.kohsuke : github-api jar 1.95

provided (3)

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

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

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

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

github-release-plugin

Maven Central

uses the github release api to upload files

To use the plugin you need to configure it in your pom.xml like so

<plugin>
    <groupId>de.jutzig</groupId>
    <artifactId>github-release-plugin</artifactId>
    <version>1.1.1</version>
    <configuration>
        <description>Description of your release</description>
        <releaseName>1.0 Final</releaseName>
        <tag>${project.version}</tag>
        
        <!-- If your project has additional artifacts, such as ones produced by
             the maven-assembly-plugin, you can define the following
             (requires version 1.1.1 of the plugin or higher): -->
        <fileSets>
            <fileSet>
                <directory>${project.build.directory}</directory>
                <includes>
                    <include>${project.artifactId}*.tar.gz</include>
                    <include>${project.artifactId}*.zip</include>
                </includes>
            </fileSet>
        </fileSets>
    </configuration>
</plugin>

Unless otherwise specified, the plugin will upload the main artifact of your project and take the github repository url from the <scm> section.

By default, the plugin will look for your github credentials in your maven settings.xml. Example

<servers>
    <server>
        <id>github</id>
        <username>GITHUB_USERNAME</username>
        <password>GITHUB_PASSWORD</password>
    </server>
</servers>

These credentials can be overridden by setting username and password as system properties.

Thanks to a contribution from rowanseymour you can also use your API token by adding it as <privateKey> to your server definition in the settings.xml.

Additional Parameters:

  • -Dgithub.draft=true creates the release in draft state
  • -Dgithub.commitish=release/1.0.0 allows to specify a commitsh

The plugin is available on Maven central

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

Версия
1.4.0
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0