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:
    AAABgw0ODAoPeNp1kkFPwkAQhe/9FZt4LmmrYiTpAegiIAKBgoZ42W4HWF12m9kW5d9bC41tg9e3b958M7M3AxRknEniuMT1Oo7X8dqELkPiOa5rRewQad2aCA7KAI1FKrTy6TSki/litKTWVpg9nKB0hKcE/EGu0RO8d0gAR5A6AbS41EfAmq1fSDXXNDtEgLPtygAa/97iWm1bjKfiCH6KGVjzDPmeGQhYCr7nuq7ttG3nwarkTtkB/ICu6WQ2p4vyhX4nAk9F2fx2WM5VjV4C5jijwO89PYb222p9Zz9vNkO757iv1odAVoMfjxZdQlUKmKAwjVl/qWuT5oLMQPErvnLkvsxMnjbVMRjfaSy+SOkV0n9Nq4RX7sQx4yKS9UP1L2It6IWJvINiOW1jaRz1V9wIyJVa9eU1X+NKfSr9pawZ7pgShhVE3VQyYwRTf0DVG/QRCl/zvOfOVWf576paAIajSIpGIZiUyDMM2Wokicx2QpG4JDXnjVXrL3+0Kv0AGd4bNDAsAhRW+KkhTg9ACxaro+gIxxowDSCtIgIUIWzKR3uE3+3rtlKrTA0zc/5vUtw=X02iq

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
