From 44ed92708708a4c8260516b123244bf48c09a5ce Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Wed, 12 Apr 2023 00:09:53 +0200 Subject: [PATCH] Use Maven targets for OSGi compliant artifacts from Maven-Central And add license compliance check workflow based on the reusable GitHub workflow provided by eclipse/dash-licenses. --- .github/workflows/licensecheck.yml | 21 +++ org.eclipse.xtext.p2repository/pom.xml | 19 ++- xtext-latest.target | 198 +++++++++++++++++++++---- 3 files changed, 209 insertions(+), 29 deletions(-) create mode 100644 .github/workflows/licensecheck.yml diff --git a/.github/workflows/licensecheck.yml b/.github/workflows/licensecheck.yml new file mode 100644 index 00000000000..5cea3b71da4 --- /dev/null +++ b/.github/workflows/licensecheck.yml @@ -0,0 +1,21 @@ +# This workflow will check for Maven projects if the licenses of all (transitive) dependencies are vetted. + +name: License vetting status check + +on: + push: + branches: + - 'master' + pull_request: + branches: + - 'master' + issue_comment: + types: [created] + +jobs: + call-license-check: + uses: eclipse/dash-licenses/.github/workflows/mavenLicenseCheck.yml@master + with: + projectId: modeling.tmf.xtext + secrets: + gitlabAPIToken: ${{ secrets.XTEXT_GITLAB_API_TOKEN }} diff --git a/org.eclipse.xtext.p2repository/pom.xml b/org.eclipse.xtext.p2repository/pom.xml index e84219cd02e..7afd1795d95 100644 --- a/org.eclipse.xtext.p2repository/pom.xml +++ b/org.eclipse.xtext.p2repository/pom.xml @@ -59,7 +59,7 @@ org.codehaus.mojo build-helper-maven-plugin -