Atlassian SDK 9.0.2 Error when using atlas-mvn install

If you copy its content in your ~/.m2/repository , or at least the jndi and jta directories, it should work.

This does not work.

The root cause is that https://maven.tmatesoft.com/content/repositories/releases/ is not publicly available any longer. It requires login and password to be provided.

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:

<settings...>
  ...
  <profiles>
    ...
    <profile>
      <id>defaultProfile</id>
      ...
      <repositories>
      ...
      <!-- See details at: https://community.developer.atlassian.com/t/atlassian-sdk-9-0-2-error-when-using-atlas-mvn-install/82804
      <repository>
        <id>tmatesoft</id>
        <name>Tmatesoft</name>
        <url>https://maven.tmatesoft.com/content/repositories/releases/</url>
      </repository>
      -->
      ...
      </repositories>
      ...
     </profile>
    ...
  </profiles>
  ...
</settings>

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.

5 Likes