Fork me on GitHub

Building pg-embedded

Code compilation and testing

pg-embedded uses Apache Maven as its build system.

The code uses the maven-wrapper for local builds.

% ./mvnw clean install

At least Java 17 is required for building. While the code should build with any Java version post 17, only LTS versions (currently 17 and 21) are supported.

The resulting library runs on Java 11 and beyond.

Documentation site

The site is generated using the maven site plugin:

% ./mvnw clean install site

Note that omitting the install step may result in Javadoc links not working correctly (see MJAVADOC-701 for an explanation of the problems).