Deployment setup for confluence from teamcity, getting unable to execute mojo error

Hi,

I am trying to set up deployment from Teamcity 8.0.5 for Confluence 5.3.4 using the command

atlas-install-plugin --server hostname --context-path / -p 80 --plugin-key "com.example.plugin.key" --username username --password password

The user has admin permissions for confluence. It gives me "Unable to execute mojo" error. The build for the plugin is successful and I get the jar. Attached are the screenshots showing the errors I get on confluence and teamcity.

This is the error I get on teamcity:

This is the error I get in confluence:

6 answers

Can your run atlas-install-plugin with a debug extension? It's the same as in plain maven. Then you should see all options the build is using and more detailed errors.

Yes, the second image shows the trace that i got by adding the -e flag to the command. Thanks.

I tried the --debug flag, it is giving me a very long list of dependencies and jars it gets. What exactly should I look for in it?

there sould be a list of all options you are using to connect to confluence

This are the three pieces I could figure out:

The values from password to username are correct?

Yes, I double checked all values.

Hey, This is really critical for me now. Could anyone suggest a workaround for this?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,894 views 27 12
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