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

Jason Galm January 22, 2013
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

0 votes
Answer accepted
Jason Galm February 21, 2013

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.

1 vote
Paulo O October 23, 2013

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.

0 votes
Kalyani Khandelwal August 26, 2013

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

Thanks,

Kalyani

0 votes
Kalyani Khandelwal August 13, 2013

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

0 votes
Renjith Pillai
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 16, 2013

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)
Jason Galm February 17, 2013

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?

Jason Galm February 17, 2013

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.

0 votes
Jason Galm February 12, 2013

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

0 votes
Jason Galm February 7, 2013

Bump, anyone have any ideas?

Jason Galm February 12, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events