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?
Community moderators have prevented the ability to post new answers.
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>
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just checked and 6.4.1 works fine for me, update the answer with my pom properties.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
uups, I think amps.version is the same as plugin-sdk version. I try to update the plugin sdk..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Currently it's 5.0.13. When I run any atlas-* command and there is a new sdk I am proposed to update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok, after updating the plugin sdk with atlas-update it works fine. thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.