|
12 | 12 |
|
13 | 13 | <properties> |
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | + <sonar.api.version>9.14.0.375</sonar.api.version> |
| 16 | + <sonar.addons.version>10.6.0.92116</sonar.addons.version> |
| 17 | + <commons.lang3.version>3.14.0</commons.lang3.version> |
| 18 | + <gson.version>2.11.0</gson.version> |
| 19 | + <junit.jupiter.api.version>5.11.0-M2</junit.jupiter.api.version> |
| 20 | + <jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version> |
| 21 | + <jdk.version>17</jdk.version> |
15 | 22 | <pluginUrl>https://cnes.fr</pluginUrl> |
16 | 23 | <pluginOrganizationName>CNES</pluginOrganizationName> |
17 | 24 | </properties> |
|
50 | 57 | <dependency> |
51 | 58 | <groupId>org.sonarsource.api.plugin</groupId> |
52 | 59 | <artifactId>sonar-plugin-api</artifactId> |
53 | | - <version>9.14.0.375</version> |
| 60 | + <version>${sonar.api.version}</version> |
54 | 61 | <scope>provided</scope> |
55 | 62 | </dependency> |
56 | 63 | <!-- https://mvnrepository.com/artifact/org.sonarsource.sonarqube/sonar-ws --> |
57 | 64 | <dependency> |
58 | 65 | <groupId>org.sonarsource.sonarqube</groupId> |
59 | 66 | <artifactId>sonar-ws</artifactId> |
60 | | - <version>10.6.0.92116</version> |
| 67 | + <version>${sonar.addons.version}</version> |
61 | 68 | </dependency> |
62 | 69 | <!-- https://mvnrepository.com/artifact/org.sonarsource.sonarqube/sonar-plugin-api-impl --> |
63 | 70 | <dependency> |
64 | 71 | <groupId>org.sonarsource.sonarqube</groupId> |
65 | 72 | <artifactId>sonar-plugin-api-impl</artifactId> |
66 | | - <version>10.6.0.92116</version> |
| 73 | + <version>${sonar.addons.version}</version> |
67 | 74 | <scope>test</scope> |
68 | 75 | </dependency> |
69 | 76 | <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 --> |
70 | 77 | <dependency> |
71 | 78 | <groupId>org.apache.commons</groupId> |
72 | 79 | <artifactId>commons-lang3</artifactId> |
73 | | - <version>3.14.0</version> |
| 80 | + <version>${commons.lang3.version}</version> |
74 | 81 | </dependency> |
75 | 82 | <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson --> |
76 | 83 | <dependency> |
77 | 84 | <groupId>com.google.code.gson</groupId> |
78 | 85 | <artifactId>gson</artifactId> |
79 | | - <version>2.11.0</version> |
| 86 | + <version>${gson.version}</version> |
80 | 87 | </dependency> |
81 | 88 |
|
82 | 89 |
|
|
85 | 92 | <dependency> |
86 | 93 | <groupId>org.sonarsource.sonarqube</groupId> |
87 | 94 | <artifactId>sonar-testing-harness</artifactId> |
88 | | - <version>10.6.0.92116</version> |
| 95 | + <version>${sonar.addons.version}</version> |
89 | 96 | <scope>test</scope> |
90 | 97 | </dependency> |
91 | 98 | <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api --> |
92 | 99 | <dependency> |
93 | 100 | <groupId>org.junit.jupiter</groupId> |
94 | 101 | <artifactId>junit-jupiter-api</artifactId> |
95 | | - <version>5.11.0-M2</version> |
| 102 | + <version>${junit.jupiter.api.version}</version> |
96 | 103 | <scope>test</scope> |
97 | 104 | </dependency> |
98 | 105 | </dependencies> |
|
115 | 122 | <artifactId>maven-compiler-plugin</artifactId> |
116 | 123 | <version>3.13.0</version> |
117 | 124 | <configuration> |
118 | | - <source>17</source> |
119 | | - <target>17</target> |
| 125 | + <source>${jdk.version}</source> |
| 126 | + <target>${jdk.version}</target> |
120 | 127 | </configuration> |
121 | 128 | </plugin> |
122 | 129 | <plugin> |
|
133 | 140 | <plugin> |
134 | 141 | <groupId>org.jacoco</groupId> |
135 | 142 | <artifactId>jacoco-maven-plugin</artifactId> |
136 | | - <version>0.8.12</version> |
| 143 | + <version>${jacoco-maven-plugin.version}</version> |
137 | 144 | <executions> |
138 | 145 | <execution> |
139 | 146 | <id>prepare-agent</id> |
|
0 commit comments