diff --git a/.github/workflows/Processors_CI_Workflow.yaml b/.github/workflows/Processors_CI_Workflow.yaml index ece26985e..63b610fb9 100644 --- a/.github/workflows/Processors_CI_Workflow.yaml +++ b/.github/workflows/Processors_CI_Workflow.yaml @@ -70,19 +70,26 @@ jobs: COMMON_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) echo "COMMON_VERSION=$COMMON_VERSION" echo "COMMON_VERSION=$COMMON_VERSION" >> $GITHUB_ENV + + - name: Updating the common version in processor project + run: | + mvn versions:use-dep-version \ + -Dincludes=com.publicissapient.kpidashboard:common \ + -DdepVersion=$COMMON_VERSION \ + -DforceVersion=true - name: Build & Test Jira Processor run: | - mvn clean install -Pjira-processor -Ddockerfile.skip=true -Dcommon.version=$COMMON_VERSION + mvn clean install -Pjira-processor -Ddockerfile.skip=true - name: Build & Test Azure Board Processor - run: mvn clean install -Pazure-board-processor -Ddockerfile.skip=true -Dcommon.version=$COMMON_VERSION + run: mvn clean install -Pazure-board-processor -Ddockerfile.skip=true - name: Build & Test DevOps Processor - run: mvn clean install -Pdevops-processor -Ddockerfile.skip=true -Dcommon.version=$COMMON_VERSION + run: mvn clean install -Pdevops-processor -Ddockerfile.skip=true - name: Build & Test Azure Pipeline Repo Processor - run: mvn clean install -Pazure-pipeline-repo -Ddockerfile.skip=true -Dcommon.version=$COMMON_VERSION + run: mvn clean install -Pazure-pipeline-repo -Ddockerfile.skip=true - name: SonarQube Analysis - Processors run: | @@ -90,7 +97,6 @@ jobs: -Dsonar.projectName=ENGINEERING.KPIDASHBOARD.PROCESSORS \ -Dsonar.branch.name=${{ env.GITHUB_HEAD_NAME }} \ -Dsonar.host.url=${{ secrets.SONARQUBE_HOST }} \ - -Dcommon.version=$COMMON_VERSION \ -Dsonar.login=${{ secrets.SONARQUBE_TOKEN }} -f pom.xml - name: Check SonarQube Quality Gate - Processors diff --git a/argocd/pom.xml b/argocd/pom.xml index daa67407b..93e2cce95 100644 --- a/argocd/pom.xml +++ b/argocd/pom.xml @@ -55,7 +55,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT org.projectlombok diff --git a/azure-boards/pom.xml b/azure-boards/pom.xml index a4d305f17..1eeb94da4 100644 --- a/azure-boards/pom.xml +++ b/azure-boards/pom.xml @@ -57,7 +57,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT compile diff --git a/azure-pipeline/pom.xml b/azure-pipeline/pom.xml index e6ef8f522..8ce5607d8 100644 --- a/azure-pipeline/pom.xml +++ b/azure-pipeline/pom.xml @@ -59,7 +59,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback diff --git a/azure-repo/pom.xml b/azure-repo/pom.xml index 026e74718..10ee1b9a3 100644 --- a/azure-repo/pom.xml +++ b/azure-repo/pom.xml @@ -50,7 +50,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback diff --git a/bamboo/pom.xml b/bamboo/pom.xml index 3e544bc3a..f954d85ae 100644 --- a/bamboo/pom.xml +++ b/bamboo/pom.xml @@ -61,7 +61,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback diff --git a/bitbucket/pom.xml b/bitbucket/pom.xml index 59ef7c1c8..188052a3b 100644 --- a/bitbucket/pom.xml +++ b/bitbucket/pom.xml @@ -57,7 +57,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback diff --git a/github-action/pom.xml b/github-action/pom.xml index 48d9416cd..493660d43 100644 --- a/github-action/pom.xml +++ b/github-action/pom.xml @@ -55,7 +55,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback diff --git a/github/pom.xml b/github/pom.xml index cf2e8a69b..d704110cf 100644 --- a/github/pom.xml +++ b/github/pom.xml @@ -55,7 +55,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback diff --git a/gitlab/pom.xml b/gitlab/pom.xml index 3182c40b3..4eddf393b 100644 --- a/gitlab/pom.xml +++ b/gitlab/pom.xml @@ -56,7 +56,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback diff --git a/jenkins/pom.xml b/jenkins/pom.xml index 1093b991f..b88201616 100644 --- a/jenkins/pom.xml +++ b/jenkins/pom.xml @@ -51,7 +51,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback diff --git a/jira-xray-zephyr-squad/pom.xml b/jira-xray-zephyr-squad/pom.xml index ccf34faac..2da9c908f 100644 --- a/jira-xray-zephyr-squad/pom.xml +++ b/jira-xray-zephyr-squad/pom.xml @@ -63,7 +63,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT compile diff --git a/jira-zephyr-scale/pom.xml b/jira-zephyr-scale/pom.xml index 5e6482791..3b2a970b0 100644 --- a/jira-zephyr-scale/pom.xml +++ b/jira-zephyr-scale/pom.xml @@ -56,7 +56,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback diff --git a/jira/pom.xml b/jira/pom.xml index 6f4bea883..2fb9cef7c 100644 --- a/jira/pom.xml +++ b/jira/pom.xml @@ -93,7 +93,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT compile diff --git a/pom.xml b/pom.xml index 183fd850c..37ce30cdf 100644 --- a/pom.xml +++ b/pom.xml @@ -105,4 +105,4 @@ - + \ No newline at end of file diff --git a/sonar/pom.xml b/sonar/pom.xml index 4b10064d4..ebded01d3 100644 --- a/sonar/pom.xml +++ b/sonar/pom.xml @@ -55,7 +55,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback diff --git a/teamcity/pom.xml b/teamcity/pom.xml index ddbad1766..f744e2d13 100644 --- a/teamcity/pom.xml +++ b/teamcity/pom.xml @@ -72,7 +72,7 @@ com.publicissapient.kpidashboard common - ${common.version} + 13.1.1-SNAPSHOT ch.qos.logback