UPM Maven Plugin

Provides Maven goals to interact with Atlassian UPM REST API.

Лицензия

Лицензия

Категории

Категории

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

Группа

com.link-time.maven.plugin.atlassian
Идентификатор

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

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

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

1.0.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

UPM Maven Plugin
Provides Maven goals to interact with Atlassian UPM REST API.
Ссылка на сайт

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

https://github.com/link-time/upm-maven-plugin
Система контроля версий

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

https://github.com/link-time/upm-maven-plugin

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

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

<plugin>
    <groupId>com.link-time.maven.plugin.atlassian</groupId>
    <artifactId>upm-maven-plugin</artifactId>
    <version>1.0.2</version>
</plugin>

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.httpcomponents : httpclient jar 4.5.7
org.apache.httpcomponents : httpmime jar 4.5.7
com.google.code.gson : gson jar 2.8.5

provided (4)

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

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

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

UPM Maven Plugin

Provides Maven goals to interact with Atlassian UPM REST API.

Configuration

<plugin>
    <groupId>com.link-time.maven.plugin.atlassian</groupId>
    <artifactId>upm-maven-plugin</artifactId>
    <version>1.0.2</version>
    <configuration>
        <!-- mandatory parameters -->
        <baseUrl>https://jira.example.com</baseUrl>
        <username>admin</username>
        <password>admin</password>
        <!-- optional parameters -->
        <timeoutMillis>10000</timeoutMillis>
    </configuration>
</plugin>

Upload plugin JAR file

mvn upm:uploadPluginFile -DpluginKey="my-plugin" -DpluginFile="my-plugin-1.0.0.jar"

Plugin file path is either absolute or relative to pom.xml directory.

Optional parameters

Parameter Default value Purpose
waitForSuccessMillis 60000 How long to wait for installation success after file upload

Note that we cannot detect whether the plugin failed to install for certain. We can detect that it did not enable within the given waitForSuccessMillis.

Trigger re-index

Atlassian Jira will complain if not re-indexed after changes to plugins. It is therefore a good idea to trigger a background re-index immediately after plugin installation.

Caveat: Reindex is pointless if triggered before plugin installation finishes. To avoid this, use waitForSuccessMillis when uploading the plugin file.

mvn upm:reindex

Optional parameters

Parameter Default value Purpose
waitForSuccessMillis 60000 How long to wait for reindex to finish; Build will still succeed if exceeded

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

Версия
1.0.2
1.0.1
1.0.0