Install the Java API wrapper from Maven Central
You can download the Java API wrapper from Maven Central or obtain it as a container image from Docker Hub.
You can add the Java API wrapper 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.
The Docker container image of the Java API wrapper enables you to use the Veracode XML APIs for performing application security analysis within your build pipelines.
Before you begin:
Before you can use the Java API wrapper, you must meet the software requirements.
To complete this task:
- Go to https://central.sonatype.com/search?q=vosp-api-wrappers-java
- Select Sort by: Published Date.
- Select vosp-api-wrappers-java.
- Select the Versions tab.
- Locate the version you want to install and select Browse file directory.
- Download
vosp-api-wrappers-java-{version}-dist.zip
. - Extract the ZIP file. To open the Javadoc files, go to
Help/help-doc.html
. - At a command prompt, enter
java -jar vosp-api-wrapper-java{version}.jar
.
Each artifact is associated with the MD5 and SHA1 checksums. You can use these checksum files to verify the integrity of the associated artifacts. You can access the console help from the Help window in the console window.