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

setup JIRA against embedded database

use license, see https://extranet.atlassian.com/questions/2331673207/where-can-i-find-a-fast-expiring-jira-test-licenses:
     

user admin/admin

shut it down
    ./jmake run shutdown

export to SQL e.g.
    java -cp ~/.m2/repository/com/h2database/h2/1.3.176/h2-1.3.176.jar org.h2.tools.Script -url "jdbc:h2:file:./jirahome/database/h2db;MVCC=TRUE" -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:8990
with
    localhost:2990
