|
20 | 20 |
|
21 | 21 | <selenium.version>4.34.0</selenium.version> |
22 | 22 | <selenium.devtools.artifactId>selenium-devtools-v138</selenium.devtools.artifactId> |
23 | | - <htmlunit.version>4.14.0-SNAPSHOT</htmlunit.version> |
| 23 | + <htmlunit.version>4.14.0</htmlunit.version> |
24 | 24 |
|
25 | 25 | <jetty.version>9.4.57.v20241219</jetty.version> |
26 | 26 |
|
27 | | - <central-publishing.version>0.8.0</central-publishing.version> |
| 27 | + <!-- test dependencies --> |
| 28 | + <junit.version>4.13.2</junit.version> |
28 | 29 |
|
29 | | - <checkstyle.version>10.25.1</checkstyle.version> |
| 30 | + <!-- quality --> |
| 31 | + <checkstyle.version>10.26.1</checkstyle.version> |
30 | 32 | <spotbugs.version>4.9.3</spotbugs.version> |
31 | 33 | <archunit.version>1.4.1</archunit.version> |
32 | | - <dependencycheck.version>12.1.1</dependencycheck.version> |
| 34 | + <dependencycheck.version>12.1.3</dependencycheck.version> |
| 35 | + |
| 36 | + <!-- plugins --> |
| 37 | + <central-publishing-plugin.version>0.8.0</central-publishing-plugin.version> |
| 38 | + <checkstyle-plugin.version>3.6.0</checkstyle-plugin.version> |
| 39 | + <spotbugs-plugin.version>4.9.3.2</spotbugs-plugin.version> |
| 40 | + <gpg-plugin.version>3.2.8</gpg-plugin.version> |
| 41 | + <enforcer-plugin.version>3.6.1</enforcer-plugin.version> |
| 42 | + <cyclonedx-plugin.version>2.9.1</cyclonedx-plugin.version> |
33 | 43 | </properties> |
34 | 44 |
|
35 | 45 | <licenses> |
|
175 | 185 | <dependency> |
176 | 186 | <groupId>junit</groupId> |
177 | 187 | <artifactId>junit</artifactId> |
178 | | - <version>4.13.2</version> |
| 188 | + <version>${junit.version}</version> |
179 | 189 | <scope>test</scope> |
180 | 190 | </dependency> |
181 | 191 | <dependency> |
|
208 | 218 | <plugin> |
209 | 219 | <groupId>org.apache.maven.plugins</groupId> |
210 | 220 | <artifactId>maven-checkstyle-plugin</artifactId> |
211 | | - <version>3.6.0</version> |
| 221 | + <version>${checkstyle-plugin.version}</version> |
212 | 222 | <configuration> |
213 | 223 | <configLocation>checkstyle.xml</configLocation> |
214 | 224 | <suppressionsLocation>checkstyle_suppressions.xml</suppressionsLocation> |
|
225 | 235 | <plugin> |
226 | 236 | <groupId>com.github.spotbugs</groupId> |
227 | 237 | <artifactId>spotbugs-maven-plugin</artifactId> |
228 | | - <version>4.9.3.0</version> |
| 238 | + <version>${spotbugs-plugin.version}</version> |
229 | 239 | <dependencies> |
230 | 240 | <dependency> |
231 | 241 | <groupId>com.github.spotbugs</groupId> |
|
281 | 291 | <plugin> |
282 | 292 | <groupId>org.apache.maven.plugins</groupId> |
283 | 293 | <artifactId>maven-gpg-plugin</artifactId> |
284 | | - <version>3.2.7</version> |
| 294 | + <version>${gpg-plugin.version}</version> |
285 | 295 | <executions> |
286 | 296 | <execution> |
287 | 297 | <phase>verify</phase> |
|
294 | 304 | <plugin> |
295 | 305 | <groupId>org.sonatype.central</groupId> |
296 | 306 | <artifactId>central-publishing-maven-plugin</artifactId> |
297 | | - <version>${central-publishing.version}</version> |
| 307 | + <version>${central-publishing-plugin.version}</version> |
298 | 308 | <extensions>true</extensions> |
299 | 309 | <configuration> |
300 | 310 | <publishingServerId>central</publishingServerId> |
301 | 311 | </configuration> |
302 | 312 | </plugin> |
303 | | - <!-- |
304 | 313 | <plugin> |
305 | 314 | <groupId>org.owasp</groupId> |
306 | 315 | <artifactId>dependency-check-maven</artifactId> |
|
319 | 328 | </execution> |
320 | 329 | </executions> |
321 | 330 | </plugin> |
322 | | - --> |
323 | 331 | <plugin> |
324 | 332 | <groupId>org.apache.maven.plugins</groupId> |
325 | 333 | <artifactId>maven-assembly-plugin</artifactId> |
|
341 | 349 | <plugin> |
342 | 350 | <groupId>org.apache.maven.plugins</groupId> |
343 | 351 | <artifactId>maven-enforcer-plugin</artifactId> |
344 | | - <version>3.5.0</version> |
| 352 | + <version>${enforcer-plugin.version}</version> |
345 | 353 | <executions> |
346 | 354 | <execution> |
347 | 355 | <id>enforce</id> |
|
363 | 371 | </execution> |
364 | 372 | </executions> |
365 | 373 | </plugin> |
| 374 | + <plugin> |
| 375 | + <groupId>org.cyclonedx</groupId> |
| 376 | + <artifactId>cyclonedx-maven-plugin</artifactId> |
| 377 | + <version>${cyclonedx-plugin.version}</version> |
| 378 | + <executions> |
| 379 | + <execution> |
| 380 | + <phase>package</phase> |
| 381 | + <goals> |
| 382 | + <goal>makeAggregateBom</goal> |
| 383 | + </goals> |
| 384 | + </execution> |
| 385 | + </executions> |
| 386 | + <configuration> |
| 387 | + <projectType>library</projectType> |
| 388 | + <outputFormat>json</outputFormat> |
| 389 | + <!-- strange but it helps --> |
| 390 | + <skipNotDeployed>false</skipNotDeployed> |
| 391 | + </configuration> |
| 392 | + </plugin> |
366 | 393 | </plugins> |
367 | 394 | </build> |
368 | 395 |
|
|
0 commit comments