I’m trying the HelloWorld plugin at https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/
The atlas-run command fails because maven cannot download the amps-dispatcher-maven-plugin JAR file.
I see it sitting in both the atlassian-public repository and the atlassian-plugin-sdk repository that got installed on my drive when I installed the plugin SDK.
I think the problem is that it is trying to load version [m[K8.0.2 instead of version 8.0.2. I can see a directory “[m[K8.0.2” getting created in my global repository .m2/repository/com/atlassian/maven/plugins/amps-dispatcher-maven-plugin.
I don’t know what is setting the weird/corrupted version for amps-dispatcher-maven-plugin. It is not directly in pom.xml
A square bracket that is URL encoded is %5B. Here is what the failed operation looks like:
Downloading from atlassian-public: https://maven.atlassian.com/repository/public/com/atlassian/maven/plugins/amps-dispatcher-maven-plugin/%1B%5Bm%1B%5BK8.0.2/amps-dispatcher-maven-plugin-%1B%5Bm%1B%5BK8.0.2.jar
Downloading from atlassian-plugin-sdk: file:///usr/local/Cellar/atlassian-plugin-sdk/8.0.16/libexec/repository/com/atlassian/maven/plugins/amps-dispatcher-maven-plugin/%1B%5Bm%1B%5BK8.0.2/amps-dispatcher-maven-plugin-%1B%5Bm%1B%5BK8.0.2.jar
Downloading from central: https://repo.maven.apache.org/maven2/com/atlassian/maven/plugins/amps-dispatcher-maven-plugin/%1B%5Bm%1B%5BK8.0.2/amps-dispatcher-maven-plugin-%1B%5Bm%1B%5BK8.0.2.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.164 s
[INFO] Finished at: 2019-11-03T13:37:37-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin com.atlassian.maven.plugins:amps-dispatcher-maven-plugin:8.0.2 or one of its dependencies could not be resolved: Could not find artifact com.atlassian.maven.plugins:amps-dispatcher-maven-plugin:jar:8.0.2 in atlassian-public (https://maven.atlassian.com/repository/public) -> [Help 1]
Any hints appreciated. Thanks!