Cannot resolve some packages in jira-core version 9.x.x

Thong Nguyen Phuong Minh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2025

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].

3 answers

1 accepted

1 vote
Answer accepted
Thong Nguyen Phuong Minh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2025

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.

0 votes
Dick
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2025

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

0 votes
Francesco R
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2025

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"


Francesco R
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2025
<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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events