It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Sneha Sheth Feb 06, 2014

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

0 votes

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.

try --debug or -X

0 votes
Sneha Sheth Feb 06, 2014

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

0 votes
Sneha Sheth Feb 06, 2014

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

0 votes
Sneha Sheth Feb 06, 2014

This are the three pieces I could figure out:

The values from password to username are correct?

0 votes
Sneha Sheth Feb 09, 2014

Yes, I double checked all values.

0 votes
Sneha Sheth Feb 09, 2014

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

909 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you