I am getting this output from atlas-run.bat when I try to do the HelloWorld tutorial

Executing: "C:\JIRASDK\atlassian-plugin-sdk\apache-maven\bin\mvn.bat" com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:4.1.2:run 
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building helloworld
[INFO]    task-segment: [com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:4.1.2:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing amps-dispatcher:run
[INFO] artifact com.atlassian.maven.plugins:maven-amps-plugin: checking for updates from atlassian-public
[WARNING] repository metadata for: 'artifact com.atlassian.maven.plugins:maven-amps-plugin' could not be retrieved from repository: atlassian-public due to an error: Error transferring file: Connection timed out: connect
[INFO] Repository 'atlassian-public' will be blacklisted
[INFO] artifact com.atlassian.maven.plugins:maven-amps-plugin: checking for updates from central
[WARNING] repository metadata for: 'artifact com.atlassian.maven.plugins:maven-amps-plugin' could not be retrieved from repository: central due to an error: Error transferring file: Connection timed out: connect
[INFO] Repository 'central' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'com.atlassian.maven.plugins:maven-amps-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43 seconds
[INFO] Finished at: Wed Jan 23 13:39:41 EST 2013
[INFO] Final Memory: 8M/20M
[INFO] ------------------------------------------------------------------------

Basically I am using a computer with no outside internet connection so I can'tconnect to the online repository.
i managed to download the varius files I was missing till atlas-create-jira5-plugin.bat would finish competely.

Now I am getting this error.

7 answers

1 accepted

Accepted Answer
0 votes

There is none, the SDk isn't bundled with everything you need to write a program, even if you have a local instalation of JIRA.

I have resolved this issue following these steps:

[cygwin]

1.- Put proxy info in the maven's settings.xml

2.- Add proxy info in the atlas-run.bat command:

set MVN_PARAMS=%MVN_PARAMS% -Dhttps.proxyHost=XXX.XXX.XXX.XXX -Dhttps.proxyPort=8080

3.- Run atlas-run.bat command like this:

../../atlassian-plugin-sdk/bin/./atlas-run.bat -Dhttps.proxyHost=XXX.XXX.XXX.XXX -Dhttps.proxyPort=8080

It works.

Duffy.

Bump, anyone have any ideas?

Is there any way to just make the jar file myself with javac? I am just not sure where to point the manifest to.

Is there any way to just make the jar file myself with javac? I am just not sure where to point the manifest to.

It is one of these

  1. You do not have internet connection on the machine
  2. You are behind a proxy and maven settings.xml is not adjusted to use the proxy (http://bit.ly/15mKscf)

Its actually number 2, but I am not aloud to use a proxy. So far I downloaded enough to make the plugin creater to work, and the comiler. Is there a setting I can use to output a JAR file?

Okay I just clicked your link, I have been looking things up on google to get around this, and read most of the top links already. If you read the problem you would have saw that I can't use a proxy.

Hi Jason,

I am also facing exactly same issue, was trying to use JIRA's instructions for plug-in development but in linux enviornment, when atlas-run command is executed I get same error, I am behind the proxy and not allowed to use it. Any Idea about it? Did you solve your issue. So far I manually downloded required files and put in to maven's local repository. But stuck at this point.

Please let me know if you have found a solution.

Thanks,

Kalyani

Proxy is the issue, I changed the settings.xml with proxy settings, I can compile my plugin.

Thanks,

Kalyani

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

90 views 3 6
View post

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