You can download and install the Java API wrapper from Maven Central or obtain it as a container image from Docker Hub.
Before you can use the Java API wrapper, you must meet the software requirements listed on the Veracode-Authored Integrations page.
The Veracode Java API wrapper is available from Maven Central for you to add as a dependency in the build scripts of your projects. For example, you can add it to a Gradle or Maven project. You can also reference the wrapper from your Eclipse project.
You can also obtain the Java API wrapper as a container image from Docker Hub. The container image enables you to use the Veracode APIs for performing application security analysis within your build pipelines.
To install and use the Java API wrapper from Maven Central:
Go to https://search.maven.org/search?q=a:vosp-api-wrappers-java
The most recent build of the wrapper displays in the Search Results table.
Click dist.zip in the Download column to download
If you want to download an older version of the wrapper, click all in the Latest Version column, then click dist.zip for the appropriate version.
Extract the ZIP file.
The ZIP file contains Javadoc files. In the Help directory, open help-doc.html.
- In a command prompt window, enter java -jar VeracodeJavaAPI.jar.