diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 88f1c2a843..faa235e13a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -41,6 +41,10 @@ jobs: key: ${{ runner.os }}-m2 restore-keys: ${{ runner.os }}-m2 + - name: Update Maven Project Version + if: ${{ github.ref_type == 'tag' }} + run: mvn versions:set -DnewVersion=${{ github.ref_name }} -Pci,build-postgres,waltz-postgres; + - name: Build with Maven run: mvn -B -s .build.settings.xml -Pci,build-postgres,waltz-postgres clean package; diff --git a/pom.xml b/pom.xml index f3e3464899..7e454785e5 100644 --- a/pom.xml +++ b/pom.xml @@ -19,11 +19,20 @@ + + + 4.0.0 org.finos waltz - 1.0-SNAPSHOT + 1.43-SNAPSHOT waltz-common waltz-model @@ -611,4 +620,6 @@ + + diff --git a/waltz-common/pom.xml b/waltz-common/pom.xml index b883c4acb3..dfe0fd74b8 100644 --- a/waltz-common/pom.xml +++ b/waltz-common/pom.xml @@ -23,7 +23,7 @@ waltz org.finos - 1.0-SNAPSHOT + 1.43-SNAPSHOT 4.0.0 diff --git a/waltz-data/pom.xml b/waltz-data/pom.xml index 4d1b4673e6..0efb257196 100644 --- a/waltz-data/pom.xml +++ b/waltz-data/pom.xml @@ -23,7 +23,7 @@ waltz org.finos - 1.0-SNAPSHOT + 1.43-SNAPSHOT 4.0.0 @@ -33,13 +33,13 @@ org.finos waltz-model - 1.0-SNAPSHOT + ${project.version} org.finos waltz-schema - 1.0-SNAPSHOT + ${project.version} diff --git a/waltz-integration-test/pom.xml b/waltz-integration-test/pom.xml index e284a8ec76..1d554c75f5 100644 --- a/waltz-integration-test/pom.xml +++ b/waltz-integration-test/pom.xml @@ -23,7 +23,7 @@ waltz org.finos - 1.0-SNAPSHOT + 1.43-SNAPSHOT 4.0.0 @@ -33,7 +33,7 @@ org.finos waltz-service - 1.0-SNAPSHOT + ${project.version} diff --git a/waltz-jobs/pom.xml b/waltz-jobs/pom.xml index 26a5d50957..e1cd79eae1 100644 --- a/waltz-jobs/pom.xml +++ b/waltz-jobs/pom.xml @@ -23,7 +23,7 @@ waltz org.finos - 1.0-SNAPSHOT + 1.43-SNAPSHOT 4.0.0 @@ -52,7 +52,7 @@ org.finos waltz-service - 1.0-SNAPSHOT + ${project.version} diff --git a/waltz-model/pom.xml b/waltz-model/pom.xml index 7568c4924a..aa17c47a47 100644 --- a/waltz-model/pom.xml +++ b/waltz-model/pom.xml @@ -17,31 +17,13 @@ ~ --> - - waltz org.finos - 1.0-SNAPSHOT + 1.43-SNAPSHOT 4.0.0 @@ -52,7 +34,7 @@ org.finos waltz-common - 1.0-SNAPSHOT + ${project.version} diff --git a/waltz-schema/pom.xml b/waltz-schema/pom.xml index 5d87b10dc0..1542670e16 100644 --- a/waltz-schema/pom.xml +++ b/waltz-schema/pom.xml @@ -22,7 +22,7 @@ waltz org.finos - 1.0-SNAPSHOT + 1.43-SNAPSHOT 4.0.0 diff --git a/waltz-service/pom.xml b/waltz-service/pom.xml index 50cb40f7fa..2f004de4a8 100644 --- a/waltz-service/pom.xml +++ b/waltz-service/pom.xml @@ -24,7 +24,7 @@ waltz org.finos - 1.0-SNAPSHOT + 1.43-SNAPSHOT 4.0.0 @@ -36,13 +36,13 @@ org.finos waltz-data - 1.0-SNAPSHOT + ${project.version} org.finos waltz-common - 1.0-SNAPSHOT + ${project.version} diff --git a/waltz-web/pom.xml b/waltz-web/pom.xml index 4b1730615d..0fbd1c8ef7 100644 --- a/waltz-web/pom.xml +++ b/waltz-web/pom.xml @@ -20,7 +20,7 @@ waltz org.finos - 1.0-SNAPSHOT + 1.43-SNAPSHOT 4.0.0 waltz-web @@ -37,7 +37,7 @@ org.finos waltz-service - 1.0-SNAPSHOT + ${project.version} @@ -75,7 +75,6 @@ provided - org.junit.jupiter