Getting access denied on

I am trying to create a new plugin using atlas-create-jira-plugin and am getting an error:

[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.10.4' from repository atlassian-public ( Error transferring file: Connection refused
Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.10.4' from repository central ( Error transferring file: Connection refused

CAn someone help with this?


3 answers

The link works for me. Try pasting "" into a web browser, or using a command line tool like "wget" or "curl" to download hte file. If it doesn't work, you may be behind a proxy, firewall, etc. that is preventing that.

Can you ping the host? "ping"

What does traceroute to the host show? "traceroute" (or tracert, depending on your platform)

It looks like I was successful in installing the jar file, but I am unable to ping m2proxy. Looks like I am only able to reach the outside world via HTTP. Is there a way to download plugins besides the command line use of maven?


I am trying to run atlas-create-jira-plugin and it cannot get the jar files. I can get them through http, so once I have them, where should they be installed?

I figured out I can use atlas-mvn to point to the downloaded maven-jira-plugin-3.10.4.jar file and run the command

atlas-mvn -e install:install-file -DgroupId=com.atlassian.maven.plugins -DartifactId=maven-jira-plugin -Dversion=3.10.4 -Dpackaging=maven-plugin -Dfile=~/Downloads/maven-jira-plugin-3.10.4.jar

However, I am now getting another error:

[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-install-plugin:pom:2.2' from repository central ( Error transferring file: Connection refused
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: org.apache.maven.plugins:maven-install-plugin

Reason: POM 'org.apache.maven.plugins:maven-install-plugin' not found in repository: Unable to download the artifact from any repository


from the specified remote repositories:
atlassian-plugin-sdk (file:///opt/atlassian-plugin-sdk-3.10.4/repository),
central (,
atlassian-public (

What file is it trying to retrieve now? I can only retrieve them using http.

I advise figuring out why your plugin SDK cannot fetch the plugins itself - something must be different. Are you on Linux? I've had problems where java was defaulting to using IPv6 and that was screwing things up. Failing that, are there some proxy settings your JDK isn't picking up? If you write a simple java program to download a URL, does it work?

Try this:

URL url;
InputStream is = null;
DataInputStream dis;
String line;

try {
    url = new URL("");
    is = url.openStream();  // throws an IOException
    dis = new DataInputStream(new BufferedInputStream(is));

    while ((line = dis.readLine()) != null) {
} catch (MalformedURLException mue) {
} catch (IOException ioe) {
} finally {
    try {
    } catch (IOException ioe) {
        // nothing to see here

(Code borrowed from: )

If that doesn't work, figure out why, if it does work, you have to keep digging. Downloading all your dependencies by hand is going to be a pain - there are hundreds of jars you need.

Knowing whether or not my code in the comment above works (using the same JDK as the plugin SDK is using) would help debug the problem a lot, btw.

I am behind a firewall and can retreive the jar files from http. I got past the first part by getting the maven-jira-plugin-3.10.4.jar using http, but the mvn command I am running (with the option -Dfile=~/Downloads/maven-jira-plugin-3.10.4.jar) is now complaining about a pom file. I was wondering if I could grab that file and continue on. I am doing all of this so I can get the Fastdev servlet for gadget development. If I can get that somehow and install it manually, I would be set. Thanks for all your help on this.


i geuss you have java 1.7 plz go back to jdk1.6.0_17 or any jdk 1.6 seris.

i think the problem is related with jdk only.make sure your changing all enviourment variables as jdk 1.6

restart cmd will be able to run commands properly without any disterbance.

no, I have the 1.6 version

$ java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)

Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

99 views 0 4
Read article

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