Skip to content

Commit 1050c0d

Browse files
authored
Fix build error Java 25 (#688)
1 parent d0f1d66 commit 1050c0d

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

pom.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@
135135
</dependency>
136136
<dependency>
137137
<groupId>org.immutables</groupId>
138-
<artifactId>value</artifactId>
138+
<artifactId>value-annotations</artifactId>
139139
<version>2.9.3</version>
140-
<scope>provided</scope>
140+
<scope>provided</scope> <!-- compile only -->
141141
</dependency>
142142
<dependency>
143143
<groupId>org.slf4j</groupId>
@@ -331,10 +331,18 @@
331331
<!-- org.apache.maven.plugins:maven-compiler-plugin -->
332332
<plugin>
333333
<artifactId>maven-compiler-plugin</artifactId>
334-
<version>3.10.1</version>
334+
<version>3.15.0</version>
335335
<configuration>
336336
<source>${maven.compiler.source}</source>
337337
<target>${maven.compiler.target}</target>
338+
339+
<annotationProcessorPaths>
340+
<path>
341+
<groupId>org.immutables</groupId>
342+
<artifactId>value</artifactId> <!-- contains the annotation processor -->
343+
<version>2.9.3</version>
344+
</path>
345+
</annotationProcessorPaths>
338346
</configuration>
339347
</plugin>
340348

@@ -434,7 +442,7 @@
434442
<!-- org.jacoco:jacoc-maven-plugin -->
435443
<plugin>
436444
<groupId>org.jacoco</groupId>
437-
<version>0.8.10</version>
445+
<version>0.8.14</version>
438446
<artifactId>jacoco-maven-plugin</artifactId>
439447
<executions>
440448
<execution>

xrpl4j-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</dependency>
4848
<dependency>
4949
<groupId>org.immutables</groupId>
50-
<artifactId>value</artifactId>
50+
<artifactId>value-annotations</artifactId>
5151
</dependency>
5252
<dependency>
5353
<groupId>org.slf4j</groupId>

xrpl4j-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</dependency>
4040
<dependency>
4141
<groupId>org.immutables</groupId>
42-
<artifactId>value</artifactId>
42+
<artifactId>value-annotations</artifactId>
4343
</dependency>
4444
<dependency>
4545
<groupId>com.fasterxml.jackson.core</groupId>

xrpl4j-core/src/main/java/org/xrpl/xrpl4j/model/transactions/NfTokenMint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static ImmutableNfTokenMint.Builder builder() {
5656
* multiple tokens. The implementation reserves taxon identifiers greater
5757
* than or equal to 2147483648 (0x80000000).
5858
*
59-
* @return Taxon of type {@link int} associated with the Token.
59+
* @return Taxon of type {@link UnsignedLong} associated with the Token.
6060
*/
6161
@JsonProperty("NFTokenTaxon")
6262
UnsignedLong tokenTaxon();

xrpl4j-integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</dependency>
3636
<dependency>
3737
<groupId>org.immutables</groupId>
38-
<artifactId>value</artifactId>
38+
<artifactId>value-annotations</artifactId>
3939
<scope>test</scope>
4040
</dependency>
4141
<dependency>

0 commit comments

Comments
 (0)