|
28 | 28 | <url>http://github.com/hyperledger/fabric-sdk-java</url>
|
29 | 29 | </scm>
|
30 | 30 | <properties>
|
31 |
| - <grpc.version>1.56.0</grpc.version> |
| 31 | + <grpc.version>1.57.1</grpc.version> |
32 | 32 | <protobuf.version>3.22.5</protobuf.version> <!-- Must match version used by grpc-protobuf -->
|
33 |
| - <bouncycastle.version>1.74</bouncycastle.version> |
| 33 | + <bouncycastle.version>1.76</bouncycastle.version> |
34 | 34 | <httpclient.version>4.5.14</httpclient.version>
|
35 |
| - <javadoc.version>3.4.1</javadoc.version> |
| 35 | + <javadoc.version>3.5.0</javadoc.version> |
36 | 36 | <skipITs>true</skipITs>
|
37 | 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
38 | 38 | <jacoco.version>0.8.10</jacoco.version>
|
39 | 39 | <log4j.version>2.20.0</log4j.version>
|
40 | 40 | <org.hyperledger.fabric.sdktest.ITSuite>IntegrationSuite.java</org.hyperledger.fabric.sdktest.ITSuite>
|
41 | 41 | <gpg.executable>gpg</gpg.executable>
|
| 42 | + <javaVersion>8</javaVersion> |
42 | 43 | </properties>
|
43 | 44 |
|
44 |
| - <reporting> |
45 |
| - <plugins> |
46 |
| - <plugin> |
47 |
| - <groupId>org.apache.maven.plugins</groupId> |
48 |
| - <artifactId>maven-checkstyle-plugin</artifactId> |
49 |
| - <version>3.0.0</version> |
50 |
| - <reportSets> |
51 |
| - <reportSet> |
52 |
| - <reports> |
53 |
| - <report>checkstyle</report> |
54 |
| - </reports> |
55 |
| - </reportSet> |
56 |
| - </reportSets> |
57 |
| - <configuration> |
58 |
| - <suppressionsLocation>suppressions.xml</suppressionsLocation> |
59 |
| - <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression> |
60 |
| - </configuration> |
61 |
| - </plugin> |
62 |
| - <!-- https://mvnrepository.com/artifact/org.jacoco/jacoco-maven-plugin --> |
63 |
| - <plugin> |
64 |
| - <groupId>org.jacoco</groupId> |
65 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
66 |
| - <version>${jacoco.version}</version> |
67 |
| - </plugin> |
68 |
| - </plugins> |
69 |
| - </reporting> |
70 |
| - |
71 | 45 | <dependencyManagement>
|
72 | 46 | <dependencies>
|
73 | 47 | <dependency>
|
|
80 | 54 | <dependency>
|
81 | 55 | <groupId>io.opentelemetry</groupId>
|
82 | 56 | <artifactId>opentelemetry-bom</artifactId>
|
83 |
| - <version>1.27.0</version> |
| 57 | + <version>1.28.0</version> |
84 | 58 | <type>pom</type>
|
85 | 59 | <scope>import</scope>
|
86 | 60 | </dependency>
|
87 | 61 | <dependency>
|
88 | 62 | <groupId>io.opentelemetry.instrumentation</groupId>
|
89 | 63 | <artifactId>opentelemetry-instrumentation-bom-alpha</artifactId>
|
90 |
| - <version>1.27.0-alpha</version> |
| 64 | + <version>1.28.0-alpha</version> |
91 | 65 | <type>pom</type>
|
92 | 66 | <scope>import</scope>
|
93 | 67 | </dependency>
|
|
119 | 93 | <groupId>io.grpc</groupId>
|
120 | 94 | <artifactId>grpc-stub</artifactId>
|
121 | 95 | </dependency>
|
122 |
| - <dependency> <!-- necessary for Java 9+ --> |
123 |
| - <groupId>org.apache.tomcat</groupId> |
124 |
| - <artifactId>annotations-api</artifactId> |
125 |
| - <version>6.0.53</version> |
| 96 | + <dependency> |
| 97 | + <!-- Necessary for Java 9+ --> |
| 98 | + <groupId>jakarta.annotation</groupId> |
| 99 | + <artifactId>jakarta.annotation-api</artifactId> |
| 100 | + <version>2.1.1</version> |
126 | 101 | <scope>provided</scope>
|
127 | 102 | </dependency>
|
128 | 103 | <dependency>
|
|
199 | 174 | <dependency>
|
200 | 175 | <groupId>com.google.api</groupId>
|
201 | 176 | <artifactId>api-common</artifactId>
|
202 |
| - <version>2.12.0</version> |
| 177 | + <version>2.15.0</version> |
203 | 178 | </dependency>
|
204 | 179 |
|
205 |
| - <!-- https://mvnrepository.com/artifact/org.glassfish/javax.json --> |
206 | 180 | <dependency>
|
207 | 181 | <groupId>org.glassfish</groupId>
|
208 | 182 | <artifactId>javax.json</artifactId>
|
209 | 183 | <version>1.1.4</version>
|
210 | 184 | </dependency>
|
211 | 185 |
|
212 |
| - <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml --> |
213 | 186 | <dependency>
|
214 | 187 | <groupId>org.yaml</groupId>
|
215 | 188 | <artifactId>snakeyaml</artifactId>
|
216 | 189 | <version>2.0</version>
|
217 | 190 | </dependency>
|
218 | 191 |
|
219 |
| - <!-- https://mvnrepository.com/artifact/org.miracl.milagro.amcl/milagro-crypto-java --> |
220 | 192 | <dependency>
|
221 | 193 | <groupId>org.miracl.milagro.amcl</groupId>
|
222 | 194 | <artifactId>milagro-crypto-java</artifactId>
|
|
230 | 202 | <version>2.3.1</version>
|
231 | 203 | </dependency>
|
232 | 204 |
|
233 |
| - <dependency> |
234 |
| - <!-- Required if using Java 11+ as no longer bundled in the core libraries --> |
235 |
| - <groupId>javax.annotation</groupId> |
236 |
| - <artifactId>javax.annotation-api</artifactId> |
237 |
| - <version>1.3.2</version> |
238 |
| - </dependency> |
239 |
| - |
240 | 205 | <dependency>
|
241 | 206 | <groupId>io.opentelemetry</groupId>
|
242 | 207 | <artifactId>opentelemetry-api</artifactId>
|
|
297 | 262 | <plugin>
|
298 | 263 | <groupId>org.apache.maven.plugins</groupId>
|
299 | 264 | <artifactId>maven-surefire-plugin</artifactId>
|
300 |
| - <version>3.0.0-M7</version> |
| 265 | + <version>3.1.2</version> |
301 | 266 | <configuration>
|
302 | 267 | <argLine>${surefireArgLine}</argLine>
|
303 | 268 | <includes>
|
|
356 | 321 | <plugin>
|
357 | 322 | <groupId>org.apache.maven.plugins</groupId>
|
358 | 323 | <artifactId>maven-compiler-plugin</artifactId>
|
359 |
| - <version>3.10.1</version> |
| 324 | + <version>3.11.0</version> |
360 | 325 | <configuration>
|
361 |
| - <source>1.8</source> |
362 |
| - <target>1.8</target> |
| 326 | + <source>${javaVersion}</source> |
| 327 | + <target>${javaVersion}</target> |
363 | 328 | <showDeprecation>true</showDeprecation>
|
364 | 329 | <showWarnings>true</showWarnings>
|
365 | 330 | <compilerArgs>
|
|
427 | 392 | </execution>
|
428 | 393 | </executions>
|
429 | 394 | </plugin>
|
430 |
| - <plugin> |
431 |
| - <groupId>org.apache.maven.plugins</groupId> |
432 |
| - <artifactId>maven-checkstyle-plugin</artifactId> |
433 |
| - <version>3.0.0</version> |
434 |
| - <executions> |
435 |
| - <execution> |
436 |
| - <id>compile</id> |
437 |
| - <phase>compile</phase> |
438 |
| - <goals> |
439 |
| - <goal>check</goal> |
440 |
| - </goals> |
441 |
| - </execution> |
442 |
| - </executions> |
443 |
| - <configuration> |
444 |
| - <consoleOutput>true</consoleOutput> |
445 |
| - <logViolationsToConsole>true</logViolationsToConsole> |
446 |
| - <failOnViolation>true</failOnViolation> |
447 |
| - <failsOnError>true</failsOnError> |
448 |
| - <!--<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>--> |
449 |
| - <sourceDirectories> |
450 |
| - <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
451 |
| - </sourceDirectories> |
452 |
| - |
453 |
| - <configLocation>checkstyle-config.xml</configLocation> |
454 |
| - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
455 |
| - </configuration> |
456 |
| - </plugin> |
457 | 395 | <plugin>
|
458 | 396 | <groupId>org.jacoco</groupId>
|
459 | 397 | <artifactId>jacoco-maven-plugin</artifactId>
|
|
589 | 527 | <plugin>
|
590 | 528 | <groupId>org.apache.maven.plugins</groupId>
|
591 | 529 | <artifactId>maven-antrun-plugin</artifactId>
|
592 |
| - <version>1.8</version> |
| 530 | + <version>3.1.0</version> |
593 | 531 | <executions>
|
594 | 532 | <execution>
|
595 | 533 | <phase>generate-test-resources</phase>
|
596 | 534 | <configuration>
|
597 |
| - <tasks> |
| 535 | + <target> |
598 | 536 | <echo message="Creating diagnostic dump output directory"/>
|
599 | 537 | <mkdir dir="./target/diagDump"/>
|
600 |
| - </tasks> |
| 538 | + </target> |
601 | 539 | </configuration>
|
602 | 540 | <goals>
|
603 | 541 | <goal>run</goal>
|
|
640 | 578 | <plugin>
|
641 | 579 | <groupId>org.apache.maven.plugins</groupId>
|
642 | 580 | <artifactId>maven-source-plugin</artifactId>
|
643 |
| - <version>3.2.1</version> |
| 581 | + <version>3.3.0</version> |
644 | 582 | <executions>
|
645 | 583 | <execution>
|
646 | 584 | <id>attach-sources</id>
|
|
718 | 656 | <additionalJavadocOpts>--no-module-directories</additionalJavadocOpts>
|
719 | 657 | </properties>
|
720 | 658 | </profile>
|
| 659 | + <profile> |
| 660 | + <id>maven-compiler-release</id> |
| 661 | + <activation> |
| 662 | + <jdk>[9,)</jdk> |
| 663 | + </activation> |
| 664 | + <properties> |
| 665 | + <maven.compiler.release>${javaVersion}</maven.compiler.release> |
| 666 | + </properties> |
| 667 | + </profile> |
| 668 | + <profile> |
| 669 | + <id>checkstyle</id> |
| 670 | + <activation> |
| 671 | + <jdk>[11,)</jdk> |
| 672 | + </activation> |
| 673 | + <build> |
| 674 | + <plugins> |
| 675 | + <plugin> |
| 676 | + <groupId>org.apache.maven.plugins</groupId> |
| 677 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 678 | + <version>3.3.0</version> |
| 679 | + <executions> |
| 680 | + <execution> |
| 681 | + <id>validate</id> |
| 682 | + <phase>validate</phase> |
| 683 | + <goals> |
| 684 | + <goal>check</goal> |
| 685 | + </goals> |
| 686 | + </execution> |
| 687 | + </executions> |
| 688 | + <configuration> |
| 689 | + <consoleOutput>true</consoleOutput> |
| 690 | + <logViolationsToConsole>true</logViolationsToConsole> |
| 691 | + <failOnViolation>true</failOnViolation> |
| 692 | + <failsOnError>true</failsOnError> |
| 693 | + <configLocation>checkstyle-config.xml</configLocation> |
| 694 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 695 | + <!-- Specify source directories to avoid check of generated protobuf bindings --> |
| 696 | + <sourceDirectories> |
| 697 | + <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 698 | + <sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory> |
| 699 | + </sourceDirectories> |
| 700 | + </configuration> |
| 701 | + <dependencies> |
| 702 | + <dependency> |
| 703 | + <groupId>com.puppycrawl.tools</groupId> |
| 704 | + <artifactId>checkstyle</artifactId> |
| 705 | + <version>10.12.2</version> |
| 706 | + </dependency> |
| 707 | + </dependencies> |
| 708 | + </plugin> |
| 709 | + </plugins> |
| 710 | + </build> |
| 711 | + </profile> |
721 | 712 | <profile>
|
722 | 713 | <id>release</id>
|
723 | 714 | <build>
|
724 | 715 | <plugins>
|
725 | 716 | <plugin>
|
726 | 717 | <artifactId>maven-assembly-plugin</artifactId>
|
727 |
| - <version>3.4.2</version> |
| 718 | + <version>3.6.0</version> |
728 | 719 | <configuration>
|
729 | 720 | <descriptorRefs>
|
730 | 721 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
742 | 733 | <plugin>
|
743 | 734 | <groupId>org.apache.maven.plugins</groupId>
|
744 | 735 | <artifactId>maven-gpg-plugin</artifactId>
|
745 |
| - <version>3.0.1</version> |
| 736 | + <version>3.1.0</version> |
746 | 737 | <executions>
|
747 | 738 | <execution>
|
748 | 739 | <id>sign-artifacts</id>
|
|
0 commit comments