Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

atlas-install-plugin - Unable to execute mojo

tkhduracell
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.
January 9, 2012
I have a problem using atlas-install-plugin when deploying my plugin.
Console log
C:\Users\flt\workspace\project>atlas-compile
Executing: "C:\Atlassian\atlassian-plugin-sdk-3.7.2\apache-maven\bin\mvn.bat" co
mpile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building octopus
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [bamboo:copy-bundled-dependencies]
[INFO] [dependency:copy-dependencies]
[INFO] [bamboo:compress-resources]
[INFO] [yuicompressor:compress]
[INFO] nb warnings: 0, nb errors: 0
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO] [bamboo:filter-plugin-descriptor]
[INFO] [resources:copy-resources {execution: virtual-execution}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Tue Jan 10 14:38:47 CET 2012
[INFO] Final Memory: 70M/319M
[INFO] ------------------------------------------------------------------------
C:\Users\flt\workspace\project>

C:\Users\flt\workspace\project>atlas-install-plugin --server myserverip --username
 myuser --password mypass 
Executing: "C:\Atlassian\atlassian-plugin-sdk-3.7.2\apache-maven\bin\mvn.bat" co
m.atlassian.maven.plugins:maven-amps-dispatcher-plugin:3.7.2:install  -Dserver=myserverip -Dusername=myuser -Dpassword=mypass
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building octopus
[INFO]    task-segment: [com.atlassian.maven.plugins:maven-amps-dispatcher-plugi
n:3.7.2:install]
[INFO] ------------------------------------------------------------------------
[INFO] [amps-dispatcher:install]
[INFO] [bamboo:install {execution: virtual-execution}]
[INFO] [atlassian-pdk:install]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to execute mojo

Connection refused: connect
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Tue Jan 10 14:42:27 CET 2012
[INFO] Final Memory: 45M/329M
[INFO] ------------------------------------------------------------------------
C:\Users\flt\workspace\project>

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Colin Goudie
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.
January 10, 2012

You are getting Connection refused error so some of your commands are wrong somewhere.

See the page on the atlas-install-plugin command. Possibly you need to specify a different port or context to connect to your server

https://developer.atlassian.com/display/DOCS/atlas-install-plugin

Andreas John March 27, 2014

Thanks you. In my case it was the port and context.

0 votes
Qi Yanwen August 13, 2012

Hello,

Have u solved this problem?

i also have this problem when i run "atlas-run-standalone --product jira"

TAGS
AUG Leaders

Atlassian Community Events