From 2c3aaf89a1996957c2574ca9f9f2f1076310352e Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Sat, 22 Jul 2023 12:14:06 -0400 Subject: [PATCH] Update to Tycho 4.0.1 The error handling in Tycho 4 identifies when bundles are listed in category.xml but not available. The removed bundles were not in the output, and with this change the error is resolved in the build. Updated setting for maven enforcer to match Tycho requirements. --- .github/workflows/build-test.yml | 4 ++++ .github/workflows/code-cleanliness.yml | 4 ++++ .mvn/extensions.xml | 2 +- pom.xml | 10 +++------- releng/org.eclipse.cdt.repo/category.xml | 4 ---- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 7ee31bd55f6..778ec34e18b 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -27,6 +27,10 @@ jobs: java-version: '17' distribution: 'temurin' cache: maven + - name: Set up Maven + uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5 + with: + maven-version: 3.9.2 - name: Install GCC & GDB & other build essentials run: | sudo apt-get -y install build-essential gcc g++ gdb gdbserver diff --git a/.github/workflows/code-cleanliness.yml b/.github/workflows/code-cleanliness.yml index 4a5a9a11566..d12756bb871 100644 --- a/.github/workflows/code-cleanliness.yml +++ b/.github/workflows/code-cleanliness.yml @@ -17,6 +17,10 @@ jobs: java-version: '17' distribution: 'temurin' cache: maven + - name: Set up Maven + uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5 + with: + maven-version: 3.9.2 - name: Install dependencies run: | sudo apt-get update && sudo apt-get install -y --no-install-recommends \ diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index f41af146d2d..879349e7b7b 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -3,6 +3,6 @@ org.eclipse.tycho tycho-build - 3.0.3 + 4.0.1 diff --git a/pom.xml b/pom.xml index c9fef9e1a1e..eec8476f338 100644 --- a/pom.xml +++ b/pom.xml @@ -25,12 +25,8 @@ CDT Parent - - 3.6.3 - 3.0.5 + 3.9.1 + 4.0.1 1.3.4 jacoco http://ci.eclipse.org/cdt/job/cdt-master/lastSuccessfulBuild/artifact/releng/org.eclipse.cdt.repo/target/repository @@ -619,7 +615,7 @@ ${required-maven-version} - 11 + 17 true diff --git a/releng/org.eclipse.cdt.repo/category.xml b/releng/org.eclipse.cdt.repo/category.xml index bedf3022c8a..491cfa64a9a 100644 --- a/releng/org.eclipse.cdt.repo/category.xml +++ b/releng/org.eclipse.cdt.repo/category.xml @@ -185,10 +185,6 @@ - - - -