diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 647ff6082..ab9a1f8c7 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -17,27 +17,32 @@ jobs:
steps:
- uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: '22'
- distribution: 'temurin'
- cache: maven
+ distribution: 'zulu'
+ - name: Cache SonarCloud packages
+ uses: actions/cache@v4
+ with:
+ path: ~/.sonar/cache
+ key: ${{ runner.os }}-sonar
+ restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- - name: Analyze with SonarCloud
- run: ./mvnw -B jacoco:prepare-agent package jacoco:report jacoco:report-aggregate sonar:sonar -Dsonar.projectKey=org.atlanmod.neoemf:neoemf -Dsonar.organization=atlanmod -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dsonar.coverage.jacoco.xmlReportPaths=./target/site/jacoco-aggregate/jacoco.xml
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Build and install main project
run: ./mvnw clean install -DskipTests
- - name: Build benchmarks
- run: ./mvnw clean package -f benchmarks/pom.xml
+ - name: Build and analyze
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+ run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=atlanmod_NeoEMF
build-plugins:
diff --git a/pom.xml b/pom.xml
index 53b37e6e3..01cc0e335 100644
--- a/pom.xml
+++ b/pom.xml
@@ -100,7 +100,7 @@
'void com.google.common.util.concurrent.Futures.addCallback(ListenableFuture, FutureCallback)'
needed by Hadoop's hdfs-server
-->
- 23.6-jre
+ 33.3.1-jre
deny
5.7.1
atlanmod