Add JPA as a compile time dependency to prevent linting errors in IntelliJ
Use default dir when dir.var system property is not set