Error while trying to setup source code of confluence

Hi, we downloaded confluence source code 3.5.6 version and tried to set it up as an eclipse project (in a view for future plugin development). Tried to follow the document located at

when I ran mvn clean install -Dmaven.test.skip I end uo with an error saying :

[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-amps-plugin:3.3
-m5:copy-bundled-dependencies (default-copy-bundled-dependencies) on project atl
assian-cookie-tools: Unable to execute mojo: UnsupportedOperationException -> [H
elp 1]

Am I following the right document to set up the source code? I am using tomcat as app server. So I didnt downloaded resin or orion.

Help on this is appreciated. Thanks in advance.

1 answer

1 accepted

0 vote
Colin Goudie Community Champion Oct 16, 2011

Sounds like you are trying to build a fairly recent version of Confluence using much older documentation.

Maybe check out this page -

Have you got the Atlassian SDK installed? My first guess is that you are compiling with maven and don't have the neccessary repository dependencies configured in your environment.

Can you give us an idea of your experience with maven?

[INFO] [dependency-tracker:validate {execution: default}]
[ERROR] The following dependencies are not present in the report:
[ERROR] com.atlassian.cache:atlassian-cache-api:0.1:jar:-:compile||{sha1
[ERROR] com.atlassian.cache:atlassian-cache-memory:0.1:jar:-:test||{sha1
[ERROR] com.atlassian.ldap:atlassian-ldap-test-server:5:jar:-:test||{sha
[ERROR] javax.transaction:jta:1.0.1B:jar:-:runtime||{sha1}3dd157a4f4fe11
[ERROR] The following dependencies are present in the report but no longer calcu
[ERROR] com.atlassian.cache:atlassian-cache-api:0.1:jar:-:compile||{sha1
[ERROR] com.atlassian.cache:atlassian-cache-memory:0.1:jar:-:test||{sha1
[ERROR] com.atlassian.ldap:atlassian-ldap-test-server:5:jar:-:test||{sha
[ERROR] javax.transaction:jta:1.0.1B:jar:-:runtime||{sha1}9efebe24546ee6
[INFO] ------------------------------------------------------------------------

Hi Colin,

Sorry for my late update.(I would say am beginner in setting up maven to my working environment)

Thanks for new document link. Along with the document steps, I have made maven home(M2_HOME) pointing to maven folder thats in source code folder. I have Atlassian plugin sdk 3.6 on my machine installed (adding its bin to path variable).

Running build script at my source folder worked in Success. (after manually installing few plugins to my mvn).

I was happy to see build success. So jumped to create eclipse project using mvn eclipse:eclipse. it throws error. Tried both ways: 1. modifying files replacing exec mvn install command with exec mvn eclipse:eclipse 2. And running mvn eclipse:eclipse

Error at building atlassian user: -> (sorry for pasting error as is here, hope this helps)

tried to refresh .m2 repository by deleting old and running build again.....

build worked in success. But trying to run mvn eclipse:eclipse by modifying build.bat and/or

i am getting same error-the one pasted above while building atlassian user.

Help on this is appreciated...

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,925 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