diff --git a/.github/workflows/dash-license.yml b/.github/workflows/dash-license.yml new file mode 100644 index 000000000..a9068ac7b --- /dev/null +++ b/.github/workflows/dash-license.yml @@ -0,0 +1,26 @@ +name: Dash License Check + +on: + push: + paths: + - '**/pom.xml' + pull_request: + paths: + - '**/pom.xml' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 17 + + - name: Build with Maven + run: mvn org.eclipse.dash:license-tool-plugin:license-check -PDashLicense diff --git a/pom.xml b/pom.xml index d9b3dbf2d..05d45a401 100644 --- a/pom.xml +++ b/pom.xml @@ -1442,6 +1442,27 @@ + + DashLicense + + + + + org.eclipse.dash + license-tool-plugin + 1.1.1-SNAPSHOT + + + license-check + + license-check + + + + + + + MavenCentral @@ -1480,19 +1501,6 @@ - - org.eclipse.dash - license-tool-plugin - 1.1.1-SNAPSHOT - - - license-check - - license-check - - - - org.apache.maven.plugins maven-javadoc-plugin