PowerAuth projects can be easily build using Maven with JDK 17 or higher (Java LTS release recommended).
To build PowerAuth server, use the following shell commands:
$ git clone https://github.com/wultra/powerauth-server.git
$ cd powerauth-server
$ mvn compile
To create a deployable .war file, use the following shell command:
$ mvn package
You can build all PowerAuth Java projects using similar steps:
- PowerAuth Server
- PowerAuth Admin
- PowerAuth Push Server
- Enrollment Server
- PowerAuth CMD Tool
- PowerAuth Crypto
- PowerAuth Web Flow
- SDK for RESTful APIs
Note: Make sure you are creating a new Maven project in your IDE, not just a freeform project from existing sources. Maven is required for dependency management and for proper project building.
Read more about how Maven dependencies are organized at Maven modules documentation.