Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot resolve ANY jira artifact from Maven Central

joe venuto June 16, 2023

Hello Community

I have a java based micronaut microservice application and am trying to include the following  dependencies in my build.gradle

implementation 'com.atlassian.jira:jira-rest-java-client-api:5.2.4'

implementation 'com.atlassian.jira:jira-rest-java-client-core:5.2.4'

when i run ./gradlew assemble its complaining about this

Could not determine the dependencies of task ':shadowJar'.
> Could not resolve all dependencies for configuration ':runtimeClasspath'.
> Could not find com.atlassian.jira:jira-rest-java-client-core:5.2.4.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/atlassian/jira/jira-rest-java-client-core/5.2.5/jira-rest-java-client-core-5.2.5.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :

What am i missing? I am not having this issue importing other dependencies. 

In fact nothing from here is resolvable

https://mvnrepository.com/artifact/com.atlassian.jira

This is the version of gradlew


------------------------------------------------------------
Gradle 7.5.1
------------------------------------------------------------

 

Thanks! 

1 answer

1 accepted

1 vote
Answer accepted
joe venuto June 16, 2023

I need to add the custom repository to the repositories section

repositories {
mavenCentral()
maven{
url "https://packages.atlassian.com/repository/public"
}
}

Suggest an answer

Log in or Sign up to answer