-
My goal is to do my first step in direction for increasing security. So I check every project via command-line for bad libs. I want to set my findings thresholds via "-D"-parameters in the command-line. But If i set this values via command-line and delete the values from the pom, the build is not breaking: Is this a bug? What's my mistake? By the way: The same behavior in all check-goals ... Thanks for helping ... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Denis, thanks for raising this but you can't set the value of nested properties in maven. So the finding thresholds are not settable in this way. This Stackoverflow answer explains what you are experiencign and provides a way to get round it using custom system properties to override the plugin configuration. |
Beta Was this translation helpful? Give feedback.
Hi Denis, thanks for raising this but you can't set the value of nested properties in maven. So the finding thresholds are not settable in this way.
This Stackoverflow answer explains what you are experiencign and provides a way to get round it using custom system properties to override the plugin configuration.
https://stackoverflow.com/questions/40023283/how-to-define-complex-maven-properties-in-the-comand-line