From 97b701020a547122eb24758b59a51b915e5ecb9b Mon Sep 17 00:00:00 2001 From: David DE CARVALHO Date: Mon, 4 Dec 2023 15:20:01 +0100 Subject: [PATCH] [ISSUE 13] add build number + clean sonar-packaging-maven-plugin --- CHANGELOG.md | 1 + pom.xml | 30 ++++++++++++++++++++++++++---- 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d686425..17e378d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - [#9](https://github.com/green-code-initiative/ecoCode-php/pull/9) Upgrade licence system and licence headers of Java files +- [#13](https://github.com/green-code-initiative/ecoCode-php/issues/13) Add build number to manifest ### Deleted diff --git a/pom.xml b/pom.xml index 3bb2e30..ef99ada 100644 --- a/pom.xml +++ b/pom.xml @@ -55,7 +55,7 @@ 7.17.0.31219 - 1.21.0.505 + 1.23.0.740 true 5.9.1 @@ -63,7 +63,7 @@ 5.3.1 - 0.0.2 + 0.0.7 2.5.0.1358 @@ -200,11 +200,33 @@ true ecocodephp - ${project.name} fr.greencodeinitiative.php.PHPPlugin true - ${sonarqube.version} + ${sonarqube.version} ${java.version} + + + ${buildNumber} + + + + + + + org.codehaus.mojo + buildnumber-maven-plugin + 3.1.0 + + + validate + + create + + + + + true + 0