Building ESAPI - ESAPI/esapi-java-legacy GitHub Wiki
ESAPI is easy to build yourself using Git and Maven. Ensure that you are using UTF-8 for all source code.
$ git clone [email protected]:ESAPI/esapi-java-legacy.git # This will clone the 'develop' branch.
$ cd esapi-java-legacy
$ mvn -Dmaven.test.skip=true package # Build ESAPI. Omit the '-D' argument if you wish to run tests.
Maven will generate a "target" directory that contains the ESAPI jar file. This will allow you to use it locally from other Maven projects.
To generate project reports use:
$ mvn site
Then, point your browser to the file "target/site/index.html". Note that this will also include the ESAPI Javadoc, under "target/site/apidocs".
If your intent is to contribute to ESAPI, please be sure to read CONTRIBUTING-TO-ESAPI.txt.