Building and Install JIRA 5.0 with Maven Part 1

Part1. Build Process

After another installation of JIRA always I had issues to build JIRA, so, I’ll make a guide to how to resolve this commons issues.

Download the Source Code

Log in in your Atlassian account and download the last source code version of JIRA 5.0, in my case, JIRA 5.0-rc3 Source, after download the file uncompress in a place in your computer.

Environment of this Review

  • Maven 2
  • Mac OS X 10.6.x
  • 2.8 Core Duo 2
  • 8G DDR3 Memory
  • JKD 6 Update 23

Building Process

JIRA project provided a bash script to build automatically the project, but sometimes (the most of times) this build doesn’t work, surprise !! Welcome to Atlassian World (no offense :) ). Try to build with this script, if you get your build … please email me and tell me your secret.

But, if you are a mortal developer like me, you will have a lot of build error in the process, the reason, a lot of missing’s JAR files

Try downloading the file manually from the project website.

Then, install it using the command:

Alternatively, if you host your own repository you can deploy the file there:

Error of Compilation

I don’t know if is my fault, but in the compile process I have a lot of errors in the class, RestJUnitResultFormatter.java. This java file is in this path.

To resolve this issue, I added new dependency on the pom.xml in the same module.

Finishing the Build Process

If you are a developer with luck, after half and our you get this succes message and your WAR file.

Your can locate your WAR file in this path