When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
HI @sMannem108028 (Customer) - thank you for your question. I am forwarding this post to the @Static IDE Scan (Greenlight) Group (Archived) for expert users and product team to take a look and share insights.
Hi @sMannem108028 (Community Member) - thanks for your patience! I've checked with our Support team and here is the feedback: 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:
• Gradle: If you compiled your files using Gradle, you must be using the java plugin. For example, the build.gradle file must contain apply plugin: 'java'.
• Maven: If you compiled your files using Maven and then imported these files, the .project file should contain the java and maven natures. You can manually add them to the .project file as follows:
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
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.
Hope this helps!
Hi, I also have same issue added the above lines in .project file but still getting same error message