diff --git a/docs/release/trg-7/trg-7-04.md b/docs/release/trg-7/trg-7-04.md index 084709a5c50..20a77a1e736 100644 --- a/docs/release/trg-7/trg-7-04.md +++ b/docs/release/trg-7/trg-7-04.md @@ -55,6 +55,51 @@ You can request the status of your used libraries via the [Dash Licence Tool](ht - Provide support if an issue is labeled with "Help wanted" - Add the summary as DEPENDENCY file to the according repository (root level) +**Example usage:** + +Make sure to also include test dependencies. For a maven-based java project you can configure the maven plugin as follows to include test-depenencies: + +``` xml + + + dash-licenses-snapshots + https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/ + + true + + + + + + org.eclipse.dash + license-tool-plugin + + 1.0.3-SNAPSHOT + + automotive.tractusx + + DEPENDENCIES + + test + + + + license-check + + license-check + + + + +``` + +You then can invoke the plugin from command line as follows: + +``` sh +# same directory as you pom.xml +mvn org.eclipse.dash:license-tool-plugin:license-check +``` + **Important Notes:** - Get your API Token (see README of the Dash Tool), note that only committers can get an API Token