Skip to content

Commit

Permalink
Merge pull request #512 from eclipse-tractusx/chore/update-dash-licen…
Browse files Browse the repository at this point in the history
…ce-plugin-config

chore: update DASH license Plugin config + fix typo
  • Loading branch information
FaGru3n authored Dec 1, 2023
2 parents 69f2712 + d3773fe commit 965a374
Showing 1 changed file with 31 additions and 27 deletions.
58 changes: 31 additions & 27 deletions docs/release/trg-7/trg-7-04.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ All third-party content has to be checked and approved by the Eclipse Foundation
- Creating an IP issue manually (e.g. fonts, images, ...)
- Using the Eclipse Dash License Tool to creat IP issues in an automated way (libraries)

All third party content used has to be documented in the NOTICE file or in the DEPENDENCY file. [Further information](/docs/release/trg-7/trg-7-01)
All third party content used has to be documented in the NOTICE file or in the DEPENDENCY file. [Further information](/docs/release/trg-7/trg-7-01.md)

:::info

Expand All @@ -41,7 +41,7 @@ You can request the status of your used libraries via the [Dash Licence Tool](ht

**Steps:**

- Download the lastest version: README => Get It => Download Link
- Download the latest version: README => Get It => Download Link
- For every repository / technology:
- Create the list of transitive dependencies, see the README
- Run the Dash Tool with the parameters "-project automotive.tractusx" and "-summary DEPENDENCIES" (or use the maven plugin)
Expand All @@ -57,40 +57,44 @@ You can request the status of your used libraries via the [Dash Licence Tool](ht

**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:
Make sure to also include test dependencies. For a maven-based java project you can configure the maven plugin as follows to include test-dependencies:

``` xml
<pluginRepositories>
<pluginRepository>
<id>dash-licenses-snapshots</id>
<url>https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/</url>
<id>dash-licenses</id>
<url>https://repo.eclipse.org/content/repositories/dash-licenses/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<!-- other stuff -->
<plugin>
<groupId>org.eclipse.dash</groupId>
<artifactId>license-tool-plugin</artifactId>
<!-- see https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/org/eclipse/dash/license-tool-plugin/ -->
<version>1.0.3-SNAPSHOT</version>
<configuration>
<projectId>automotive.tractusx</projectId>
<!-- name of dependencies file -->
<summary>DEPENDENCIES</summary>
<!-- include test dependencies -->
<includeScope>test</includeScope>
</configuration>
<executions>
<execution>
<id>license-check</id>
<goals>
<goal>license-check</goal>
</goals>
</execution>
</executions>
</plugin>
<build>
<plugin>
<groupId>org.eclipse.dash</groupId>
<artifactId>license-tool-plugin</artifactId>
<!-- see https://repo.eclipse.org/content/repositories/dash-licenses/org/eclipse/dash/license-tool-plugin/ -->
<version>1.0.2</version>
<configuration>
<projectId>automotive.tractusx</projectId>
<!-- name of dependencies file -->
<summary>DEPENDENCIES</summary>
<!-- include test dependencies -->
<includeScope>test</includeScope>
</configuration>
<executions>
<execution>
<id>license-check</id>
<goals>
<goal>license-check</goal>
</goals>
</execution>
</executions>
</plugin>
</build>


```

You then can invoke the plugin from command line as follows:
Expand All @@ -109,7 +113,7 @@ mvn org.eclipse.dash:license-tool-plugin:license-check

### Checking other content (fonts, images, ...)

Other 3rd party content, e.g. fonts, icons, images has also to be approved by the Eclipse Foundation IP Team. See [here](/docs/oss/issues#eclipse-gitlab-ip-issue-tracker) for more information to create a IP issue manually.
Other 3rd party content, e.g. fonts, icons, images has also to be approved by the Eclipse Foundation IP Team. See [here](/docs/oss/issues#eclipse-gitlab-ip-issue-tracker) for more information to create an IP issue manually.

If the content is approved add the information to the NOTICE file.

Expand Down

0 comments on commit 965a374

Please sign in to comment.