Hi Jira Data Center Community,
I've been encountering an issue that cannot resolve some specific packages in jira core while executing the command atlas-mvn clean package.
I use Atlassian Plugin SDK 8.2.8 and Apache Maven 3.9.5
We can build it locally but on CI/CD pipeline, it failed.
It just happened in the afternoon of Feb 12 2025 UTC +7.
Do you have any ideas ?
Here is the detail ERROR from build log
Failed to collect dependencies at com.atlassian.jira:jira-core:jar:9.3.0 -> com.atlassian.crowd:embedded-crowd-core:jar:5.0.0-m02 -> com.atlassian.crowd:crowd-azure-ad:jar:5.0.0-m02 -> com.microsoft.azure:msal4j:jar:1.11.0 -> com.nimbusds:oauth2-oidc-sdk:jar:9.7 -> net.minidev:json-smart:jar:[1.3.3,2.4.7]: No versions available for net.minidev:json-smart:jar:[1.3.3,2.4.7].
Hi all
I believe the cause is Atlassian announced that from 1st Feb 2025 they will no longer be providing third party packages at packages.atlassian.com
Here are the reference docs:
https://developer.atlassian.com/server/framework/atlassian-sdk/maven-package-mirrors/
https://developer.atlassian.com/server/framework/atlassian-sdk/atlassian-maven-repositories-2818705/
So we need to upgrade the Atlassian Plugin SDK to newer version for jira data center.
Hope this can help you all.
Hi @Thong Nguyen Phuong Minh Welcome to the Atlassian Community
I googled you query and an Atlassian help page came up
It specifically refers to the problem being caused by a plugin that wants to use older parts of Jira. There are specific instructions on how to (test before) updates. Best to start there.
Kind regards
Dick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am having this issue just now. Till yestarday there were no problems. My error is
"Failed to collect dependencies at com.atlassian.jira:jira-core:jar:8.20.1 -> com.atlassian.crowd:embedded-crowd-core:jar:4.3.6-743967e012 -> com.atlassian.crowd:crowd-azure-ad:jar:4.3.6-743967e012 -> com.microsoft.azure:adal4j:jar:1.6.7 -> com.nimbusds:oauth2-oidc-sdk:j
ar:9.4 -> net.minidev:json-smart:jar:[1.3.2,2.4.2]: No versions available for net.minidev:json-smart:jar:[1.3.2,2.4.2] within specified range"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-core</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
</exclusion>
</exclusions>
</dependency>
UPDATE:
I was able to temporary bypass the compilation probems with this exclusion in my pom.xml, but I don't really now what could happen at runtime. But it's just compiling
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.