Using Eclipse to Scan Projects Built with Maven or Gradle

Veracode Greenlight

Veracode Greenlight for Eclipse only supports Eclipse binaries, which means you may experience problems when scanning projects built with third-party build automation tools, such as Maven or Gradle.

If you are compiling with Maven or Gradle, Veracode recommends that you use the Eclipse plugin for that build tool to import your files. After you import the project into Eclipse using the Maven or Gradle plugin, if you are still experiencing issues scanning your Eclipse project with Veracode Greenlight, try the following actions.
Note: Any project must build successfully outside of Eclipse. If you have problems such as classpath or buildpath errors, for example, Eclipse cannot build the files needed to submit a scan to Veracode Greenlight.