|
53 | 53 | <!-- max version with SonarQube 10.0 : check lib/extension directory --> |
54 | 54 | <sonarpython.version>4.1.0.11333</sonarpython.version> |
55 | 55 |
|
56 | | - <sonar-packaging.version>1.21.0.505</sonar-packaging.version> |
| 56 | + <sonar-packaging.version>1.23.0.740</sonar-packaging.version> |
57 | 57 | <sonar.skipDependenciesPackaging>true</sonar.skipDependenciesPackaging> |
58 | 58 |
|
59 | 59 | <mockito.version>5.3.1</mockito.version> |
60 | 60 |
|
61 | 61 | <!-- temporary version waiting for real automatic release in ecocode repository --> |
62 | | - <ecocode-rules-specifications.version>0.0.6</ecocode-rules-specifications.version> |
| 62 | + <ecocode-rules-specifications.version>0.0.7</ecocode-rules-specifications.version> |
63 | 63 |
|
64 | 64 | <sonar-analyzer-commons.version>2.5.0.1358</sonar-analyzer-commons.version> |
65 | 65 |
|
|
181 | 181 | <extensions>true</extensions> |
182 | 182 | <configuration> |
183 | 183 | <pluginKey>ecocodepython</pluginKey> |
184 | | - <pluginName>${project.name}</pluginName> |
185 | 184 | <pluginClass>fr.greencodeinitiative.python.PythonPlugin</pluginClass> |
186 | 185 | <sonarLintSupported>true</sonarLintSupported> |
187 | | - <sonarQubeMinVersion>${sonarqube.version}</sonarQubeMinVersion> |
| 186 | + <pluginApiMinVersion>${sonarqube.version}</pluginApiMinVersion> |
188 | 187 | <jreMinVersion>${java.version}</jreMinVersion> |
| 188 | + <archive> |
| 189 | + <manifestEntries> |
| 190 | + <Implementation-Build>${buildNumber}</Implementation-Build> |
| 191 | + </manifestEntries> |
| 192 | + </archive> |
189 | 193 | </configuration> |
190 | 194 | </plugin> |
191 | 195 | <!-- To keep because of dependency sonar-analyzer-commons --> |
|
232 | 236 | </execution> |
233 | 237 | </executions> |
234 | 238 | </plugin> |
| 239 | + <plugin> |
| 240 | + <!-- plugin to generate a unique build number for sonar-packaging-maven-plugin : usage of buildNumber variable --> |
| 241 | + <groupId>org.codehaus.mojo</groupId> |
| 242 | + <artifactId>buildnumber-maven-plugin</artifactId> |
| 243 | + <version>3.1.0</version> |
| 244 | + <executions> |
| 245 | + <execution> |
| 246 | + <phase>validate</phase> |
| 247 | + <goals> |
| 248 | + <goal>create</goal> |
| 249 | + </goals> |
| 250 | + </execution> |
| 251 | + </executions> |
| 252 | + <configuration> |
| 253 | + <getRevisionOnlyOnce>true</getRevisionOnlyOnce> |
| 254 | + <revisionOnScmFailure>0</revisionOnScmFailure> |
| 255 | + </configuration> |
| 256 | + </plugin> |
235 | 257 | <plugin> |
236 | 258 | <groupId>com.mycila</groupId> |
237 | 259 | <artifactId>license-maven-plugin</artifactId> |
|
0 commit comments