Hi,
I followed Part 1 and Part 2 to create my custom plugin for scriptrunner scripts and it was working great until migrating to Jira 8.2.3. But after migration, I have updated my AMPS version to 8.0.0.
The maven-jira-plugin has been changed to jira-maven-plugin in AMPS from v8.0.0 and later.
Now when I build my custom Scriptrunner plugin, the parent pom is referring to the earlier artifacts of jira-maven-plugin and so the build is failing with the below error (maven-jira-plugin:8.0.2 or one of its dependencies could not be resolved)
[INFO] Scanning for projects...
[WARNING] The POM for com.atlassian.maven.plugins:maven-jira-plugin:jar:8.0.2
is missing, no dependency information available
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension:
Plugin com.atlassian.maven.plugins:maven-jira-plugin:8.0.2
or one of its dependencies could not be resolved:
Failure to find com.atlassian.maven.plugins:maven-jira-plugin:jar:8.0.2
in https://maven.atlassian.com/repository/public was cached in the
local repository, resolution will not be reattempted until the update
The parent pom which I am using is
<parent>
<groupId>com.adaptavist.pom</groupId>
<artifactId>scriptrunner-jira-standard</artifactId>
<version>13</version>
<relativePath />
</parent>
The jira-maven-plugin which I am using is
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>jira-maven-plugin</artifactId>
<version>8.0.0</version>
<extensions>true</extensions>
<configuration>
<jvmArgs>-Xms512m -Xmx1g -XX:MaxPermSize=1g -XX:-UseGCOverheadLimit
-server</jvmArgs>
<productVersion>${jira.version}</productVersion>
<productDataVersion>${jira.version}</productDataVersion>
</configuration>
@Alexey Matveev
Could you please throw some light on this and suggest a solution? Thanks in advance!
Thanks!
Kumar