1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
4
5
<modelVersion >4.0.0</modelVersion >
5
6
6
7
<groupId >fr.cnes.sonar.plugins</groupId >
56
57
57
58
<properties >
58
59
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
59
- <jdk .version>17</jdk .version>
60
- <jdk .min.version>17</jdk .min.version>
61
- <jdk .max.version>17</jdk .max.version>
62
60
<maven .compiler.source>17</maven .compiler.source>
63
- <maven .compiler.target>17</maven .compiler.target>
64
- <sonar .apiVersion>9.8.0.203</sonar .apiVersion>
65
- <sonar .testingHarnessVersion>9.5.0.56709</sonar .testingHarnessVersion>
66
- <sonar .apiImplVersion>9.9.1.69595</sonar .apiImplVersion>
67
- <sonar .sslr-squid-bridge.version>2.6.1</sonar .sslr-squid-bridge.version>
68
- <sonar-packaging-maven-plugin .version>1.21.0.505</sonar-packaging-maven-plugin .version>
69
- <commons-lang .version>3.7</commons-lang .version>
70
- <gson .version>2.8.2</gson .version>
71
- <slf4j .version>1.7.25</slf4j .version>
72
- <junit .version>4.13.2</junit .version>
73
- <jacoco .version>0.8.10</jacoco .version>
61
+ <maven .compiler.target>23</maven .compiler.target>
62
+ <maven .compiler.release>17</maven .compiler.release>
63
+ <surefire .version>3.5.3</surefire .version>
64
+ <!-- Matrice: https://github.com/SonarSource/sonar-plugin-api -->
65
+ <sonar .plugin.api.version>9.14.0.375</sonar .plugin.api.version>
66
+ <sonar .version>9.9.0.65466</sonar .version>
74
67
<sonar .pluginKey>icode</sonar .pluginKey>
75
68
<sonar .pluginClass>fr.cnes.sonar.plugins.icode.ICodePlugin</sonar .pluginClass>
76
69
<sonar .pluginUrl>https://github.com/cnescatlab/sonar-icode-cnes-plugin</sonar .pluginUrl>
98
91
<dependency >
99
92
<groupId >org.sonarsource.api.plugin</groupId >
100
93
<artifactId >sonar-plugin-api</artifactId >
101
- <version >${sonar.apiVersion } </version >
94
+ <version >${sonar.plugin.api.version } </version >
102
95
<scope >provided</scope >
103
96
</dependency >
104
97
<dependency >
105
98
<groupId >fr.cnes.icode</groupId >
106
99
<artifactId >icode-library</artifactId >
107
100
<version >5.1.0</version >
108
- </dependency >
101
+ </dependency >
109
102
<dependency >
110
- <groupId >commons-lang </groupId >
111
- <artifactId >commons-lang </artifactId >
112
- <version >2.6 </version >
103
+ <groupId >org.apache. commons</groupId >
104
+ <artifactId >commons-lang3 </artifactId >
105
+ <version >3.17.0 </version >
113
106
</dependency >
114
107
<!-- unit tests -->
115
- <dependency >
108
+ <!-- < dependency>
116
109
<groupId>org.sonarsource.sonarqube</groupId>
117
110
<artifactId>sonar-testing-harness</artifactId>
118
- <version >${sonar.testingHarnessVersion } </version >
111
+ <version>${sonar.version }</version>
119
112
<scope>test</scope>
120
- </dependency >
113
+ </dependency> -->
121
114
<dependency >
122
115
<groupId >org.sonarsource.sonarqube</groupId >
123
116
<artifactId >sonar-plugin-api-impl</artifactId >
124
- <version >${sonar.apiImplVersion } </version >
117
+ <version >${sonar.version } </version >
125
118
</dependency >
126
119
<dependency >
127
120
<groupId >junit</groupId >
128
121
<artifactId >junit</artifactId >
129
- <version >4.11 </version >
122
+ <version >4.13.2 </version >
130
123
<scope >test</scope >
131
124
</dependency >
132
125
<dependency >
138
131
<dependency >
139
132
<groupId >com.thoughtworks.xstream</groupId >
140
133
<artifactId >xstream</artifactId >
141
- <version >1.4.18 </version >
134
+ <version >1.4.21 </version >
142
135
</dependency >
143
136
</dependencies >
144
137
145
138
<build >
139
+ <pluginManagement >
140
+ <plugins >
141
+ <plugin >
142
+ <groupId >org.apache.maven.plugins</groupId >
143
+ <artifactId >maven-clean-plugin</artifactId >
144
+ <version >3.4.1</version >
145
+ </plugin >
146
+ <plugin >
147
+ <groupId >org.apache.maven.plugins</groupId >
148
+ <artifactId >maven-resources-plugin</artifactId >
149
+ <version >3.3.1</version >
150
+ </plugin >
151
+ <plugin >
152
+ <groupId >org.apache.maven.plugins</groupId >
153
+ <artifactId >maven-compiler-plugin</artifactId >
154
+ <version >3.14.0</version >
155
+ </plugin >
156
+ <plugin >
157
+ <groupId >org.apache.maven.plugins</groupId >
158
+ <artifactId >maven-surefire-plugin</artifactId >
159
+ <version >${surefire.version} </version >
160
+ </plugin >
161
+ <plugin >
162
+ <groupId >org.jacoco</groupId >
163
+ <artifactId >jacoco-maven-plugin</artifactId >
164
+ <version >0.8.13</version >
165
+ </plugin >
166
+ <plugin >
167
+ <groupId >org.apache.maven.plugins</groupId >
168
+ <artifactId >maven-install-plugin</artifactId >
169
+ <version >3.1.4</version >
170
+ </plugin >
171
+ <plugin >
172
+ <groupId >org.apache.maven.plugins</groupId >
173
+ <artifactId >maven-deploy-plugin</artifactId >
174
+ <version >3.1.4</version >
175
+ </plugin >
176
+ <plugin >
177
+ <groupId >org.sonarsource.sonar-packaging-maven-plugin</groupId >
178
+ <artifactId >sonar-packaging-maven-plugin</artifactId >
179
+ <version >1.23.0.740</version >
180
+ </plugin >
181
+ <plugin >
182
+ <groupId >org.apache.maven.plugins</groupId >
183
+ <artifactId >maven-project-info-reports-plugin</artifactId >
184
+ <version >2.9</version >
185
+ </plugin >
186
+ </plugins >
187
+ </pluginManagement >
146
188
<plugins >
147
189
148
190
<plugin >
149
191
<groupId >org.sonarsource.sonar-packaging-maven-plugin</groupId >
150
192
<artifactId >sonar-packaging-maven-plugin</artifactId >
151
- <version >${sonar-packaging-maven-plugin.version} </version >
152
193
<extensions >true</extensions >
153
194
</plugin >
154
195
155
196
<plugin >
156
197
<groupId >org.apache.maven.plugins</groupId >
157
198
<artifactId >maven-compiler-plugin</artifactId >
158
- <version >3.10.1</version >
159
199
<configuration >
160
200
<source >${jdk.min.version} </source >
161
201
<target >${jdk.min.version} </target >
162
202
</configuration >
163
203
</plugin >
164
204
165
- <plugin >
166
- <!-- UTF-8 bundles are not supported by Java, so they must be converted during build -->
167
- <groupId >org.codehaus.mojo</groupId >
168
- <artifactId >native2ascii-maven-plugin</artifactId >
169
- <version >2.0.1</version >
170
- <executions >
171
- <execution >
172
- <goals >
173
- <goal >resources</goal >
174
- </goals >
175
- </execution >
176
- </executions >
177
- </plugin >
178
-
179
205
<plugin >
180
206
<groupId >org.apache.maven.plugins</groupId >
181
207
<artifactId >maven-project-info-reports-plugin</artifactId >
182
- <version >2.9</version >
183
208
<configuration >
184
209
<dependencyLocationsEnabled >false</dependencyLocationsEnabled >
185
210
</configuration >
188
213
<plugin >
189
214
<groupId >org.apache.maven.plugins</groupId >
190
215
<artifactId >maven-surefire-plugin</artifactId >
191
- <version >3.0.0-M4</version >
192
216
<dependencies >
193
217
<dependency >
194
218
<groupId >org.apache.maven.surefire</groupId >
195
219
<artifactId >surefire-junit47</artifactId >
196
- <version >3.0.0-M4 </version >
220
+ <version >${surefire.version} </version >
197
221
</dependency >
198
222
</dependencies >
199
223
</plugin >
200
224
201
225
<plugin >
202
226
<groupId >org.jacoco</groupId >
203
227
<artifactId >jacoco-maven-plugin</artifactId >
204
- <version >${jacoco.version} </version >
205
228
<executions >
206
229
<execution >
207
230
<id >prepare-agent</id >
234
257
235
258
</plugins >
236
259
</build >
237
-
238
-
239
- <dependencyManagement >
240
- <dependencies >
241
- <dependency >
242
- <groupId >junit</groupId >
243
- <artifactId >junit</artifactId >
244
- <version >${junit.version} </version >
245
- </dependency >
246
- </dependencies >
247
- </dependencyManagement >
248
- </project >
260
+ </project >
0 commit comments