jfrog-idea-plugin icon indicating copy to clipboard operation
jfrog-idea-plugin copied to clipboard

Whether to support real-time component vulnerability detection instead of "refresh scan" when adding dependencies to pom

Open kakakpy opened this issue 2 years ago • 1 comments

Whether to support real-time component vulnerability detection instead of "refresh scan" when adding dependencies to pom

kakakpy avatar Mar 24 '22 03:03 kakakpy

@kakakpy thanks for using the JFrog IDEA plugin. To get the best performance the JFrog IDEA plugin collects the information of the Maven dependencies from the built-in Maven IntelliJ plugin. Therefore we added a trigger for an Xray scan that runs only after the Maven plugin completes refreshing the dependencies. To make this feature work, you should enable reloading projects after any change in the build scripts. This feature used to be on by default in older IntelliJ IDEA versions and changed to off recently.

You can enable this feature in 2 steps:

  1. In the right panel, click on the Maven plugin and open the auto-reload settings: image

  2. Enable "Reload project after changes in the build scripts" and choose "Any changes". image

For more information see: https://www.jetbrains.com/help/idea/settings-build-tools.html

Please let me know if that helped.

yahavi avatar Mar 24 '22 07:03 yahavi