-
Notifications
You must be signed in to change notification settings - Fork 315
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
"optional" Maven dependencies must be excluded #9755
Comments
Looks like a sensible request to me, esp. as this says under "Why use optional dependencies?":
|
@sschuberth that's exactly what ORT, I believe, must not blame the project for having such optional dependencies, since the project doesn't re-distribute them. |
@sschuberth the same is true about dependencies in the |
Hi, The "optional" plugins should also rather be excluded via an "option" in a config, similar to the scope excludes, if an implementation is necessary. |
@MNesche this is what we did in our project, but I still believe that the role of ORT is not only to be a technically accurate scanner, but also a setter of standards. This is what Maven did to the world of Java, easily beating Ant (it was a technically accurate tool, but with no "what's right and what's wrong" principles behind it). |
This is part of my
pom.xml
(my license isMIT
):This is what ORT says:
I believe, it's a false positive, because the dependencies are
optional
. This means that myJAR
doesn't include them and they won't be installed to the user, unless the user explicitly includes them into his ownpom.xml
. In other words, I don't re-distribute this software. I only use it. This is allowed by copyleft, I believe.The text was updated successfully, but these errors were encountered: