I am trying to create an integration test that requires a PostgreSQL server to start. Is it possible to start the server in the maven assembly and stop it when the tests are completed (in a separate process, I think)? Assuming the PostgreSQL server is not installed on the computer.
I started writing a plugin for this purpose:
https://github.com/adrianboimvaser/postgresql-maven-plugin
This is at a very early stage and not enough documentation, but basically it works. I have already released version 0.1 in Maven Central.
PostgreSQL maven. .
!
maven , , .
postgresql zip.
, maven ant . ant . :
.
: , (, , TCP/IP, , , )
...
. , .
, , db, / .
, / db.
, . , CI, , Cruise Control Bamboo.
, CI-db, CI, bash/python/ , , , . - Liquibase, CI db , .
, :
postgresql . , , . :