PowerAuth projects can be easily build using Maven with JDK 7 or 8.
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
- 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 (for example,
powerauth-server project uses
jaxb2-maven-plugin to generate SOAP/REST transport object from an XSD file, etc.).
Read more about how Maven dependencies are organized at Maven modules documentation.