无法检测到要分派的AMPS插件

问题描述 投票:3回答:1

我目前正在创建一个JIRA插件。将AMPS从6.3.15升级到8.0.0并运行atlas-debug / atlas-run后,我遇到了一个maven错误:

[错误]无法在项目soc-sync上执行目标com.atlassian.maven.plugins:amps-dispatcher-maven-plugin:8.0.0:debug(default-cli):无法检测到要分派的AMPS插件 - > [帮助1]

我需要做些什么才能再次运行我的JIRA插件?

maven jira jira-plugin atlassian-plugin-sdk
1个回答
7
投票

随着AMPS 8.0.0的推出,atlassian工具的maven插件被重命名为:https://ecosystem.atlassian.net/browse/ATLASSDK-147

以前maven-jira-plugin现在是jira-maven-plugin

<build>
    <plugins>
        <plugin>
            <groupId>com.atlassian.maven.plugins</groupId>
            <artifactId>jira-maven-plugin</artifactId> <!-- change here, was maven-jira-plugin -->
            <version>8.0.0</version> <!-- upgrade this or the amps.version property to 8.0.0 -->
            <extensions>true</extensions>
            <configuration>
                ...
            </configuration>
        </plugin>
        ...
    <plugins>
    ...
<build>

一般规则似乎是:什么是maven-XYZ-plugin现在是XYZ-maven-plugin

© www.soinside.com 2019 - 2024. All rights reserved.