Should we include test dependencies into the licence check? #234
-
As you can see in this closed PR, we faced the issue that there are two different types of licence check:
Our workflow is to use the dashtool mvn plugin, whenever we change dependencies. Then we have the workflow so that we ensure the check during pull requesting. It's likely due to different scopes: the mvn plugin uses compile, the workflow also includes test dependencies. See this Issue. Describe the solution you'd like Reproduce versions in use:
licence plugin
Dashtool (github workflow)
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
thanks for opening this discussion. We actually had this come up in some of our meetings, but did not come to a conclusion. As a fact, test dependencies DO NEED TO BE INCLUDED. We also heard, that there are different outcomes when comparing the Maven plugin with the standalone Dahs .jar. So in my opinion, we should find a reliable way to use Dash, that includes test dependencies. Whether it is to stick with only the Maven plugin or the standalone .jar, or find the proper input parameters for both variant to produce the same results |
Beta Was this translation helpful? Give feedback.
-
TLDR; Yes, test dependencies should be included in the Dependencies files. We added updated the TRG 7.04 with a respective example for maven in this PR |
Beta Was this translation helpful? Give feedback.
HI @tom-rm-meyer-ISST,
thanks for opening this discussion. We actually had this come up in some of our meetings, but did not come to a conclusion.
As a fact, test dependencies DO NEED TO BE INCLUDED.
We also heard, that there are different outcomes when comparing the Maven plugin with the standalone Dahs .jar.
I seems like you are also aware of the GitHub issue in the Dash repo.
So in my opinion, we should find a reliable way to use Dash, that includes test dependencies. Whether it is to stick with only the Maven plugin or the standalone .jar, or find the proper input parameters for both variant to produce the same results