-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip artifacts matching a regex #1103
Comments
At the moment this is not possible. One could create s suppression file that would have a similar affect: <suppress>
<notes><![CDATA[
Suppress findings for my companies artifacts
]]></notes>
<gav regex="true">^com\.mygroup\..*$</gav>
<cpe regex="true">.*</cpe>
</suppress> The above would suppress all CPE and related CVE for anything in "com.mygroup". |
Thank you for your reply, unfortunately this won't work for my problem. I may be using the plugin in a wrong way though. I have a multi module Maven project and want to use the aggregate goal. Whenever the projects version is incremented builds fail (example output after a
Executing |
This is related (if not actually a duplicate of) #740. Take a look at this article on the maven install hack - have you run into the same issue as described? I've been thinking about different solutions to this problem - but the issue may really be with the multi-module project. |
Hey, sorry for the delay. Yes it looks like a duplicate. I'm gonna close this issue and continue the discussion there since the article unfortunately didn't help me. This issue only occurs when using the dependency-check plugin. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
is it possible to skip dependency scanning for certain artifacts by providing a regex which is matched against their identifier? Using the Maven plugin I would like to do something like this:
Every artifact matched by the regex "com.mygroup..+" would be ignored.
The text was updated successfully, but these errors were encountered: