diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml
index 01b6405b6..ef9ac70c8 100644
--- a/.github/workflows/integration.yaml
+++ b/.github/workflows/integration.yaml
@@ -32,10 +32,12 @@ jobs:
- name: Build with Maven
env:
+ COMMERCIAL_USERNAME: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
+ COMMERCIAL_PASSWORD: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_PASSWORD }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
run: |
cd spring-modulith-examples
- ../mvnw -B versions:update-parent -DskipResolution=true -DparentVersion=${{ matrix.version }}
- ../mvnw -B clean verify -Pwith-preview-repos -Dspring-boot.version=${{ matrix.version }}
+ ../mvnw -B versions:update-parent -s ../settings.xml -Pwith-preview-repos,with-commercial-repos -DskipResolution=true -DparentVersion=${{ matrix.version }}
+ ../mvnw -B clean verify -s ../settings.xml -Pwith-preview-repos,with-commercial-repos -Dspring-boot.version=${{ matrix.version }}
diff --git a/pom.xml b/pom.xml
index a2ed597dc..ebfbaf82a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,6 +123,26 @@ limitations under the License.
+
+ with-commercial-repos
+
+
+ spring-commercial-releases
+ https://repo.spring.vmware.com/artifactory/spring-commercial-release-local
+
+ false
+
+
+
+ spring-commercial-snapshots
+ https://repo.spring.vmware.com/artifactory/spring-commercial-snapshot-local
+
+ false
+
+
+
+
+
prepare-release
diff --git a/spring-modulith-examples/pom.xml b/spring-modulith-examples/pom.xml
index 2556b4e34..07ac6f637 100644
--- a/spring-modulith-examples/pom.xml
+++ b/spring-modulith-examples/pom.xml
@@ -29,6 +29,49 @@
3.3.0
+
+
+ with-preview-repos
+
+
+ spring-milestone
+ https://repo.spring.io/milestone
+
+ false
+
+
+
+ spring-snapshot
+ https://repo.spring.io/snapshot
+
+ false
+
+
+
+
+
+
+ with-commercial-repos
+
+
+ spring-commercial-releases
+ https://repo.spring.vmware.com/artifactory/spring-commercial-release-local
+
+ false
+
+
+
+ spring-commercial-snapshots
+ https://repo.spring.vmware.com/artifactory/spring-commercial-snapshot-local
+
+ false
+
+
+
+
+
+
+
verify
@@ -143,4 +186,5 @@
+