From 3be1489d0ec2ad9bbe88b1d194faa7088b4ea9e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=CC=8Avard=20Ottestad?= Date: Mon, 7 Aug 2023 15:05:49 +0200 Subject: [PATCH] osgi broke from upgrading maven plugins, hard to know which one did it. Also make a new verify workflow so that this doesn't happen again. --- .github/workflows/pr-verify.yml | 24 ++++++++++++++++++ pom.xml | 45 +++++++++++++++------------------ 2 files changed, 45 insertions(+), 24 deletions(-) diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml index 6b57a7ba22e..5a4ba91ae6b 100644 --- a/.github/workflows/pr-verify.yml +++ b/.github/workflows/pr-verify.yml @@ -98,6 +98,30 @@ jobs: uses: scacap/action-surefire-report@v1 with: check_name: Test report - slow-tests + package-assembly: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-jdk11-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-jdk11-maven- + - name: Package assembly + run: mvn package -Passembly -DskipTests + - name: Cancel workflow on failure + uses: vishnudxb/cancel-workflow@v1.2 + if: failure() + with: + repo: eclipse/rdf4j + workflow_id: ${{ github.run_id }} + access_token: ${{ github.token }} copyright-check: runs-on: ubuntu-latest steps: diff --git a/pom.xml b/pom.xml index 348c2a0f8d3..e93cfdce125 100644 --- a/pom.xml +++ b/pom.xml @@ -633,7 +633,7 @@ org.apache.maven.plugins maven-assembly-plugin - 3.6.0 + 3.4.2 org.apache.maven.plugins @@ -643,12 +643,12 @@ org.apache.maven.plugins maven-clean-plugin - 3.3.1 + 3.2.0 org.apache.maven.plugins maven-compiler-plugin - 3.11.0 + 3.10.1 false utf8 @@ -657,12 +657,12 @@ org.apache.maven.plugins maven-dependency-plugin - 3.6.0 + 3.4.0 org.apache.maven.plugins maven-deploy-plugin - 3.1.1 + 3.0.0 org.apache.maven.plugins @@ -713,7 +713,7 @@ org.apache.felix maven-bundle-plugin - 5.1.9 + 5.1.8 true @@ -729,7 +729,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.5.0 + 3.4.1 utf8 11 @@ -764,17 +764,17 @@ org.apache.maven.plugins maven-resources-plugin - 3.3.1 + 3.3.0 org.apache.maven.plugins maven-source-plugin - 3.3.0 + 3.2.1 org.codehaus.mojo properties-maven-plugin - 1.2.0 + 1.1.0 generate-resources @@ -791,19 +791,16 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.2 + 3.0.0-M7 UTF-8 -Xmx2048M - - **/*IT.java - org.apache.maven.plugins maven-failsafe-plugin - 3.1.2 + 3.0.0-M7 UTF-8 1 @@ -833,7 +830,7 @@ org.apache.maven.plugins maven-war-plugin - 3.4.0 + 3.3.2 false @@ -850,7 +847,7 @@ net.revelc.code.formatter formatter-maven-plugin - 2.23.0 + 2.21.0 ${project.basedir}/eclipse-settings/eclipse-rdf4j-conventions.xml LF @@ -860,7 +857,7 @@ net.revelc.code impsort-maven-plugin - 1.9.0 + 1.8.0 java.,javax.,org.,com. java,* @@ -874,7 +871,7 @@ com.github.siom79.japicmp japicmp-maven-plugin - 0.17.2 + 0.17.1 @@ -929,12 +926,12 @@ org.apache.maven.plugins maven-shade-plugin - 3.5.0 + 3.4.1 org.apache.maven.plugins maven-enforcer-plugin - 3.3.0 + 3.1.0 enforce-maven-3 @@ -1025,19 +1022,19 @@ org.codehaus.mojo extra-enforcer-rules - 1.7.0 + 1.6.1 org.apache.maven.plugins maven-install-plugin - 3.1.1 + 3.1.0 org.apache.maven.plugins maven-site-plugin - 4.0.0-M9 + 4.0.0-M4