]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22017 Add eol date for active version
authorDejan Milisavljevic <dejan.milisavljevic@sonarsource.com>
Mon, 8 Apr 2024 13:44:54 +0000 (15:44 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 10 Apr 2024 20:02:56 +0000 (20:02 +0000)
gradle.properties
sonar-plugin-api-impl/build.gradle
sonar-plugin-api-impl/src/main/resources/sq-version-eol.txt [new file with mode: 0644]

index 0d9c37b07ccfe82bf7d5e6cf477797f68c72ef18..37f68a9d3a5bfd184b061c0e408018baa122251d 100644 (file)
@@ -1,5 +1,12 @@
 group=org.sonarsource.sonarqube
 version=10.5
+
+# End Of Life date for the version. MMF-3763. format is yyyy-MM-dd
+# 6 months from the release date for non LTA versions
+# 30 months from the release date for LTA versions
+# No change required for patch versions
+versionEOL=2024-10-12
+
 pluginApiVersion=10.7.0.2191
 description=Open source platform for continuous inspection of code quality
 projectTitle=SonarQube
index 3731d7b28b0b887487e8ef21868be4fb75848db5..8b7216073edc22f9e6adc515a402277090bab755 100644 (file)
@@ -29,7 +29,8 @@ dependencies {
 import org.apache.tools.ant.filters.ReplaceTokens
 processResources {
   filter ReplaceTokens, tokens: [
-          'project.version': project.version
+          'project.version': project.version,
+          'versionEOL': project.properties["versionEOL"]
   ]
 }
 
diff --git a/sonar-plugin-api-impl/src/main/resources/sq-version-eol.txt b/sonar-plugin-api-impl/src/main/resources/sq-version-eol.txt
new file mode 100644 (file)
index 0000000..154f932
--- /dev/null
@@ -0,0 +1 @@
+@versionEOL@