Atlassian SDK can't download JIRA 6.4.1

Arthur
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2015

Hi,

when I specify the JIRA version 6.4.1 in a plugin pom.xml like so:

<properties>
        <jira.version>6.4.1</jira.version><!-- 6.4 works -->
        <amps.version>4.2.20</amps.version>
        <plugin.testrunner.version>1.1</plugin.testrunner.version>
        <upm.license.compatibility.version>2.4.1</upm.license.compatibility.version>
        <sal.api.version>2.4.0</sal.api.version>
        <ao.version>0.21.2</ao.version>
    </properties>

and try to package the project, the following error occurs:

 

[INFO] Unable to find resource 'com.atlassian.platform:platform:pom:2.22.5' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: com.atlassian.platform:platform
Reason: POM 'com.atlassian.platform:platform' not found in repository: Unable to download the artifact from any repository
com.atlassian.platform:platform:pom:2.22.5
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project com.atlassian.platform:platform

 

version 6.4 does work but I need to test with version 6.4.1.

any ideas? 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2015

It's complaining about http://repo1.maven.org/maven2 repository and is expected to look into altassian's repo: https://maven.atlassian.com/content/groups/public

How do you run packaging? Please make sure that you run atlassian's command versus direct maven commands:

atlas-clean
atlas-package
atlas-clean should be run when you switch between JIRA versions.
 === update:

packaging 6.4.1 works fine for me with following properties:

<properties>
    <jira.version>6.4.1</jira.version>
    <amps.version>5.0.13</amps.version>
    <ao.version>0.29.3</ao.version>
    <plugin.testrunner.version>1.2.0</plugin.testrunner.version>
    <useFastdevCli>false</useFastdevCli>
  </properties>
Arthur
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2015

yes, I always use the atlas-xy commands. I also have run atlas-clean before atlas-package. When I set the version to 6.4, everything works fine... hm should I change the repo manually to https://maven.atlassian.com/content/groups/public ?

Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2015

Just checked and 6.4.1 works fine for me, update the answer with my pom properties.

Arthur
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2015

hm, I copied your settings and tried but it failed with the same build error. What version of atlassian-plugin-sdk do you use? I have atlassian-plugin-sdk-4.2.20. Thanks again!

Arthur
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2015

uups, I think amps.version is the same as plugin-sdk version. I try to update the plugin sdk..

Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2015

Currently it's 5.0.13. When I run any atlas-* command and there is a new sdk I am proposed to update.

Arthur
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2015

ok, after updating the plugin sdk with atlas-update it works fine. thanks!

Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2015

Welcome :-)

TAGS
AUG Leaders

Atlassian Community Events