|
55 | 55 | <!-- configuration for assembly of distributions -->
|
56 | 56 | <unpack.dir>${project.build.directory}/unpack</unpack.dir>
|
57 | 57 | <scanner.jar>${project.build.finalName}.jar</scanner.jar>
|
58 |
| - <jre.dirname.linux>jdk-17.0.13+11-jre</jre.dirname.linux> |
59 |
| - <jre.dirname.windows>jdk-17.0.13+11-jre</jre.dirname.windows> |
60 |
| - <jre.dirname.macosx>jdk-17.0.13+11-jre/Contents/Home</jre.dirname.macosx> |
| 58 | + <jre.dirname.linux.aarch64>jdk-17.0.15+6-jre</jre.dirname.linux.aarch64> |
| 59 | + <jre.dirname.linux.x64>jdk-17.0.15+6-jre</jre.dirname.linux.x64> |
| 60 | + <jre.dirname.macosx.aarch64>jdk-17.0.15+6-jre/Contents/Home</jre.dirname.macosx.aarch64> |
| 61 | + <jre.dirname.macosx.x64>jdk-17.0.15+6-jre/Contents/Home</jre.dirname.macosx.x64> |
| 62 | + <jre.dirname.windows>jdk-17.0.15+6-jre</jre.dirname.windows> |
61 | 63 |
|
62 | 64 | <!-- Release: enable publication to Bintray -->
|
63 | 65 | <artifactsToPublish>${project.groupId}:${project.artifactId}:zip,${project.groupId}:${project.artifactId}:zip:linux-x64,${project.groupId}:${project.artifactId}:zip:linux-aarch64,${project.groupId}:${project.artifactId}:zip:windows-x64,${project.groupId}:${project.artifactId}:zip:macosx-x64,${project.groupId}:${project.artifactId}:zip:macosx-aarch64,${project.groupId}:${project.artifactId}:json:cyclonedx</artifactsToPublish>
|
|
289 | 291 | <goal>wget</goal>
|
290 | 292 | </goals>
|
291 | 293 | <configuration>
|
292 |
| - <url>https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_x64_linux_hotspot_17.0.13_11.tar.gz</url> |
| 294 | + <url>https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jre_x64_linux_hotspot_17.0.15_6.tar.gz</url> |
293 | 295 | <unpack>true</unpack>
|
294 | 296 | <outputDirectory>${unpack.dir}/linux-x64</outputDirectory>
|
295 |
| - <sha256>4086cc7cb2d9e7810141f255063caad10a8a018db5e6b47fa5394c506ab65bff</sha256> |
| 297 | + <sha256>aaed740c38ff1e87a4b920f9deb165d419d9fdf23f423740d2ecb280eeab9647</sha256> |
296 | 298 | </configuration>
|
297 | 299 | </execution>
|
298 | 300 | </executions>
|
|
319 | 321 | </execution>
|
320 | 322 | </executions>
|
321 | 323 | </plugin>
|
| 324 | + <plugin> |
| 325 | + <groupId>org.apache.maven.plugins</groupId> |
| 326 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 327 | + <executions> |
| 328 | + <execution> |
| 329 | + <id>enforce-linux-x64-distribution-size</id> |
| 330 | + <goals> |
| 331 | + <goal>enforce</goal> |
| 332 | + </goals> |
| 333 | + <phase>verify</phase> |
| 334 | + <configuration> |
| 335 | + <rules> |
| 336 | + <requireFilesSize> |
| 337 | + <!-- Should be big enough to confirm the JRE was bundled --> |
| 338 | + <minsize>50000000</minsize> |
| 339 | + <maxsize>60000000</maxsize> |
| 340 | + <files> |
| 341 | + <file>${project.build.directory}/sonar-scanner-${project.version}-linux-x64.zip</file> |
| 342 | + </files> |
| 343 | + </requireFilesSize> |
| 344 | + </rules> |
| 345 | + </configuration> |
| 346 | + </execution> |
| 347 | + </executions> |
| 348 | + </plugin> |
322 | 349 | </plugins>
|
323 | 350 | </build>
|
324 | 351 | </profile>
|
|
337 | 364 | <goal>wget</goal>
|
338 | 365 | </goals>
|
339 | 366 | <configuration>
|
340 |
| - <url>https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.13_11.tar.gz</url> |
| 367 | + <url>https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.15_6.tar.gz</url> |
341 | 368 | <unpack>true</unpack>
|
342 | 369 | <outputDirectory>${unpack.dir}/linux-aarch64</outputDirectory>
|
343 |
| - <sha256>97c4fb748eaa1292fb2f28fec90a3eba23e35974ef67f8b3aa304ad4db2ba162</sha256> |
| 370 | + <sha256>c89467f543bd434b71f3b748adeeeb1b2692f90242824b78205be1ae72ba385f</sha256> |
344 | 371 | </configuration>
|
345 | 372 | </execution>
|
346 | 373 | </executions>
|
|
367 | 394 | </execution>
|
368 | 395 | </executions>
|
369 | 396 | </plugin>
|
| 397 | + <plugin> |
| 398 | + <groupId>org.apache.maven.plugins</groupId> |
| 399 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 400 | + <executions> |
| 401 | + <execution> |
| 402 | + <id>enforce-linux-aarch64-distribution-size</id> |
| 403 | + <goals> |
| 404 | + <goal>enforce</goal> |
| 405 | + </goals> |
| 406 | + <phase>verify</phase> |
| 407 | + <configuration> |
| 408 | + <rules> |
| 409 | + <requireFilesSize> |
| 410 | + <!-- Should be big enough to confirm the JRE was bundled --> |
| 411 | + <minsize>50000000</minsize> |
| 412 | + <maxsize>60000000</maxsize> |
| 413 | + <files> |
| 414 | + <file>${project.build.directory}/sonar-scanner-${project.version}-linux-aarch64.zip</file> |
| 415 | + </files> |
| 416 | + </requireFilesSize> |
| 417 | + </rules> |
| 418 | + </configuration> |
| 419 | + </execution> |
| 420 | + </executions> |
| 421 | + </plugin> |
370 | 422 | </plugins>
|
371 | 423 | </build>
|
372 | 424 | </profile>
|
|
385 | 437 | <goal>wget</goal>
|
386 | 438 | </goals>
|
387 | 439 | <configuration>
|
388 |
| - <url>https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_x64_windows_hotspot_17.0.13_11.zip</url> |
| 440 | + <url>https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jre_x64_windows_hotspot_17.0.15_6.zip</url> |
389 | 441 | <unpack>true</unpack>
|
390 | 442 | <outputDirectory>${unpack.dir}/windows-x64</outputDirectory>
|
391 |
| - <sha256>11a61a94d383e755b08b4e5890a13d148bc9f95b7149cbbeec62efb8c75a4a67</sha256> |
| 443 | + <sha256>4380136495b1aebf10593a94c98babd632155e5ace3fa5b1a1a3b79d6fbe2e99</sha256> |
392 | 444 | </configuration>
|
393 | 445 | </execution>
|
394 | 446 | </executions>
|
|
415 | 467 | </execution>
|
416 | 468 | </executions>
|
417 | 469 | </plugin>
|
| 470 | + <plugin> |
| 471 | + <groupId>org.apache.maven.plugins</groupId> |
| 472 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 473 | + <executions> |
| 474 | + <execution> |
| 475 | + <id>enforce-windows-x64-distribution-size</id> |
| 476 | + <goals> |
| 477 | + <goal>enforce</goal> |
| 478 | + </goals> |
| 479 | + <phase>verify</phase> |
| 480 | + <configuration> |
| 481 | + <rules> |
| 482 | + <requireFilesSize> |
| 483 | + <!-- Should be big enough to confirm the JRE was bundled --> |
| 484 | + <minsize>50000000</minsize> |
| 485 | + <maxsize>60000000</maxsize> |
| 486 | + <files> |
| 487 | + <file>${project.build.directory}/sonar-scanner-${project.version}-windows-x64.zip</file> |
| 488 | + </files> |
| 489 | + </requireFilesSize> |
| 490 | + </rules> |
| 491 | + </configuration> |
| 492 | + </execution> |
| 493 | + </executions> |
| 494 | + </plugin> |
418 | 495 | </plugins>
|
419 | 496 | </build>
|
420 | 497 | </profile>
|
|
433 | 510 | <goal>wget</goal>
|
434 | 511 | </goals>
|
435 | 512 | <configuration>
|
436 |
| - <url>https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_x64_mac_hotspot_17.0.13_11.tar.gz</url> |
| 513 | + <url>https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jre_x64_mac_hotspot_17.0.15_6.tar.gz</url> |
437 | 514 | <unpack>true</unpack>
|
438 | 515 | <outputDirectory>${unpack.dir}/macosx-x64</outputDirectory>
|
439 |
| - <sha256>bf9faf4540001a251e6bfb52b99c7ec5b1f36d3ebe94e104f61a30f173ba8c78</sha256> |
| 516 | + <sha256>38f7bb3faaa3aec90290e6dd912a050cc895ee2aa8fb9d8ea6aac86822bb108b</sha256> |
440 | 517 | </configuration>
|
441 | 518 | </execution>
|
442 | 519 | </executions>
|
|
463 | 540 | </execution>
|
464 | 541 | </executions>
|
465 | 542 | </plugin>
|
| 543 | + <plugin> |
| 544 | + <groupId>org.apache.maven.plugins</groupId> |
| 545 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 546 | + <executions> |
| 547 | + <execution> |
| 548 | + <id>enforce-macosx-x64-distribution-size</id> |
| 549 | + <goals> |
| 550 | + <goal>enforce</goal> |
| 551 | + </goals> |
| 552 | + <phase>verify</phase> |
| 553 | + <configuration> |
| 554 | + <rules> |
| 555 | + <requireFilesSize> |
| 556 | + <!-- Should be big enough to confirm the JRE was bundled --> |
| 557 | + <minsize>49000000</minsize> |
| 558 | + <maxsize>60000000</maxsize> |
| 559 | + <files> |
| 560 | + <file>${project.build.directory}/sonar-scanner-${project.version}-macosx-x64.zip</file> |
| 561 | + </files> |
| 562 | + </requireFilesSize> |
| 563 | + </rules> |
| 564 | + </configuration> |
| 565 | + </execution> |
| 566 | + </executions> |
| 567 | + </plugin> |
466 | 568 | </plugins>
|
467 | 569 | </build>
|
468 | 570 | </profile>
|
|
481 | 583 | <goal>wget</goal>
|
482 | 584 | </goals>
|
483 | 585 | <configuration>
|
484 |
| - <url>https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_aarch64_mac_hotspot_17.0.13_11.tar.gz</url> |
| 586 | + <url>https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jre_aarch64_mac_hotspot_17.0.15_6.tar.gz</url> |
485 | 587 | <unpack>true</unpack>
|
486 | 588 | <outputDirectory>${unpack.dir}/macosx-aarch64</outputDirectory>
|
487 |
| - <sha256>a886b8f2a50eca2e59b45ea59f5a2e8e9d27ff5b5b3b069443a70cda7f27c907</sha256> |
| 589 | + <sha256>2eb9548fbed1031355ca11a35b5a297e9872edd1dafacb40294f0c1a6677bbfb</sha256> |
488 | 590 | </configuration>
|
489 | 591 | </execution>
|
490 | 592 | </executions>
|
|
511 | 613 | </execution>
|
512 | 614 | </executions>
|
513 | 615 | </plugin>
|
| 616 | + <plugin> |
| 617 | + <groupId>org.apache.maven.plugins</groupId> |
| 618 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 619 | + <executions> |
| 620 | + <execution> |
| 621 | + <id>enforce-macosx-aarch64-distribution-size</id> |
| 622 | + <goals> |
| 623 | + <goal>enforce</goal> |
| 624 | + </goals> |
| 625 | + <phase>verify</phase> |
| 626 | + <configuration> |
| 627 | + <rules> |
| 628 | + <requireFilesSize> |
| 629 | + <!-- Should be big enough to confirm the JRE was bundled --> |
| 630 | + <minsize>49000000</minsize> |
| 631 | + <maxsize>60000000</maxsize> |
| 632 | + <files> |
| 633 | + <file>${project.build.directory}/sonar-scanner-${project.version}-macosx-aarch64.zip</file> |
| 634 | + </files> |
| 635 | + </requireFilesSize> |
| 636 | + </rules> |
| 637 | + </configuration> |
| 638 | + </execution> |
| 639 | + </executions> |
| 640 | + </plugin> |
514 | 641 | </plugins>
|
515 | 642 | </build>
|
516 | 643 | </profile>
|
|
0 commit comments