I am following the instruction online: https://developer.atlassian.com/display/DOCS/Create+a+plugin+skeleton
I installed the SDK on Mac os 10.9 with the installer.
Johns-MacBook-Pro-2:repository xxx$ atlas-version
ATLAS Version: 5.0.3
ATLAS Home: /usr/share/atlassian-plugin-sdk-5.0.3
ATLAS Scripts: /usr/share/atlassian-plugin-sdk-5.0.3/bin
ATLAS Maven Home: /usr/share/atlassian-plugin-sdk-5.0.3/apache-maven-3.2.1
--------
Executing: /usr/share/atlassian-plugin-sdk-5.0.3/apache-maven-3.2.1/bin/mvn --version -gs /usr/share/atlassian-plugin-sdk-5.0.3/apache-maven-3.2.1/conf/settings.xml
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T12:37:52-05:00)
Maven home: /usr/share/atlassian-plugin-sdk-5.0.3/apache-maven-3.2.1
Java version: 1.6.0_65, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.9.4", arch: "x86_64", family: "mac"
When I tried to run the RefApp, I got the error:
Johns-MacBook-Pro-2:adminUI xxx$ sudo atlas-run
Password:
Executing: /usr/share/atlassian-plugin-sdk-5.0.3/apache-maven-3.2.1/bin/mvn com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:5.0.3:run -gs /usr/share/atlassian-plugin-sdk-5.0.3/apache-maven-3.2.1/conf/settings.xml
[INFO] Scanning for projects...
Downloading: file:///usr/share/atlassian-plugin-sdk-5.0.3/repository/com/atlassian/refapp/atlassian-platform/2.22.1/atlassian-platform-2.22.1.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.atlassian.plugins.tutorial.refapp:adminUI:1.0-SNAPSHOT (/Users/junwhuan/Desktop/atlastutorial/adminUI/pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Failure to find com.atlassian.refapp:atlassian-platform:pom:2.22.1 in https://maven.atlassian.com/repository/publicwas cached in the local repository, resolution will not be reattempted until the update interval of atlassian-public has elapsed or updates are forced @ line 70, column 25 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Any idea?
Community moderators have prevented the ability to post new answers.
can I force it to use an older pom ?
Edit --
I fixed the issue by going to the pom file and changing the refapp.version from 2.22.1 to 2.22.0
It can be found in the <properties> section at the bottom of the file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can view the available versions here: https://maven.atlassian.com/#nexus-search;quick~atlassian-platform
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also got this error. It seems that they dont have version 2.22.1 of atlassian-platform. Only version 2.22.0
2.22.0/Mon Jul 14 17:15:57 UTC 2014
2.9.0/Tue Jul 15 09:16:58 UTC 2014
2.9.1/Fri Aug 01 11:20:40 UTC 2014
I hope they can upload it to fix this problem.
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.