Installation using Maven 2

Installation using Build Kit is available since Kaamelot 3.10.1.21.

The concept is described in Kaamelot JIRA Build Kit page.

You will have to :

  • solve all below requirements,
  • prepare your own build Kit (pom.xml),
  • and finally, build your distribution.

Requirements

To use this procedure, you will need to have :
  • Maven 2.0.7 or more installed
  • Some Maven Repositories
    • At least a Local one
    • In case of Remote Repository, then you have to declare it in Maven Settings (UserHome/.m2/settings.xml)
      • yourRepositoryId : an Identification key
      • yourRepositoryURL : an valid URL using one of supported protocol (FTP, SCP, ... )
  • A downloaded release of JIRA from http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-X.Y.Z.zip into your downloadDir,
    • installed on Maven Local Repository.
      mvn install:install-file 
                  -DgroupId=com.atlassian 
                  -DartifactId=atlassian-jira-enterprise 
                  -Dversion=3.10.2 
                  -Dpackaging=jar 
                  -Dfile=G:\Workspaces\_\atlassian-jira-enterprise-3.10.2.zip
    • and/or deployed on Maven Remote Repository
      mvn deploy:deploy-file 
                  -DgroupId=com.atlassian 
                  -DartifactId=atlassian-jira-enterprise 
                  -Dversion=3.11
                  -Dpackaging=jar 
                  -Dfile=c:/Temp/atlassian-jira-enterprise-3.11.zip 
                  -Durl=ftp://kaamelot.fr.free.fr/repository/m2 
                  -DrepositoryId=ftp-kaamelot.fr.free.fr  
                  -DgeneratePom=true

Prepare your Build Kit

Follow the procedure described in Kaamelot JIRA Build Kit.

Or, donwload one of the proposed Kaamelot Build Kits ...
JIRAKaamelot Build Kits
3.10.2 Build Kit 3.10.1.0-SNAPSHOT
3.10.2 Build Kit 3.10.1.0

Build your distribution

Into a sub-folder named properties where is located the your Build Kit, you may define different Build Type. Provided Kaamelot Build Kit have a predefined build Type based on Tomcat / MySQL. From the folder where is located the your Build Kit (your own or the downloaded one), proceed to its packaging, passing the Build Type to use.
mvn package
mvn package -DbuildType=tomcat.mysql
The built artifact is the final EAR to deploy on you server.