Skip to content

Commit bb02782

Browse files
tonvanbartTon van Bart
andauthored
fix Mockito java agent warnings (#657)
- ensure every module inherits Mockito - resolve Mockito coord to real jar path - add jar to argline as per docs - bring ksml-runner in line with others Co-authored-by: Ton van Bart <ton@axual.com>
1 parent 7093541 commit bb02782

15 files changed

Lines changed: 36 additions & 54 deletions

File tree

ksml-data-avro-apicurio/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333
<artifactId>lombok</artifactId>
3434
</dependency>
3535
<!-- -->
36-
<dependency>
37-
<groupId>org.mockito</groupId>
38-
<artifactId>mockito-core</artifactId>
39-
<scope>test</scope>
40-
</dependency>
4136
<dependency>
4237
<groupId>org.mockito</groupId>
4338
<artifactId>mockito-junit-jupiter</artifactId>

ksml-data-avro-confluent/NOTICE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Lists of 45 third-party dependencies.
3737
(Apache License, Version 2.0) Apache HttpClient (org.apache.httpcomponents.client5:httpclient5:5.5 - https://hc.apache.org/httpcomponents-client-5.5.x/5.5/httpclient5/)
3838
(Apache License, Version 2.0) Apache HttpComponents Core HTTP/1.1 (org.apache.httpcomponents.core5:httpcore5:5.3.4 - https://hc.apache.org/httpcomponents-core-5.3.x/5.3.4/httpcore5/)
3939
(Apache License, Version 2.0) Apache HttpComponents Core HTTP/2 (org.apache.httpcomponents.core5:httpcore5-h2:5.3.4 - https://hc.apache.org/httpcomponents-core-5.3.x/5.3.4/httpcore5-h2/)
40-
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.0 - https://kafka.apache.org)
41-
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-streams:4.3.0 - https://kafka.apache.org)
40+
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.1 - https://kafka.apache.org)
41+
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-streams:4.3.1 - https://kafka.apache.org)
4242
(The Apache License, Version 2.0) JSpecify annotations (org.jspecify:jspecify:1.0.0 - http://jspecify.org/)
4343
(The MIT License) Project Lombok (org.projectlombok:lombok:1.18.46 - https://projectlombok.org)
4444
(Apache License 2.0) (GNU General Public License, version 2) RocksDB JNI (org.rocksdb:rocksdbjni:10.1.3 - https://rocksdb.org)

ksml-data-avro-confluent/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@
5858
<artifactId>assertj-core</artifactId>
5959
<scope>test</scope>
6060
</dependency>
61-
<dependency>
62-
<groupId>org.mockito</groupId>
63-
<artifactId>mockito-core</artifactId>
64-
<scope>test</scope>
65-
</dependency>
6661
</dependencies>
6762

6863
<build>

ksml-data-avro/NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Lists of 24 third-party dependencies.
1818
(Apache-2.0) Apache Avro (org.apache.avro:avro:1.12.1 - https://avro.apache.org)
1919
(Apache-2.0) Apache Commons Compress (org.apache.commons:commons-compress:1.28.0 - https://commons.apache.org/proper/commons-compress/)
2020
(Apache-2.0) Apache Commons Lang (org.apache.commons:commons-lang3:3.18.0 - https://commons.apache.org/proper/commons-lang/)
21-
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.0 - https://kafka.apache.org)
21+
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.1 - https://kafka.apache.org)
2222
(The Apache License, Version 2.0) JSpecify annotations (org.jspecify:jspecify:1.0.0 - http://jspecify.org/)
2323
(The MIT License) Project Lombok (org.projectlombok:lombok:1.18.46 - https://projectlombok.org)
2424
(MIT License) SLF4J API Module (org.slf4j:slf4j-api:2.1.0-alpha1 - http://www.slf4j.org)

ksml-data-csv/NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Lists of 20 third-party dependencies.
1414
(The Apache Software License, Version 2.0) Guava ListenableFuture only (com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava - https://github.com/google/guava/listenablefuture)
1515
(Apache License, Version 2.0) J2ObjC Annotations (com.google.j2objc:j2objc-annotations:3.1 - https://github.com/google/j2objc/)
1616
(Apache 2.0) KSML Data Library (io.axual.ksml:ksml-data:2.0.0-SNAPSHOT - https://github.com/Axual/ksml/ksml-data)
17-
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.0 - https://kafka.apache.org)
17+
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.1 - https://kafka.apache.org)
1818
(The Apache License, Version 2.0) JSpecify annotations (org.jspecify:jspecify:1.0.0 - http://jspecify.org/)
1919
(The MIT License) Project Lombok (org.projectlombok:lombok:1.18.46 - https://projectlombok.org)
2020
(MIT License) SLF4J API Module (org.slf4j:slf4j-api:2.1.0-alpha1 - http://www.slf4j.org)

ksml-data-jsonschema-apicurio/NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Lists of 31 third-party dependencies.
2424
(Apache 2.0) KSML Data Library (io.axual.ksml:ksml-data:2.0.0-SNAPSHOT - https://github.com/Axual/ksml/ksml-data)
2525
(Apache 2.0) KSML Data Library - JSON (io.axual.ksml:ksml-data-json:2.0.0-SNAPSHOT - https://github.com/Axual/ksml/ksml-data-json)
2626
(Apache 2.0) KSML Data Library - JSON Schema (io.axual.ksml:ksml-data-jsonschema:2.0.0-SNAPSHOT - https://github.com/Axual/ksml/ksml-data-jsonschema)
27-
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.0 - https://kafka.apache.org)
27+
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.1 - https://kafka.apache.org)
2828
(Public Domain) JSON in Java (org.json:json:20240303 - https://github.com/douglascrockford/JSON-java)
2929
(The Apache License, Version 2.0) JSpecify annotations (org.jspecify:jspecify:1.0.0 - http://jspecify.org/)
3030
(The MIT License) Project Lombok (org.projectlombok:lombok:1.18.46 - https://projectlombok.org)

ksml-data-jsonschema-apicurio/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@
2929
<artifactId>lombok</artifactId>
3030
</dependency>
3131
<!-- -->
32-
<dependency>
33-
<groupId>org.mockito</groupId>
34-
<artifactId>mockito-core</artifactId>
35-
<scope>test</scope>
36-
</dependency>
3732
<dependency>
3833
<groupId>org.mockito</groupId>
3934
<artifactId>mockito-junit-jupiter</artifactId>

ksml-data-jsonschema/NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Lists of 20 third-party dependencies.
1414
(Apache License, Version 2.0) J2ObjC Annotations (com.google.j2objc:j2objc-annotations:3.1 - https://github.com/google/j2objc/)
1515
(Apache 2.0) KSML Data Library (io.axual.ksml:ksml-data:2.0.0-SNAPSHOT - https://github.com/Axual/ksml/ksml-data)
1616
(Apache 2.0) KSML Data Library - JSON (io.axual.ksml:ksml-data-json:2.0.0-SNAPSHOT - https://github.com/Axual/ksml/ksml-data-json)
17-
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.0 - https://kafka.apache.org)
17+
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.1 - https://kafka.apache.org)
1818
(The Apache License, Version 2.0) JSpecify annotations (org.jspecify:jspecify:1.0.0 - http://jspecify.org/)
1919
(The MIT License) Project Lombok (org.projectlombok:lombok:1.18.46 - https://projectlombok.org)
2020
(MIT License) SLF4J API Module (org.slf4j:slf4j-api:2.1.0-alpha1 - http://www.slf4j.org)

ksml-data-protobuf-apicurio/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@
5151
<artifactId>junit-jupiter</artifactId>
5252
<scope>test</scope>
5353
</dependency>
54-
<dependency>
55-
<groupId>org.mockito</groupId>
56-
<artifactId>mockito-core</artifactId>
57-
<scope>test</scope>
58-
</dependency>
5954
<dependency>
6055
<groupId>org.mockito</groupId>
6156
<artifactId>mockito-junit-jupiter</artifactId>

ksml-data-xml/NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Lists of 23 third-party dependencies.
1515
(The Apache Software License, Version 2.0) Guava ListenableFuture only (com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava - https://github.com/google/guava/listenablefuture)
1616
(Apache License, Version 2.0) J2ObjC Annotations (com.google.j2objc:j2objc-annotations:3.1 - https://github.com/google/j2objc/)
1717
(Apache 2.0) KSML Data Library (io.axual.ksml:ksml-data:2.0.0-SNAPSHOT - https://github.com/Axual/ksml/ksml-data)
18-
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.0 - https://kafka.apache.org)
18+
(The Apache License, Version 2.0) Apache Kafka (org.apache.kafka:kafka-clients:4.3.1 - https://kafka.apache.org)
1919
(Apache-2.0) XmlSchema Core (org.apache.ws.xmlschema:xmlschema-core:2.3.2 - https://ws.apache.org/commons/xmlschema20/xmlschema-core/)
2020
(The BSD 2-Clause License) Stax2 API (org.codehaus.woodstox:stax2-api:4.3.0 - http://github.com/FasterXML/stax2-api)
2121
(The Apache License, Version 2.0) JSpecify annotations (org.jspecify:jspecify:1.0.0 - http://jspecify.org/)

0 commit comments

Comments
 (0)