I was trying to build the server (on a Windows 7 Professional SP1) using mvn package -am -pl server -P h2 following the instructions at https://square.github.io/keywhiz/#setup. It fails with the following message:
[INFO] Keywhiz (Parent) .................................. SUCCESS [ 1.822 s]
[INFO] Keywhiz Testing ................................... SUCCESS [ 1.606 s]
[INFO] Keywhiz API ....................................... SUCCESS [ 3.947 s]
[INFO] Keywhiz Client .................................... SUCCESS [ 0.161 s]
[INFO] Keywhiz HKDF ...................................... SUCCESS [ 0.917 s]
[INFO] Keywhiz Model ..................................... FAILURE [ 0.342 s]
[INFO] Keywhiz Server .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.039 s
[INFO] Finished at: 2016-03-08T10:41:56+05:30
[INFO] Final Memory: 20M/118M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.flywaydb:flyway-maven-plugin:3.2:migrate (def
ault) on project keywhiz-model: org.flywaydb.core.api.FlywayException: Unable to
obtain Jdbc connection from DataSource (jdbc:h2:/tmp/h2_data/keywhizdb_test) fo
r user 'root': A file path that is implicitly relative to the current working di
rectory is not allowed in the database URL "jdbc:h2:/tmp/h2_data/keywhizdb_test"
. Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-1
87] -> [Help 1]
I was trying to build the server (on a Windows 7 Professional SP1) using
mvn package -am -pl server -P h2
following the instructions at https://square.github.io/keywhiz/#setup. It fails with the following message: