maven-jira-plugin not found in repository

I have followed the instructions in this beginners tutorial:

https://developer.atlassian.com/display/JIRADEV/Writing+a+Plugin+Gadget+that+Shows+Days+Left+in+a+Version

When I do atlas-run, I get a build error:

POM 'com.atlassian.maven.plugins:maven-jira-plugin' not found in repository: Unable to download the artifact from any repository

Can anyone help, please?

4 answers

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
 

Project ID: com.atlassian.maven.plugins:maven-jira-plugin
 
Reason: POM 'com.atlassian.maven.plugins:maven-jira-plugin' not found in repository: Unable to download the artifact from any repository
 
com.atlassian.maven.plugins:maven-jira-plugin:pom:3.0.4
 
from the specified remote repositories:
 atlassian-plugin-sdk (file://C:\Users\evmss27\atlassian-plugin-sdk/repository)
,
 central (http://repo1.maven.org/maven2),
 atlassian-public (https://maven.atlassian.com/repository/public)
 
for project com.atlassian.maven.plugins:maven-jira-plugin

Hey Paul,

Are you behing a firewall? Most likely that you are unable to connect to the remote repository.

You can manually download the plugin from here although if this is the first time you are running the atlas commands, maven needs a lot of dependencies.

https://maven.atlassian.com/content/repositories/public/maven/maven-jira-plugin/

And here is how to install a jar

http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html

can you share your pom.xml?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,630 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you