This guide describes building a 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.
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
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.
Install Maven 2.0.7
Install JDK 1.5 (Doesn't work with 1.4 ).
Download the settings.xml BAMBOO:attached to this page, to your <USER_HOME>/.m2/ directory
Install all of the following restricted third party () libraries to your local Maven repository (), ensuring that you download the version specified below. All of these libraries are required to successfully build Bamboo from source. If any of these libraries are missing, the build process will fail.
Maven groupId and artifactId
|ojdbc6||com.oracle:ojdbc6||126.96.36.199.0||Download 'ojdbc6.jar' under 'Oracle Database 11g Release 2 (188.8.131.52.0) JDBC Drivers'|
To install these restricted third party libraries:
Download each one (from its link above) into a directory on your file system, for example, in your home directory area.
1 2 3 4 5 6 7 8
- **On Windows:** Use Windows Explorer to enter the `downloads` directory and rename the `jta-1_0_1B-classes.zip` file to `jta-1_0_1B-classes.jar` - **On Mac/Linux:** ``` xml cd $HOME/Downloads mv jta-1_0_1B.zip jta-1_0_1B.jar ```
Once you have downloaded, expanded and renamed each of these libraries, install them into your local Maven repository. For example, in your directory, enter the following commands:
1 2 3
mvn install:install-file -DgroupId=jta -DartifactId=jta -Dversion=1.0.1 -Dpackaging=jar -Dfile=jta-1_0_1B-classes.jar mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=184.108.40.206.0 -Dpackaging=jar -Dfile=ojdbc6.jar ```
In the atlassian-bamboo directory run mvn clean package -Dmaven.test.skip=true -Pall.
If the build is run successfully you should have a file created in . If the build was unsuccessful, please take a look at our Troubleshooting Page for some more common errors otherwise create a support issue at support.atlassian.com and attach the full output from the script to your support request.