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

This widget could not be displayed.

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.

This widget could not be displayed.

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

This widget could not be displayed.

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 widget could not be displayed.

This are the three pieces I could figure out:

The values from password to username are correct?

This widget could not be displayed.

Yes, I double checked all values.

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

120 views 12 6
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