Skip to content

Commit 4a0f1ab

Browse files
committed
fix: add maven settings to matrix tests and security workflows
1 parent f1c4208 commit 4a0f1ab

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/matrix-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ jobs:
5151
distribution: 'temurin'
5252
cache: maven
5353

54+
- name: Copy Maven settings
55+
run: |
56+
mkdir -p ~/.m2
57+
cp .devcontainer/maven-settings.xml ~/.m2/settings.xml
58+
echo "✅ Maven settings configured"
59+
5460
- name: Run backend tests
5561
working-directory: apps/backend
5662
# Use env SPRING_PROFILES_ACTIVE for cross-platform compatibility (PowerShell can split -D args).

.github/workflows/security.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ jobs:
5050
java-version: '21'
5151
distribution: 'temurin'
5252

53+
- name: Copy Maven settings
54+
if: matrix.language == 'java'
55+
run: |
56+
mkdir -p ~/.m2
57+
cp .devcontainer/maven-settings.xml ~/.m2/settings.xml
58+
echo "✅ Maven settings configured"
59+
5360
- name: Build Java
5461
if: matrix.language == 'java'
5562
working-directory: apps/backend

0 commit comments

Comments
 (0)