diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 585d23d..3a794bc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,6 +18,9 @@ env: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + profile: ['', 'spring5'] steps: - name: Checkout uses: actions/checkout@v3 @@ -25,9 +28,9 @@ jobs: uses: actions/setup-java@v3 with: distribution: temurin - java-version: 11 + java-version: 17 cache: 'maven' - name: Compile run: ./mvnw clean javadoc:javadoc package -DskipTests - name: Test - run: ./mvnw verify -P integration-test -B + run: ./mvnw verify -P "${{ matrix.profile }}" -P integration-test -B diff --git a/README.md b/README.md index 171af16..06425d1 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ![Build Status](https://github.com/zalando-stups/baigan-config/workflows/build/badge.svg) [![Maven Central](https://img.shields.io/maven-central/v/org.zalando/baigan-config.svg)](https://maven-badges.herokuapp.com/maven-central/org.zalando/baigan-config) -Baigan configuration is an easy to use configuration framework for [Spring](https://spring.io/) based applications. +Baigan configuration is an easy-to-use configuration framework for [Spring](https://spring.io/) based applications. What makes Baigan a rockstar configuration framework ? @@ -14,8 +14,8 @@ What makes Baigan a rockstar configuration framework ? * AWS S3 ## Prerequisites -- Java 11 -- Spring framework +- Java 17+ +- Spring Framework 6 (backwards compatible to 5) - AWS SDK ## Getting started diff --git a/pom.xml b/pom.xml index 129ed0d..d65de02 100644 --- a/pom.xml +++ b/pom.xml @@ -38,9 +38,12 @@ UTF-8 + 11 + 6.1.2 + 5.3.31 + ${spring6.version} 2.15.1 5.9.3 - 5.3.27 32.0.1-jre 2.0.7 5.3.1 @@ -82,10 +85,6 @@ org.apache.maven.plugins maven-compiler-plugin 3.11.0 - - 11 - 11 - @@ -215,6 +214,12 @@ + + spring5 + + ${spring5.version} + + release