start clean
    ./jmake cleanall && ./jmake run

setup JIRA against embedded database

Install this license jira-func-tests/src/main/resources/license/developer-software-servicedesk.lic
user admin/admin

shut it down
    ./jmake run shutdown

find the h2 version from the pom.xml (atm it's 2.1.214)
    git grep 'h2.jdbc.version'

export to SQL e.g. (You may want to add `;MODE=LEGACY` to the end of url)
    java -cp ~/.m2/repository/com/h2database/h2/2.1.214/h2-2.1.214.jar org.h2.tools.Script -url "jdbc:h2:file:./jirahome/database/h2db" -user sa -script jira-components/jira-plugins/jira-plugin-test-resources/src/main/resources/jira-home/database/h2db.sql

in h2db.sql: replace your home e.g.
    /Users/acourtis/src/jira7-h2/jirahome
with
    .

in h2db.sql: change the HTTP port e.g.
    localhost:8090
with
    localhost:2990
