diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000..692dd072
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,34 @@
+version: 2
+updates:
+
+ # Maintain dependencies for maven in v3-main branch
+ - package-ecosystem: "maven"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ target-branch: "v3-main"
+
+ # Maintain dependencies for GitHub Actions in v3-main
+ - package-ecosystem: "github-actions"
+ # Workflow files stored in the default location of `.github/workflows`.
+ # (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
+ directory: "/"
+ schedule:
+ interval: "monthly"
+ target-branch: "v3-main"
+
+ # Maintain dependencies for maven in v2-main branch
+ - package-ecosystem: "maven"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ target-branch: "v2-main"
+
+ # Maintain dependencies for GitHub Actions in v2-main
+ - package-ecosystem: "github-actions"
+ # Workflow files stored in the default location of `.github/workflows`.
+ # (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
+ directory: "/"
+ schedule:
+ interval: "monthly"
+ target-branch: "v2-main"
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index 236b51b1..437ac8fd 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -88,7 +88,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
- java-version: '17'
+ java-version: '21'
distribution: 'temurin'
server-id: ossrh
server-username: MAVEN_USERNAME
diff --git a/.github/workflows/create-snapshot.yml b/.github/workflows/create-snapshot.yml
index b71de830..deddc809 100644
--- a/.github/workflows/create-snapshot.yml
+++ b/.github/workflows/create-snapshot.yml
@@ -47,11 +47,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Set up JDK 17
+ - name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
- java-version: '17'
+ java-version: '21'
- name: Tests
run: mvn test --no-transfer-progress
@@ -79,7 +79,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
- java-version: '17'
+ java-version: '21'
distribution: 'temurin'
server-id: ossrh
server-username: MAVEN_USERNAME
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 71bd14ff..15f04d5e 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -11,11 +11,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Set up JDK 17
+ - name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
- java-version: '17'
+ java-version: '21'
- name: Tests
run: mvn test --no-transfer-progress
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 994eea69..a67ce65e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
lunatic-model
jar
- 3.2.7
+ 3.3.0
Lunatic Model
Classes and converters for the Lunatic model
https://inseefr.github.io/Lunatic-Model/
@@ -18,7 +18,7 @@
UTF-8
UTF-8
- 17
+ 21
@@ -38,7 +38,7 @@
scm:git:git://github.com/InseeFr/Lunatic-Model.git
scm:git:ssh://github.com:InseeFr/Lunatic-Model.git
- https://github.com/InseeFr/Lunatic-Model.git/tree/master
+ https://github.com/InseeFr/Lunatic-Model.git/tree/v3-main
@@ -94,7 +94,7 @@
org.projectlombok
lombok
- 1.18.28
+ 1.18.30