diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 207bca0a5..bee0d4de9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -34,21 +34,37 @@ jobs:
cache: 'maven'
- name: Verify build
+ if: matrix.os != 'ubuntu-latest'
run: >
./mvnw clean verify
--batch-mode
--update-snapshots
--no-transfer-progress
- - name: Stage build results
- run: mkdir staging-${{ matrix.os }} && cp **/target/*.jar staging-${{ matrix.os }}/
+ - name: Verify build with Sonar
+ if: matrix.os == 'ubuntu-latest'
+ run: >
+ ./mvnw clean verify javadoc:javadoc-no-fork sonar:sonar -P coverage
+ --batch-mode
+ --update-snapshots
+ --no-transfer-progress
+ env:
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+
+ - name: Stage build results (Unix)
+ if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest'
+ run: mkdir staging-${{ matrix.os }} && find . -path '*/target/*.jar' -exec cp {} staging-${{ matrix.os }}/ \;
+
+ - name: Stage build results (Windows)
+ if: matrix.os == 'windows-latest'
+ run: mkdir staging-${{ matrix.os }} && gci -Path . -Recurse -Include *.jar |? { $_.FullName -like '*\target\*.jar' } |% { cp $_.FullName staging-${{ matrix.os }} }
- name: Upload build results
uses: actions/upload-artifact@v3.1.3
with:
name: Build Results
path: staging-*/
-
+
deploy-snapshot:
name: Deploy snapshot
runs-on: ubuntu-latest
diff --git a/pom.xml b/pom.xml
index 10e3ce0c6..faa9f8057 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,11 +43,15 @@
applications
-
+
3.3
2.2.0
1.6.0
+
+ https://sonarcloud.io
+ vitruv-tools
+ vitruv-tools_Vitruv