With the new SDK Version 9.0.2, I get the following Error when trying to install the dependencies:
[ERROR] Failed to read artifact descriptor for jndi:jndi:jar:1.2.1
[ERROR] Caused by: The following artifacts could not be resolved: jndi:jndi:pom:1.2.1 (present, but unavailable): Could not transfer artifact jndi:jndi:pom:1.2.1 from/to tmatesoft (https://maven.tmatesoft.com/content/repositories/releases/): status code: 403, reason phrase: Forbidden (403)
[ERROR] Failed to read artifact descriptor for jta:jta:jar:1.0.1
[ERROR] Caused by: The following artifacts could not be resolved: jta:jta:pom:1.0.1 (present, but unavailable): Could not transfer artifact jta:jta:pom:1.0.1 from/to tmatesoft (https://maven.tmatesoft.com/content/repositories/releases/): status code: 403, reason phrase: Forbidden (403)
As a result I’m currently not able to work on the DC Environment. It may be related to this issue: https://jira.atlassian.com/browse/JRASERVER-43031
The workaround mentioned there seems not to work for me and I would need to downgrade the SDK Version
I had the same issue in my pipelines and I have a dirty trick that worked for me, it’s not very elegant but maybe it’s good enough.
If you open the Atlassian SDK tar.gz, you’ll find a repository directory. If you copy its content in your ~/.m2/repository, or at least the jndi and jta directories, it should work.
The approach to copy jndi, did not work as I got this error message
[INFO] Artifact jndi:jndi:pom:1.2.1 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from
Maven seems to detect that while jndi is in my local repository, it’s no longer possible to download it and as a result abort with the initial error message. This can be reproduces by creating a new plugin using “atlas-create-jira-plugin” and adding jira-core as a dependency.
As there is still no fix from atlassian, I created a support ticket and modified my maven settings.xml as a workaround.
Replace the <profile> Part from your 9.0.2 maven settings.xml with the downloadable 8.2.10 version
So you should open the Maven config file atlassian-plugin-sdk-9.0.2/apache-maven-3.9.8/conf/settings.xml and comment out the private Tmatesoft repository:
I don’t know what would be affected by commenting this out. But I can tell for sure that now the building process works without errors for my plugins.