This page last changed on Aug 21, 2008 by bmccoy.

This guide describes building a atlassian-bamboo-web-app.war distribution from the Bamboo source code. Plugin developers who wish to use source code as an aid in building plugins should also refer to the Setting up Bamboo Development Environment in IDEA documentation.

Building a war distribution

You can download Bamboo Source code from our website if you have a Commercial License. If you do not have access to the source code download site, log in to my.atlassian.com as your billing contact or contact our sales department.

Bamboo is built using Maven. When you build Bamboo, Maven will download dependencies and store them in a local repository. Some of these dependencies require manual installation for legal distribution reasons. Maven will tell you, as you build, which dependencies it requires you to download.

Coping with Sun JAVA libraries
Due to licensing restrictions, we are not allowed to re-distribute native SUN libraries through our maven2 public repositories.
If you are developing plugins for Bamboo or building Bamboo from source, you might need javax.mail and javax.transaction:jta:jar for Bamboo to build successfully. Please visit our confluence page on Working with Sun JAVA libraries for further details.
Maven has also provided documentation for both 3rd party jars in general and Sun jars in particular.
  1. Install Maven 2.0.7
  2. Install JDK 1.5 (Doesn't work with 1.4 ).
  3. Download the settings.xml attached to this page, to your <USER_HOME>/.m2/ directory
  4. In the atlassian-bamboo directory run mvn clean package -Dmaven.test.skip=true -Pall.

If the build is run successfully you should have a atlassian-bamboo-web-app-*.war file created in ../atlassian-bamboo/bamboo-web-app/target/. If the build was unsuccessful, please take a look at our Troubleshooting Page for some more common errors otherwise create a support issue at http://support.atlassian.com and attach the full output from the script to your support request.

Document generated by Confluence on Mar 09, 2009 17:07