Unable To Make connection to Google add API though Java 1.8 maven project
Describe the bug: Unable To Make connection to Google add API via java sdk 30.0.0, we have moved to latest build since older build was deprecated. Moved from v13 to v16
Steps to Reproduce: Use version
<!-- Google Ads SDK -->
<dependency>
<groupId>com.google.api-ads</groupId>
<artifactId>google-ads</artifactId>
<version>30.0.0</version>
</dependency>
as dependency
Code Block to run
private static List<ClickConversion> conversions = new ArrayList<>();
private static long lastUploadedTimeInMillis = System.currentTimeMillis();
public static boolean processGoogleEvent() {
Long customerId = 3714809556l;
String conversionDateTime = "2024-04-17 15:00:00.000";
double conversionValue = 1.0;
String currencyCode = "INR";
return uploadConversionToAdWords(customerId, 1025576305l, conversionDateTime,
conversionValue, currencyCode, "af_sub1");
}
public static boolean uploadConversionToAdWords(Long customerId, Long conversionActionId,
String conversionDateTime, Double conversionValue, String currencyCode, String gclid) {
Properties properties = new Properties();
properties.setProperty("api.googleads.clientId", "********");
properties.setProperty("api.googleads.clientSecret", "*********");
properties.setProperty("api.googleads.refreshToken", "***********");
properties.setProperty("api.googleads.developerToken", "**********");
try (
ConversionUploadServiceClient conversionUploadServiceClient = GoogleAdsClient.newBuilder()
.fromProperties(properties)
.build().getLatestVersion().createConversionUploadServiceClient()) {
System.out.println("uploadConversionToAdWords 2 "+ conversionValue);
// Constructs the conversion action resource name from the customer and conversion action IDs.
String conversionActionResourceName =
ResourceNames.conversionAction(customerId, conversionActionId);
// Creates the click conversion.
ClickConversion.Builder clickConversionBuilder =
ClickConversion.newBuilder()
.setConversionAction(conversionActionResourceName)
.setConversionDateTime(conversionDateTime)
.setConversionValue(conversionValue)
.setCurrencyCode(currencyCode);
clickConversionBuilder.setGclid(gclid);
ClickConversion clickConversion = clickConversionBuilder.build();
System.out.println("uploadConversionToAdWords 4 "+ conversionValue);
System.out.println("Uploading conversions " + conversions.size() + " " + lastUploadedTimeInMillis);
try {
conversions.add(clickConversion);
UploadClickConversionsResponse response =
conversionUploadServiceClient.uploadClickConversions(
UploadClickConversionsRequest.newBuilder()
.setCustomerId(Long.toString(customerId))
.addAllConversions(conversions)
// Enables partial failure (must be true).
.setPartialFailure(true)
.build());
// Prints any partial errors returned.
if (response.hasPartialFailureError()) {
GoogleAdsFailure googleAdsFailure =
ErrorUtils.getInstance().getGoogleAdsFailure(response.getPartialFailureError());
googleAdsFailure
.getErrorsList()
.forEach(e -> System.out.println("Partial failure occurred: " + e.getMessage()));
}
System.out.println("google ads upload response: " + response); // TODO : remove once the code is working in production. or change to debug log
ClickConversionResult result = response.getResults(0);
// Only prints valid results.
if (result.hasGclid()) {
System.out.println(String.format(
"Uploaded conversion that occurred at '%s' from Google Click ID '%s' to '%s'.%n",
result.getConversionDateTime(), result.getGclid(), result.getConversionAction()));
}
} catch (Exception e) {
System.out.println("error while uploading google conversions" + e);
}
conversions = new ArrayList<>();
lastUploadedTimeInMillis = System.currentTimeMillis();
return false;
}
}
public static void main(String[] args) {
processGoogleEvent();
}
Expected behavior:
must make connection, must allow to push events to google
Client library version and API version: Client library version: com.google.ads.googleads.v16.services Google Ads API version: 30.0.0 JDK version: 1.8
Request/Response Logs:
Response error logs attached error.log
Anything else we should know about your project / environment: We also use facebook ad manager which uses older version of guava, but we can take care of it later
Hi,
Since this is a dependency issue, could you share your dependency tree via the following command?
mvn dependency:tree
Thanks, Josh, Google Ads API Team
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ parent-campaign ---
[INFO] com.mpl.services:parent-campaign:pom:1.1.1-SNAPSHOT
[INFO] +- com.mpl.commons:lib-java-logging:jar:0.2:compile
[INFO] | \- org.slf4j:slf4j-log4j12:jar:1.8.0-beta2:compile
[INFO] | \- log4j:log4j:jar:1.2.17:compile
[INFO] +- com.mpl.commons:lib-server-configurations:jar:0.2.0:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.5:compile
[INFO] | +- com.mpl.commons:zookeeper:jar:0.2:compile
[INFO] | | +- org.apache.curator:curator-framework:jar:4.0.1:compile
[INFO] | | | \- org.apache.curator:curator-client:jar:4.0.1:compile
[INFO] | | | \- org.apache.zookeeper:zookeeper:jar:3.5.3-beta:compile
[INFO] | | | +- commons-cli:commons-cli:jar:1.2:compile
[INFO] | | | \- io.netty:netty:jar:3.10.5.Final:compile
[INFO] | | \- org.apache.curator:curator-recipes:jar:4.0.1:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.11.0:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.11.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.11.0:compile
[INFO] +- com.mpl.commons:lib-pathfinder:jar:1.2.16:compile
[INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | +- io.grpc:grpc-netty-shaded:jar:1.30.0:compile
[INFO] | | \- io.grpc:grpc-core:jar:1.30.0:compile (version selected from constraint [1.30.0,1.30.0])
[INFO] | | +- com.google.android:annotations:jar:4.1.1.4:runtime
[INFO] | | \- io.perfmark:perfmark-api:jar:0.19.0:runtime
[INFO] | +- io.grpc:grpc-protobuf:jar:1.30.0:compile
[INFO] | | +- io.grpc:grpc-api:jar:1.30.0:compile
[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | | +- com.google.protobuf:protobuf-java:jar:3.12.0:compile
[INFO] | | +- com.google.api.grpc:proto-google-common-protos:jar:1.17.0:compile
[INFO] | | +- io.grpc:grpc-protobuf-lite:jar:1.30.0:compile
[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile
[INFO] | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.18:runtime
[INFO] | +- io.grpc:grpc-stub:jar:1.30.0:compile
[INFO] | +- com.ecwid.consul:consul-api:jar:1.4.5:compile
[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.9:compile
[INFO] | | \- org.apache.httpcomponents:httpclient:jar:4.5.5:compile
[INFO] | +- com.google.guava:guava:jar:29.0-jre:compile
[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | | +- org.checkerframework:checker-qual:jar:2.11.1:compile
[INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] | +- io.opencensus:opencensus-api:jar:0.27.1:compile
[INFO] | | \- io.grpc:grpc-context:jar:1.27.2:compile
[INFO] | +- io.opencensus:opencensus-impl:jar:0.27.1:runtime
[INFO] | | +- io.opencensus:opencensus-impl-core:jar:0.27.1:runtime
[INFO] | | \- com.lmax:disruptor:jar:3.4.2:runtime
[INFO] | +- io.opencensus:opencensus-exporter-trace-zipkin:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-trace-util:jar:0.27.1:compile
[INFO] | | +- io.zipkin.reporter2:zipkin-reporter:jar:2.7.14:compile
[INFO] | | | \- io.zipkin.zipkin2:zipkin:jar:2.12.0:compile
[INFO] | | \- io.zipkin.reporter2:zipkin-sender-urlconnection:jar:2.7.14:compile
[INFO] | +- io.opencensus:opencensus-exporter-stats-prometheus:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-metrics-util:jar:0.27.1:compile
[INFO] | | \- io.prometheus:simpleclient:jar:0.6.0:compile
[INFO] | +- io.prometheus:simpleclient_httpserver:jar:0.3.0:compile
[INFO] | | \- io.prometheus:simpleclient_common:jar:0.3.0:compile
[INFO] | +- io.grpc:grpc-census:jar:1.30.0:compile
[INFO] | +- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.27.1:compile
[INFO] | +- io.dropwizard.metrics:metrics-core:jar:4.1.12.1:compile
[INFO] | +- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.6.1:compile
[INFO] | | +- io.vavr:vavr:jar:0.10.2:compile
[INFO] | | | \- io.vavr:vavr-match:jar:0.10.2:compile
[INFO] | | \- io.github.resilience4j:resilience4j-core:jar:1.6.1:compile
[INFO] | \- org.projectlombok:lombok:jar:1.18.12:compile
[INFO] +- com.mpl.commons:notification:jar:0.4:compile
[INFO] | +- com.amazonaws:aws-java-sdk-sns:jar:1.11.327:compile
[INFO] | | +- com.amazonaws:aws-java-sdk-sqs:jar:1.11.327:compile
[INFO] | | +- com.amazonaws:aws-java-sdk-core:jar:1.11.327:compile
[INFO] | | | +- software.amazon.ion:ion-java:jar:1.0.2:compile
[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.6.7:compile
[INFO] | | | \- joda-time:joda-time:jar:2.8.1:compile
[INFO] | | \- com.amazonaws:jmespath-java:jar:1.11.327:compile
[INFO] | +- org.json:json:jar:20090211:compile
[INFO] | \- commons-io:commons-io:jar:1.3.2:compile
[INFO] +- com.mpl.commons:lib-dbmigrations:jar:0.2:compile
[INFO] | +- org.apache.commons:commons-dbcp2:jar:2.4.0:compile
[INFO] | | +- org.apache.commons:commons-pool2:jar:2.5.0:compile
[INFO] | | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] | \- org.flywaydb:flyway-core:jar:7.3.2:compile
[INFO] +- com.mpl.commons:lib-vault:jar:1.0.0:compile
[INFO] | +- com.bettercloud:vault-java-driver:jar:5.1.0:compile
[INFO] | \- com.google.code.gson:gson:jar:2.8.9:compile
[INFO] \- org.cyclonedx:cyclonedx-core-java:jar:7.1.4:compile
[INFO] +- commons-codec:commons-codec:jar:1.15:compile
[INFO] +- com.github.package-url:packageurl-java:jar:1.4.1:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.2:compile
[INFO] | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] | \- com.fasterxml.woodstox:woodstox-core:jar:6.2.7:compile
[INFO] \- com.networknt:json-schema-validator:jar:1.0.69:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.7:compile
[INFO] \- com.ethlo.time:itu:jar:1.5.1:compile
[INFO]
[INFO] ------------------< com.mpl.services:protos-campaign >------------------
[INFO] Building protos-campaign 1.2.0-SNAPSHOT [2/3]
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from jcenter: https://jcenter.bintray.com/io/grpc/grpc-core/maven-metadata.xml
Downloaded from jcenter: https://jcenter.bintray.com/io/grpc/grpc-core/maven-metadata.xml (5.4 kB at 2.5 kB/s)
Downloading from jcenter: https://jcenter.bintray.com/io/grpc/grpc-api/maven-metadata.xml
Downloaded from jcenter: https://jcenter.bintray.com/io/grpc/grpc-api/maven-metadata.xml (3.8 kB at 8.7 kB/s)
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ protos-campaign ---
[INFO] com.mpl.services:protos-campaign:jar:1.2.0-SNAPSHOT
[INFO] +- com.mpl.services:protos-scheduler:jar:1.1.0:provided
[INFO] +- com.mpl.commons:lib-java-logging:jar:0.2:compile
[INFO] | \- org.slf4j:slf4j-log4j12:jar:1.8.0-beta2:compile
[INFO] | \- log4j:log4j:jar:1.2.17:compile
[INFO] +- com.mpl.commons:lib-server-configurations:jar:0.2.0:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.5:compile
[INFO] | +- com.mpl.commons:zookeeper:jar:0.2:compile
[INFO] | | +- org.apache.curator:curator-framework:jar:4.0.1:compile
[INFO] | | | \- org.apache.curator:curator-client:jar:4.0.1:compile
[INFO] | | | \- org.apache.zookeeper:zookeeper:jar:3.5.3-beta:compile
[INFO] | | | +- commons-cli:commons-cli:jar:1.2:compile
[INFO] | | | \- io.netty:netty:jar:3.10.5.Final:compile
[INFO] | | \- org.apache.curator:curator-recipes:jar:4.0.1:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.11.0:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.11.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.11.0:compile
[INFO] +- com.mpl.commons:lib-pathfinder:jar:1.2.16:compile
[INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | +- io.grpc:grpc-netty-shaded:jar:1.30.0:compile
[INFO] | | \- io.grpc:grpc-core:jar:1.30.0:compile (version selected from constraint [1.30.0,1.30.0])
[INFO] | | +- com.google.android:annotations:jar:4.1.1.4:runtime
[INFO] | | \- io.perfmark:perfmark-api:jar:0.19.0:runtime
[INFO] | +- io.grpc:grpc-protobuf:jar:1.30.0:compile
[INFO] | | +- io.grpc:grpc-api:jar:1.30.0:compile
[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | | +- com.google.protobuf:protobuf-java:jar:3.12.0:compile
[INFO] | | +- com.google.api.grpc:proto-google-common-protos:jar:1.17.0:compile
[INFO] | | +- io.grpc:grpc-protobuf-lite:jar:1.30.0:compile
[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile
[INFO] | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.18:runtime
[INFO] | +- io.grpc:grpc-stub:jar:1.30.0:compile
[INFO] | +- com.ecwid.consul:consul-api:jar:1.4.5:compile
[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.9:compile
[INFO] | | \- org.apache.httpcomponents:httpclient:jar:4.5.5:compile
[INFO] | +- com.google.guava:guava:jar:29.0-jre:compile
[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | | +- org.checkerframework:checker-qual:jar:2.11.1:compile
[INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] | +- io.opencensus:opencensus-api:jar:0.27.1:compile
[INFO] | | \- io.grpc:grpc-context:jar:1.27.2:compile
[INFO] | +- io.opencensus:opencensus-impl:jar:0.27.1:runtime
[INFO] | | +- io.opencensus:opencensus-impl-core:jar:0.27.1:runtime
[INFO] | | \- com.lmax:disruptor:jar:3.4.2:runtime
[INFO] | +- io.opencensus:opencensus-exporter-trace-zipkin:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-trace-util:jar:0.27.1:compile
[INFO] | | +- io.zipkin.reporter2:zipkin-reporter:jar:2.7.14:compile
[INFO] | | | \- io.zipkin.zipkin2:zipkin:jar:2.12.0:compile
[INFO] | | \- io.zipkin.reporter2:zipkin-sender-urlconnection:jar:2.7.14:compile
[INFO] | +- io.opencensus:opencensus-exporter-stats-prometheus:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-metrics-util:jar:0.27.1:compile
[INFO] | | \- io.prometheus:simpleclient:jar:0.6.0:compile
[INFO] | +- io.prometheus:simpleclient_httpserver:jar:0.3.0:compile
[INFO] | | \- io.prometheus:simpleclient_common:jar:0.3.0:compile
[INFO] | +- io.grpc:grpc-census:jar:1.30.0:compile
[INFO] | +- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.27.1:compile
[INFO] | +- io.dropwizard.metrics:metrics-core:jar:4.1.12.1:compile
[INFO] | +- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.6.1:compile
[INFO] | | +- io.vavr:vavr:jar:0.10.2:compile
[INFO] | | | \- io.vavr:vavr-match:jar:0.10.2:compile
[INFO] | | \- io.github.resilience4j:resilience4j-core:jar:1.6.1:compile
[INFO] | \- org.projectlombok:lombok:jar:1.18.12:compile
[INFO] +- com.mpl.commons:notification:jar:0.4:compile
[INFO] | +- com.amazonaws:aws-java-sdk-sns:jar:1.11.327:compile
[INFO] | | +- com.amazonaws:aws-java-sdk-sqs:jar:1.11.327:compile
[INFO] | | +- com.amazonaws:aws-java-sdk-core:jar:1.11.327:compile
[INFO] | | | +- software.amazon.ion:ion-java:jar:1.0.2:compile
[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.6.7:compile
[INFO] | | | \- joda-time:joda-time:jar:2.8.1:compile
[INFO] | | \- com.amazonaws:jmespath-java:jar:1.11.327:compile
[INFO] | +- org.json:json:jar:20090211:compile
[INFO] | \- commons-io:commons-io:jar:1.3.2:compile
[INFO] +- com.mpl.commons:lib-dbmigrations:jar:0.2:compile
[INFO] | +- org.apache.commons:commons-dbcp2:jar:2.4.0:compile
[INFO] | | +- org.apache.commons:commons-pool2:jar:2.5.0:compile
[INFO] | | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] | \- org.flywaydb:flyway-core:jar:7.3.2:compile
[INFO] +- com.mpl.commons:lib-vault:jar:1.0.0:compile
[INFO] | +- com.bettercloud:vault-java-driver:jar:5.1.0:compile
[INFO] | \- com.google.code.gson:gson:jar:2.8.9:compile
[INFO] \- org.cyclonedx:cyclonedx-core-java:jar:7.1.4:compile
[INFO] +- commons-codec:commons-codec:jar:1.15:compile
[INFO] +- com.github.package-url:packageurl-java:jar:1.4.1:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.2:compile
[INFO] | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] | \- com.fasterxml.woodstox:woodstox-core:jar:6.2.7:compile
[INFO] \- com.networknt:json-schema-validator:jar:1.0.69:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.7:compile
[INFO] \- com.ethlo.time:itu:jar:1.5.1:compile
[INFO]
[INFO] ---------------------< com.mpl.services:campaign >----------------------
[INFO] Building campaign 1.52.0-SNAPSHOT [3/3]
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from maven: https://repo.maven.apache.org/maven2/com/mpl/services/protos-campaign/1.2.0-SNAPSHOT/maven-metadata.xml
Downloading from mpl-central-backend-ro: https://m-central.mpl.live/repository/backend/com/mpl/services/protos-campaign/1.2.0-SNAPSHOT/maven-metadata.xml
Downloaded from mpl-central-backend-ro: https://m-central.mpl.live/repository/backend/com/mpl/services/protos-campaign/1.2.0-SNAPSHOT/maven-metadata.xml (781 B at 983 B/s)
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ campaign ---
Downloading from mpl-central-backend-ro: https://m-central.mpl.live/repository/backend/com/mpl/services/protos-campaign/1.2.0-SNAPSHOT/protos-campaign-1.2.0-20240417.112156-3.jar
Downloaded from mpl-central-backend-ro: https://m-central.mpl.live/repository/backend/com/mpl/services/protos-campaign/1.2.0-SNAPSHOT/protos-campaign-1.2.0-20240417.112156-3.jar (150 kB at 359 kB/s)
[INFO] com.mpl.services:campaign:jar:1.52.0-SNAPSHOT
[INFO] +- com.newrelic.agent.java:newrelic-java:zip:8.1.0:provided
[INFO] +- com.mpl.services:protos-campaign:jar:1.2.0-SNAPSHOT:compile
[INFO] +- com.mpl.services:protos-kyc:jar:1.3.0:compile
[INFO] +- com.mpl.services:protos-scheduler:jar:1.1.0:compile
[INFO] +- com.mpl.commons:lib-pathfinder:jar:1.4.1:compile
[INFO] | +- io.grpc:grpc-netty-shaded:jar:1.30.0:compile
[INFO] | | \- io.grpc:grpc-core:jar:1.30.0:compile (version selected from constraint [1.30.0,1.30.0])
[INFO] | | +- com.google.android:annotations:jar:4.1.1.4:runtime
[INFO] | | \- io.perfmark:perfmark-api:jar:0.19.0:runtime
[INFO] | +- io.grpc:grpc-protobuf:jar:1.30.0:compile
[INFO] | | +- io.grpc:grpc-api:jar:1.52.1:compile
[INFO] | | +- com.google.api.grpc:proto-google-common-protos:jar:1.17.0:compile
[INFO] | | +- io.grpc:grpc-protobuf-lite:jar:1.30.0:compile
[INFO] | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.18:runtime
[INFO] | +- io.grpc:grpc-stub:jar:1.30.0:compile
[INFO] | +- com.ecwid.consul:consul-api:jar:1.4.5:compile
[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.9:compile
[INFO] | +- com.google.guava:guava:jar:29.0-jre:compile
[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | | \- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | +- io.opencensus:opencensus-api:jar:0.27.1:compile
[INFO] | | \- io.grpc:grpc-context:jar:1.27.2:compile
[INFO] | +- io.opencensus:opencensus-impl:jar:0.27.1:runtime
[INFO] | | +- io.opencensus:opencensus-impl-core:jar:0.27.1:runtime
[INFO] | | \- com.lmax:disruptor:jar:3.4.2:runtime
[INFO] | +- io.opencensus:opencensus-exporter-trace-zipkin:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-trace-util:jar:0.27.1:compile
[INFO] | | +- io.zipkin.reporter2:zipkin-reporter:jar:2.7.14:compile
[INFO] | | | \- io.zipkin.zipkin2:zipkin:jar:2.12.0:compile
[INFO] | | \- io.zipkin.reporter2:zipkin-sender-urlconnection:jar:2.7.14:compile
[INFO] | +- io.opencensus:opencensus-exporter-stats-prometheus:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-metrics-util:jar:0.27.1:compile
[INFO] | | \- io.prometheus:simpleclient:jar:0.6.0:compile
[INFO] | +- io.prometheus:simpleclient_httpserver:jar:0.3.0:compile
[INFO] | | \- io.prometheus:simpleclient_common:jar:0.3.0:compile
[INFO] | +- io.grpc:grpc-census:jar:1.30.0:compile
[INFO] | +- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.27.1:compile
[INFO] | +- io.dropwizard.metrics:metrics-core:jar:4.1.12.1:compile
[INFO] | \- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.6.1:compile
[INFO] | +- io.vavr:vavr:jar:0.10.2:compile
[INFO] | | \- io.vavr:vavr-match:jar:0.10.2:compile
[INFO] | \- io.github.resilience4j:resilience4j-core:jar:1.6.1:compile
[INFO] +- com.mpl.commons:lib-feature-flags:jar:1.3.0:compile
[INFO] | \- org.togglz:togglz-zookeeper:jar:3.2.1:compile
[INFO] | \- org.togglz:togglz-core:jar:3.2.1:compile
[INFO] +- com.mpl.commons:lib-grpc-actuator:jar:1.0.3:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.36:compile
[INFO] +- com.amazonaws:aws-java-sdk-sts:jar:1.12.188:compile
[INFO] | \- com.amazonaws:jmespath-java:jar:1.12.188:compile
[INFO] +- org.testng:testng:jar:7.1.0:test
[INFO] | +- com.beust:jcommander:jar:1.72:test
[INFO] | +- com.google.inject:guice:jar:no_aop:4.1.0:test
[INFO] | | +- javax.inject:javax.inject:jar:1:test
[INFO] | | \- aopalliance:aopalliance:jar:1.0:test
[INFO] | \- org.yaml:snakeyaml:jar:1.21:compile
[INFO] +- com.mpl.commons:lib-java-logging:jar:0.2:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.31:compile
[INFO] | \- log4j:log4j:jar:1.2.17:compile
[INFO] +- com.squareup.retrofit2:retrofit:jar:2.9.0:compile
[INFO] | \- com.squareup.okhttp3:okhttp:jar:3.14.9:compile
[INFO] +- com.squareup.retrofit2:converter-jackson:jar:2.9.0:compile
[INFO] +- com.mpl.commons:notification:jar:0.4:compile
[INFO] | \- com.amazonaws:aws-java-sdk-sns:jar:1.12.188:compile
[INFO] | \- com.amazonaws:aws-java-sdk-sqs:jar:1.12.188:compile
[INFO] +- com.mpl.commons:zookeeper:jar:0.2:compile
[INFO] | +- org.apache.curator:curator-framework:jar:4.0.1:compile
[INFO] | | \- org.apache.curator:curator-client:jar:4.0.1:compile
[INFO] | | \- org.apache.zookeeper:zookeeper:jar:3.5.3-beta:compile
[INFO] | | +- commons-cli:commons-cli:jar:1.2:compile
[INFO] | | \- io.netty:netty:jar:3.10.5.Final:compile
[INFO] | \- org.apache.curator:curator-recipes:jar:4.0.1:compile
[INFO] +- org.json:json:jar:20090211:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.6:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile
[INFO] +- commons-io:commons-io:jar:1.3.2:compile
[INFO] +- org.postgresql:postgresql:jar:42.5.4:compile
[INFO] | \- org.checkerframework:checker-qual:jar:3.5.0:runtime
[INFO] +- org.apache.commons:commons-dbcp2:jar:2.4.0:compile
[INFO] | +- org.apache.commons:commons-pool2:jar:2.5.0:compile
[INFO] | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- com.amazonaws:aws-java-sdk-core:jar:1.12.188:compile
[INFO] | +- commons-codec:commons-codec:jar:1.15:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] | +- software.amazon.ion:ion-java:jar:1.0.2:compile
[INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.12.6:compile
[INFO] | \- joda-time:joda-time:jar:2.8.1:compile
[INFO] +- com.amazonaws:aws-java-sdk-s3:jar:1.12.188:compile
[INFO] | \- com.amazonaws:aws-java-sdk-kms:jar:1.12.188:compile
[INFO] +- org.projectlombok:lombok:jar:1.18.22:provided
[INFO] +- org.redisson:redisson:jar:3.10.6:compile
[INFO] | +- io.netty:netty-common:jar:4.1.34.Final:compile
[INFO] | +- io.netty:netty-codec:jar:4.1.34.Final:compile
[INFO] | +- io.netty:netty-buffer:jar:4.1.34.Final:compile
[INFO] | +- io.netty:netty-transport:jar:4.1.34.Final:compile
[INFO] | | \- io.netty:netty-resolver:jar:4.1.34.Final:compile
[INFO] | +- io.netty:netty-resolver-dns:jar:4.1.34.Final:compile
[INFO] | | \- io.netty:netty-codec-dns:jar:4.1.34.Final:compile
[INFO] | +- io.netty:netty-handler:jar:4.1.34.Final:compile
[INFO] | +- javax.cache:cache-api:jar:1.0.0:compile
[INFO] | +- io.projectreactor:reactor-core:jar:3.2.6.RELEASE:compile
[INFO] | | \- org.reactivestreams:reactive-streams:jar:1.0.2:compile
[INFO] | +- io.reactivex.rxjava2:rxjava:jar:2.2.7:compile
[INFO] | +- de.ruedigermoeller:fst:jar:2.57:compile
[INFO] | | +- org.javassist:javassist:jar:3.21.0-GA:compile
[INFO] | | \- org.objenesis:objenesis:jar:2.5.1:compile
[INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.8:compile
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.9.10:compile
[INFO] | \- org.jodd:jodd-bean:jar:5.0.10:compile
[INFO] | \- org.jodd:jodd-core:jar:5.0.10:compile
[INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
[INFO] +- com.google.protobuf:protobuf-java-util:jar:3.21.7:compile
[INFO] | +- com.google.protobuf:protobuf-java:jar:3.21.7:compile
[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.5.1:compile
[INFO] | +- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] | \- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] +- com.facebook.business.sdk:facebook-java-business-sdk:jar:10.0.0:compile
[INFO] | +- com.squareup.okio:okio:jar:2.1.0:compile
[INFO] | | \- org.jetbrains.kotlin:kotlin-stdlib:jar:1.2.60:runtime
[INFO] | | +- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.2.60:runtime
[INFO] | | \- org.jetbrains:annotations:jar:13.0:runtime
[INFO] | \- org.mockito:mockito-core:jar:3.5.11:compile
[INFO] | \- net.bytebuddy:byte-buddy-agent:jar:1.10.13:compile
[INFO] +- com.google.api-ads:google-ads:jar:30.0.0:compile
[INFO] | +- com.google.api:gax:jar:2.43.0:compile
[INFO] | | +- com.google.api:api-common:jar:2.26.0:compile
[INFO] | | \- org.threeten:threetenbp:jar:1.6.8:compile
[INFO] | +- com.google.api:gax-grpc:jar:2.43.0:compile
[INFO] | | +- io.grpc:grpc-inprocess:jar:1.61.1:compile
[INFO] | | +- io.grpc:grpc-alts:jar:1.61.1:compile
[INFO] | | | +- io.grpc:grpc-grpclb:jar:1.61.1:compile
[INFO] | | | \- org.conscrypt:conscrypt-openjdk-uber:jar:2.5.2:compile
[INFO] | | +- io.grpc:grpc-auth:jar:1.61.1:compile
[INFO] | | \- io.grpc:grpc-googleapis:jar:1.61.1:runtime
[INFO] | | \- io.grpc:grpc-xds:jar:1.61.1:runtime
[INFO] | | +- io.opencensus:opencensus-proto:jar:0.2.0:runtime
[INFO] | | +- io.grpc:grpc-util:jar:1.61.1:runtime
[INFO] | | +- io.grpc:grpc-services:jar:1.61.1:runtime
[INFO] | | \- com.google.re2j:re2j:jar:1.7:runtime
[INFO] | +- com.google.auth:google-auth-library-oauth2-http:jar:1.23.0:compile
[INFO] | | +- com.google.http-client:google-http-client:jar:1.43.3:compile
[INFO] | | | \- io.opencensus:opencensus-contrib-http-util:jar:0.31.1:compile
[INFO] | | \- com.google.http-client:google-http-client-gson:jar:1.43.3:compile
[INFO] | +- com.google.auth:google-auth-library-credentials:jar:1.23.0:compile
[INFO] | +- com.google.api-ads:google-ads-codegen:jar:30.0.0:compile
[INFO] | | +- com.google.api-ads:google-ads-stubs-lib:jar:30.0.0:compile
[INFO] | | +- com.google.api-ads:google-ads-stubs-v14:jar:30.0.0:compile
[INFO] | | +- com.google.api-ads:google-ads-stubs-v15:jar:30.0.0:compile
[INFO] | | +- com.google.api-ads:google-ads-stubs-v16:jar:30.0.0:compile
[INFO] | | \- com.squareup:javapoet:jar:1.11.1:runtime
[INFO] | +- com.google.auto.service:auto-service:jar:1.0.1:runtime
[INFO] | | +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime
[INFO] | | \- com.google.auto:auto-common:jar:1.2:runtime
[INFO] | \- com.google.auto.value:auto-value-annotations:jar:1.10.4:compile
[INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] +- com.mpl.services:protos-user-data:jar:1.1.0:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- com.mpl.commons:lib-server-configurations:jar:0.2.0:compile
[INFO] +- com.mpl.commons:lib-dbmigrations:jar:0.2:compile
[INFO] | \- org.flywaydb:flyway-core:jar:7.3.2:compile
[INFO] +- com.mpl.commons:lib-vault:jar:1.0.0:compile
[INFO] | \- com.bettercloud:vault-java-driver:jar:5.1.0:compile
[INFO] \- org.cyclonedx:cyclonedx-core-java:jar:7.1.4:compile
[INFO] +- com.github.package-url:packageurl-java:jar:1.4.1:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.2:compile
[INFO] | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] | \- com.fasterxml.woodstox:woodstox-core:jar:6.2.7:compile
[INFO] \- com.networknt:json-schema-validator:jar:1.0.69:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.7:compile
[INFO] \- com.ethlo.time:itu:jar:1.5.1:compile
check for dependency tree for --- maven-dependency-plugin:3.1.1:tree (default-cli) @ campaign ---
The dependency com.mpl.commons:lib-pathfinder:jar:1.4.1 is pulling in old versions of several libraries.
| dependency | yours | expected |
|---|---|---|
| io.grpc:grpc-api | 1.52.1 | 1.61.1 |
| io.grpc:grpc-context | 1.27.2 | 1.61.1 |
| io.grpc:grpc-netty-shaded | 1.30.0 | 1.61.1 |
| io.grpc:grpc-protobuf | 1.30.0 | 1.61.1 |
| io.grpc:grpc-protobuf-lite | 1.30.0 | 1.61.1 |
| io.grpc:grpc-stub | 1.30.0 | 1.61.1 |
| com.google.guava:guava | 29.0-jre | 32.1.3 |
| com.google.protobuf:protobuf-java | 3.21.7 | 3.25.2 |
| com.google.protobuf:protobuf-java-util | 3.21.7 | 3.25.2 |
I still find the same issue
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: x86_64
[INFO] os.detected.version: 10.16
[INFO] os.detected.version.major: 10
[INFO] os.detected.version.minor: 16
[INFO] os.detected.classifier: osx-x86_64
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] parent-campaign [pom]
[INFO] protos-campaign [jar]
[INFO] campaign [jar]
[INFO]
[INFO] ------------------< com.mpl.services:parent-campaign >------------------
[INFO] Building parent-campaign 1.1.1-SNAPSHOT [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ parent-campaign ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ parent-campaign ---
[INFO] com.mpl.services:parent-campaign:pom:1.1.1-SNAPSHOT
[INFO] +- com.mpl.commons:lib-java-logging:jar:0.2:compile
[INFO] | \- org.slf4j:slf4j-log4j12:jar:1.8.0-beta2:compile
[INFO] | \- log4j:log4j:jar:1.2.17:compile
[INFO] +- com.mpl.commons:lib-server-configurations:jar:0.2.0:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.5:compile
[INFO] | +- com.mpl.commons:zookeeper:jar:0.2:compile
[INFO] | | +- org.apache.curator:curator-framework:jar:4.0.1:compile
[INFO] | | | \- org.apache.curator:curator-client:jar:4.0.1:compile
[INFO] | | | \- org.apache.zookeeper:zookeeper:jar:3.5.3-beta:compile
[INFO] | | | +- commons-cli:commons-cli:jar:1.2:compile
[INFO] | | | \- io.netty:netty:jar:3.10.5.Final:compile
[INFO] | | \- org.apache.curator:curator-recipes:jar:4.0.1:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.11.0:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.11.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.11.0:compile
[INFO] +- com.mpl.commons:lib-pathfinder:jar:1.2.16:compile
[INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | +- io.grpc:grpc-netty-shaded:jar:1.30.0:compile
[INFO] | | \- io.grpc:grpc-core:jar:1.30.0:compile (version selected from constraint [1.30.0,1.30.0])
[INFO] | | +- com.google.android:annotations:jar:4.1.1.4:runtime
[INFO] | | \- io.perfmark:perfmark-api:jar:0.19.0:runtime
[INFO] | +- io.grpc:grpc-protobuf:jar:1.30.0:compile
[INFO] | | +- io.grpc:grpc-api:jar:1.30.0:compile
[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | | +- com.google.protobuf:protobuf-java:jar:3.12.0:compile
[INFO] | | +- com.google.api.grpc:proto-google-common-protos:jar:1.17.0:compile
[INFO] | | +- io.grpc:grpc-protobuf-lite:jar:1.30.0:compile
[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile
[INFO] | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.18:runtime
[INFO] | +- io.grpc:grpc-stub:jar:1.30.0:compile
[INFO] | +- com.ecwid.consul:consul-api:jar:1.4.5:compile
[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.9:compile
[INFO] | | \- org.apache.httpcomponents:httpclient:jar:4.5.5:compile
[INFO] | +- com.google.guava:guava:jar:29.0-jre:compile
[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | | +- org.checkerframework:checker-qual:jar:2.11.1:compile
[INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] | +- io.opencensus:opencensus-api:jar:0.27.1:compile
[INFO] | | \- io.grpc:grpc-context:jar:1.27.2:compile
[INFO] | +- io.opencensus:opencensus-impl:jar:0.27.1:runtime
[INFO] | | +- io.opencensus:opencensus-impl-core:jar:0.27.1:runtime
[INFO] | | \- com.lmax:disruptor:jar:3.4.2:runtime
[INFO] | +- io.opencensus:opencensus-exporter-trace-zipkin:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-trace-util:jar:0.27.1:compile
[INFO] | | +- io.zipkin.reporter2:zipkin-reporter:jar:2.7.14:compile
[INFO] | | | \- io.zipkin.zipkin2:zipkin:jar:2.12.0:compile
[INFO] | | \- io.zipkin.reporter2:zipkin-sender-urlconnection:jar:2.7.14:compile
[INFO] | +- io.opencensus:opencensus-exporter-stats-prometheus:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-metrics-util:jar:0.27.1:compile
[INFO] | | \- io.prometheus:simpleclient:jar:0.6.0:compile
[INFO] | +- io.prometheus:simpleclient_httpserver:jar:0.3.0:compile
[INFO] | | \- io.prometheus:simpleclient_common:jar:0.3.0:compile
[INFO] | +- io.grpc:grpc-census:jar:1.30.0:compile
[INFO] | +- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.27.1:compile
[INFO] | +- io.dropwizard.metrics:metrics-core:jar:4.1.12.1:compile
[INFO] | +- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.6.1:compile
[INFO] | | +- io.vavr:vavr:jar:0.10.2:compile
[INFO] | | | \- io.vavr:vavr-match:jar:0.10.2:compile
[INFO] | | \- io.github.resilience4j:resilience4j-core:jar:1.6.1:compile
[INFO] | \- org.projectlombok:lombok:jar:1.18.12:compile
[INFO] +- com.mpl.commons:notification:jar:0.4:compile
[INFO] | +- com.amazonaws:aws-java-sdk-sns:jar:1.11.327:compile
[INFO] | | +- com.amazonaws:aws-java-sdk-sqs:jar:1.11.327:compile
[INFO] | | +- com.amazonaws:aws-java-sdk-core:jar:1.11.327:compile
[INFO] | | | +- software.amazon.ion:ion-java:jar:1.0.2:compile
[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.6.7:compile
[INFO] | | | \- joda-time:joda-time:jar:2.8.1:compile
[INFO] | | \- com.amazonaws:jmespath-java:jar:1.11.327:compile
[INFO] | +- org.json:json:jar:20090211:compile
[INFO] | \- commons-io:commons-io:jar:1.3.2:compile
[INFO] +- com.mpl.commons:lib-dbmigrations:jar:0.2:compile
[INFO] | +- org.apache.commons:commons-dbcp2:jar:2.4.0:compile
[INFO] | | +- org.apache.commons:commons-pool2:jar:2.5.0:compile
[INFO] | | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] | \- org.flywaydb:flyway-core:jar:7.3.2:compile
[INFO] +- com.mpl.commons:lib-vault:jar:1.0.0:compile
[INFO] | +- com.bettercloud:vault-java-driver:jar:5.1.0:compile
[INFO] | \- com.google.code.gson:gson:jar:2.8.9:compile
[INFO] \- org.cyclonedx:cyclonedx-core-java:jar:7.1.4:compile
[INFO] +- commons-codec:commons-codec:jar:1.15:compile
[INFO] +- com.github.package-url:packageurl-java:jar:1.4.1:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.2:compile
[INFO] | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] | \- com.fasterxml.woodstox:woodstox-core:jar:6.2.7:compile
[INFO] \- com.networknt:json-schema-validator:jar:1.0.69:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.7:compile
[INFO] \- com.ethlo.time:itu:jar:1.5.1:compile
[INFO]
[INFO] ------------------< com.mpl.services:protos-campaign >------------------
[INFO] Building protos-campaign 1.2.0-SNAPSHOT [2/3]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ protos-campaign ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ protos-campaign ---
[INFO] com.mpl.services:protos-campaign:jar:1.2.0-SNAPSHOT
[INFO] +- com.mpl.services:protos-scheduler:jar:1.1.0:compile
[INFO] +- com.mpl.commons:lib-java-logging:jar:0.2:compile
[INFO] | \- org.slf4j:slf4j-log4j12:jar:1.8.0-beta2:compile
[INFO] | \- log4j:log4j:jar:1.2.17:compile
[INFO] +- com.mpl.commons:lib-server-configurations:jar:0.2.0:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.5:compile
[INFO] | +- com.mpl.commons:zookeeper:jar:0.2:compile
[INFO] | | +- org.apache.curator:curator-framework:jar:4.0.1:compile
[INFO] | | | \- org.apache.curator:curator-client:jar:4.0.1:compile
[INFO] | | | \- org.apache.zookeeper:zookeeper:jar:3.5.3-beta:compile
[INFO] | | | +- commons-cli:commons-cli:jar:1.2:compile
[INFO] | | | \- io.netty:netty:jar:3.10.5.Final:compile
[INFO] | | \- org.apache.curator:curator-recipes:jar:4.0.1:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.11.0:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.11.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.11.0:compile
[INFO] +- com.mpl.commons:lib-pathfinder:jar:1.2.16:compile
[INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | +- io.grpc:grpc-netty-shaded:jar:1.30.0:compile
[INFO] | | \- io.grpc:grpc-core:jar:1.30.0:compile (version selected from constraint [1.30.0,1.30.0])
[INFO] | | +- com.google.android:annotations:jar:4.1.1.4:runtime
[INFO] | | \- io.perfmark:perfmark-api:jar:0.19.0:runtime
[INFO] | +- io.grpc:grpc-protobuf:jar:1.30.0:compile
[INFO] | | +- io.grpc:grpc-api:jar:1.30.0:compile
[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | | +- com.google.protobuf:protobuf-java:jar:3.12.0:compile
[INFO] | | +- com.google.api.grpc:proto-google-common-protos:jar:1.17.0:compile
[INFO] | | +- io.grpc:grpc-protobuf-lite:jar:1.30.0:compile
[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile
[INFO] | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.18:runtime
[INFO] | +- io.grpc:grpc-stub:jar:1.30.0:compile
[INFO] | +- com.ecwid.consul:consul-api:jar:1.4.5:compile
[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.9:compile
[INFO] | | \- org.apache.httpcomponents:httpclient:jar:4.5.5:compile
[INFO] | +- com.google.guava:guava:jar:29.0-jre:compile
[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | | +- org.checkerframework:checker-qual:jar:2.11.1:compile
[INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] | +- io.opencensus:opencensus-api:jar:0.27.1:compile
[INFO] | | \- io.grpc:grpc-context:jar:1.27.2:compile
[INFO] | +- io.opencensus:opencensus-impl:jar:0.27.1:runtime
[INFO] | | +- io.opencensus:opencensus-impl-core:jar:0.27.1:runtime
[INFO] | | \- com.lmax:disruptor:jar:3.4.2:runtime
[INFO] | +- io.opencensus:opencensus-exporter-trace-zipkin:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-trace-util:jar:0.27.1:compile
[INFO] | | +- io.zipkin.reporter2:zipkin-reporter:jar:2.7.14:compile
[INFO] | | | \- io.zipkin.zipkin2:zipkin:jar:2.12.0:compile
[INFO] | | \- io.zipkin.reporter2:zipkin-sender-urlconnection:jar:2.7.14:compile
[INFO] | +- io.opencensus:opencensus-exporter-stats-prometheus:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-metrics-util:jar:0.27.1:compile
[INFO] | | \- io.prometheus:simpleclient:jar:0.6.0:compile
[INFO] | +- io.prometheus:simpleclient_httpserver:jar:0.3.0:compile
[INFO] | | \- io.prometheus:simpleclient_common:jar:0.3.0:compile
[INFO] | +- io.grpc:grpc-census:jar:1.30.0:compile
[INFO] | +- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.27.1:compile
[INFO] | +- io.dropwizard.metrics:metrics-core:jar:4.1.12.1:compile
[INFO] | +- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.6.1:compile
[INFO] | | +- io.vavr:vavr:jar:0.10.2:compile
[INFO] | | | \- io.vavr:vavr-match:jar:0.10.2:compile
[INFO] | | \- io.github.resilience4j:resilience4j-core:jar:1.6.1:compile
[INFO] | \- org.projectlombok:lombok:jar:1.18.12:compile
[INFO] +- com.mpl.commons:notification:jar:0.4:compile
[INFO] | +- com.amazonaws:aws-java-sdk-sns:jar:1.11.327:compile
[INFO] | | +- com.amazonaws:aws-java-sdk-sqs:jar:1.11.327:compile
[INFO] | | +- com.amazonaws:aws-java-sdk-core:jar:1.11.327:compile
[INFO] | | | +- software.amazon.ion:ion-java:jar:1.0.2:compile
[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.6.7:compile
[INFO] | | | \- joda-time:joda-time:jar:2.8.1:compile
[INFO] | | \- com.amazonaws:jmespath-java:jar:1.11.327:compile
[INFO] | +- org.json:json:jar:20090211:compile
[INFO] | \- commons-io:commons-io:jar:1.3.2:compile
[INFO] +- com.mpl.commons:lib-dbmigrations:jar:0.2:compile
[INFO] | +- org.apache.commons:commons-dbcp2:jar:2.4.0:compile
[INFO] | | +- org.apache.commons:commons-pool2:jar:2.5.0:compile
[INFO] | | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] | \- org.flywaydb:flyway-core:jar:7.3.2:compile
[INFO] +- com.mpl.commons:lib-vault:jar:1.0.0:compile
[INFO] | +- com.bettercloud:vault-java-driver:jar:5.1.0:compile
[INFO] | \- com.google.code.gson:gson:jar:2.8.9:compile
[INFO] \- org.cyclonedx:cyclonedx-core-java:jar:7.1.4:compile
[INFO] +- commons-codec:commons-codec:jar:1.15:compile
[INFO] +- com.github.package-url:packageurl-java:jar:1.4.1:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.2:compile
[INFO] | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] | \- com.fasterxml.woodstox:woodstox-core:jar:6.2.7:compile
[INFO] \- com.networknt:json-schema-validator:jar:1.0.69:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.7:compile
[INFO] \- com.ethlo.time:itu:jar:1.5.1:compile
[INFO]
[INFO] ---------------------< com.mpl.services:campaign >----------------------
[INFO] Building campaign 1.52.0-SNAPSHOT [3/3]
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from mpl-central-backend-ro: https://m-central.mpl.live/repository/backend/com/mpl/services/protos-campaign/1.2.0-SNAPSHOT/maven-metadata.xml
Downloading from maven: https://repo.maven.apache.org/maven2/com/mpl/services/protos-campaign/1.2.0-SNAPSHOT/maven-metadata.xml
Downloaded from mpl-central-backend-ro: https://m-central.mpl.live/repository/backend/com/mpl/services/protos-campaign/1.2.0-SNAPSHOT/maven-metadata.xml (781 B at 411 B/s)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ campaign ---
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ campaign ---
Downloading from mpl-central-backend-ro: https://m-central.mpl.live/repository/backend/com/mpl/services/protos-campaign/1.2.0-SNAPSHOT/protos-campaign-1.2.0-20240425.120351-7.jar
Downloaded from mpl-central-backend-ro: https://m-central.mpl.live/repository/backend/com/mpl/services/protos-campaign/1.2.0-SNAPSHOT/protos-campaign-1.2.0-20240425.120351-7.jar (150 kB at 437 kB/s)
[INFO] com.mpl.services:campaign:jar:1.52.0-SNAPSHOT
[INFO] +- com.newrelic.agent.java:newrelic-java:zip:8.1.0:provided
[INFO] +- com.mpl.services:protos-campaign:jar:1.2.0-SNAPSHOT:compile
[INFO] +- com.mpl.services:protos-kyc:jar:1.3.0:compile
[INFO] +- com.mpl.services:protos-scheduler:jar:1.1.0:compile
[INFO] +- com.mpl.commons:lib-pathfinder:jar:1.4.2-CAMPAIGN:compile
[INFO] | +- io.grpc:grpc-netty-shaded:jar:1.61.1:compile
[INFO] | | +- io.grpc:grpc-core:jar:1.61.1:compile
[INFO] | | | +- com.google.android:annotations:jar:4.1.1.4:runtime
[INFO] | | | +- org.codehaus.mojo:animal-sniffer-annotations:jar:1.23:runtime
[INFO] | | | \- io.grpc:grpc-util:jar:1.61.1:runtime
[INFO] | | +- io.perfmark:perfmark-api:jar:0.26.0:runtime
[INFO] | | \- io.grpc:grpc-api:jar:1.61.1:compile
[INFO] | +- io.grpc:grpc-protobuf:jar:1.61.1:compile
[INFO] | | +- com.google.api.grpc:proto-google-common-protos:jar:2.29.0:compile
[INFO] | | \- io.grpc:grpc-protobuf-lite:jar:1.61.1:runtime
[INFO] | +- io.grpc:grpc-stub:jar:1.61.1:compile
[INFO] | +- com.ecwid.consul:consul-api:jar:1.4.5:compile
[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.9:compile
[INFO] | +- com.google.guava:guava:jar:32.1.3-jre:compile
[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | | \- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | +- io.opencensus:opencensus-api:jar:0.27.1:compile
[INFO] | | \- io.grpc:grpc-context:jar:1.61.1:compile
[INFO] | +- io.opencensus:opencensus-impl:jar:0.27.1:runtime
[INFO] | | +- io.opencensus:opencensus-impl-core:jar:0.27.1:runtime
[INFO] | | \- com.lmax:disruptor:jar:3.4.2:runtime
[INFO] | +- io.opencensus:opencensus-exporter-trace-zipkin:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-trace-util:jar:0.27.1:compile
[INFO] | | +- io.zipkin.reporter2:zipkin-reporter:jar:2.7.14:compile
[INFO] | | | \- io.zipkin.zipkin2:zipkin:jar:2.12.0:compile
[INFO] | | \- io.zipkin.reporter2:zipkin-sender-urlconnection:jar:2.7.14:compile
[INFO] | +- io.opencensus:opencensus-exporter-stats-prometheus:jar:0.27.1:compile
[INFO] | | +- io.opencensus:opencensus-exporter-metrics-util:jar:0.27.1:compile
[INFO] | | \- io.prometheus:simpleclient:jar:0.6.0:compile
[INFO] | +- io.prometheus:simpleclient_httpserver:jar:0.3.0:compile
[INFO] | | \- io.prometheus:simpleclient_common:jar:0.3.0:compile
[INFO] | +- io.grpc:grpc-census:jar:1.61.1:compile
[INFO] | +- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.27.1:compile
[INFO] | +- io.dropwizard.metrics:metrics-core:jar:4.1.12.1:compile
[INFO] | \- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.6.1:compile
[INFO] | +- io.vavr:vavr:jar:0.10.2:compile
[INFO] | | \- io.vavr:vavr-match:jar:0.10.2:compile
[INFO] | \- io.github.resilience4j:resilience4j-core:jar:1.6.1:compile
[INFO] +- com.mpl.commons:lib-feature-flags:jar:1.3.0:compile
[INFO] | \- org.togglz:togglz-zookeeper:jar:3.2.1:compile
[INFO] | \- org.togglz:togglz-core:jar:3.2.1:compile
[INFO] +- com.mpl.commons:lib-grpc-actuator:jar:1.0.3:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.36:compile
[INFO] +- com.amazonaws:aws-java-sdk-sts:jar:1.12.188:compile
[INFO] | \- com.amazonaws:jmespath-java:jar:1.12.188:compile
[INFO] +- org.testng:testng:jar:7.1.0:test
[INFO] | +- com.beust:jcommander:jar:1.72:test
[INFO] | +- com.google.inject:guice:jar:no_aop:4.1.0:test
[INFO] | | +- javax.inject:javax.inject:jar:1:test
[INFO] | | \- aopalliance:aopalliance:jar:1.0:test
[INFO] | \- org.yaml:snakeyaml:jar:1.21:compile
[INFO] +- com.mpl.commons:lib-java-logging:jar:0.2:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.31:compile
[INFO] | \- log4j:log4j:jar:1.2.17:compile
[INFO] +- com.squareup.retrofit2:retrofit:jar:2.9.0:compile
[INFO] | \- com.squareup.okhttp3:okhttp:jar:3.14.9:compile
[INFO] +- com.squareup.retrofit2:converter-jackson:jar:2.9.0:compile
[INFO] +- com.mpl.commons:notification:jar:0.4:compile
[INFO] | \- com.amazonaws:aws-java-sdk-sns:jar:1.12.188:compile
[INFO] | \- com.amazonaws:aws-java-sdk-sqs:jar:1.12.188:compile
[INFO] +- com.mpl.commons:zookeeper:jar:0.2:compile
[INFO] | +- org.apache.curator:curator-framework:jar:4.0.1:compile
[INFO] | | \- org.apache.curator:curator-client:jar:4.0.1:compile
[INFO] | | \- org.apache.zookeeper:zookeeper:jar:3.5.3-beta:compile
[INFO] | | +- commons-cli:commons-cli:jar:1.2:compile
[INFO] | | \- io.netty:netty:jar:3.10.5.Final:compile
[INFO] | \- org.apache.curator:curator-recipes:jar:4.0.1:compile
[INFO] +- org.json:json:jar:20090211:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.6:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile
[INFO] +- commons-io:commons-io:jar:1.3.2:compile
[INFO] +- org.postgresql:postgresql:jar:42.5.4:compile
[INFO] | \- org.checkerframework:checker-qual:jar:3.5.0:runtime
[INFO] +- org.apache.commons:commons-dbcp2:jar:2.4.0:compile
[INFO] | +- org.apache.commons:commons-pool2:jar:2.5.0:compile
[INFO] | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- com.amazonaws:aws-java-sdk-core:jar:1.12.188:compile
[INFO] | +- commons-codec:commons-codec:jar:1.15:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] | +- software.amazon.ion:ion-java:jar:1.0.2:compile
[INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.12.6:compile
[INFO] | \- joda-time:joda-time:jar:2.8.1:compile
[INFO] +- com.amazonaws:aws-java-sdk-s3:jar:1.12.188:compile
[INFO] | \- com.amazonaws:aws-java-sdk-kms:jar:1.12.188:compile
[INFO] +- org.projectlombok:lombok:jar:1.18.22:provided
[INFO] +- org.redisson:redisson:jar:3.10.6:compile
[INFO] | +- io.netty:netty-common:jar:4.1.34.Final:compile
[INFO] | +- io.netty:netty-codec:jar:4.1.34.Final:compile
[INFO] | +- io.netty:netty-buffer:jar:4.1.34.Final:compile
[INFO] | +- io.netty:netty-transport:jar:4.1.34.Final:compile
[INFO] | | \- io.netty:netty-resolver:jar:4.1.34.Final:compile
[INFO] | +- io.netty:netty-resolver-dns:jar:4.1.34.Final:compile
[INFO] | | \- io.netty:netty-codec-dns:jar:4.1.34.Final:compile
[INFO] | +- io.netty:netty-handler:jar:4.1.34.Final:compile
[INFO] | +- javax.cache:cache-api:jar:1.0.0:compile
[INFO] | +- io.projectreactor:reactor-core:jar:3.2.6.RELEASE:compile
[INFO] | | \- org.reactivestreams:reactive-streams:jar:1.0.2:compile
[INFO] | +- io.reactivex.rxjava2:rxjava:jar:2.2.7:compile
[INFO] | +- de.ruedigermoeller:fst:jar:2.57:compile
[INFO] | | +- org.javassist:javassist:jar:3.21.0-GA:compile
[INFO] | | \- org.objenesis:objenesis:jar:2.5.1:compile
[INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.8:compile
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.9.10:compile
[INFO] | \- org.jodd:jodd-bean:jar:5.0.10:compile
[INFO] | \- org.jodd:jodd-core:jar:5.0.10:compile
[INFO] +- com.google.code.gson:gson:jar:2.8.5:compile
[INFO] +- com.google.protobuf:protobuf-java:jar:3.25.2:compile
[INFO] +- com.google.protobuf:protobuf-java-util:jar:3.25.2:compile
[INFO] | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.18.0:compile
[INFO] | \- com.google.j2objc:j2objc-annotations:jar:2.8:compile
[INFO] +- com.facebook.business.sdk:facebook-java-business-sdk:jar:10.0.0:compile
[INFO] | +- com.squareup.okio:okio:jar:2.1.0:compile
[INFO] | | \- org.jetbrains.kotlin:kotlin-stdlib:jar:1.2.60:runtime
[INFO] | | +- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.2.60:runtime
[INFO] | | \- org.jetbrains:annotations:jar:13.0:runtime
[INFO] | \- org.mockito:mockito-core:jar:3.5.11:compile
[INFO] | \- net.bytebuddy:byte-buddy-agent:jar:1.10.13:compile
[INFO] +- com.google.api-ads:google-ads:jar:30.0.0:compile
[INFO] | +- com.google.api:gax:jar:2.43.0:compile
[INFO] | | +- com.google.api:api-common:jar:2.26.0:compile
[INFO] | | \- org.threeten:threetenbp:jar:1.6.8:compile
[INFO] | +- com.google.api:gax-grpc:jar:2.43.0:compile
[INFO] | | +- io.grpc:grpc-inprocess:jar:1.61.1:compile
[INFO] | | +- io.grpc:grpc-alts:jar:1.61.1:compile
[INFO] | | | +- io.grpc:grpc-grpclb:jar:1.61.1:compile
[INFO] | | | \- org.conscrypt:conscrypt-openjdk-uber:jar:2.5.2:compile
[INFO] | | +- io.grpc:grpc-auth:jar:1.61.1:compile
[INFO] | | \- io.grpc:grpc-googleapis:jar:1.61.1:runtime
[INFO] | | \- io.grpc:grpc-xds:jar:1.61.1:runtime
[INFO] | | +- io.opencensus:opencensus-proto:jar:0.2.0:runtime
[INFO] | | +- io.grpc:grpc-services:jar:1.61.1:runtime
[INFO] | | \- com.google.re2j:re2j:jar:1.7:runtime
[INFO] | +- com.google.auth:google-auth-library-oauth2-http:jar:1.23.0:compile
[INFO] | | +- com.google.http-client:google-http-client:jar:1.43.3:compile
[INFO] | | | \- io.opencensus:opencensus-contrib-http-util:jar:0.31.1:compile
[INFO] | | \- com.google.http-client:google-http-client-gson:jar:1.43.3:compile
[INFO] | +- com.google.auth:google-auth-library-credentials:jar:1.23.0:compile
[INFO] | +- com.google.api-ads:google-ads-codegen:jar:30.0.0:compile
[INFO] | | +- com.google.api-ads:google-ads-stubs-lib:jar:30.0.0:compile
[INFO] | | +- com.google.api-ads:google-ads-stubs-v14:jar:30.0.0:compile
[INFO] | | +- com.google.api-ads:google-ads-stubs-v15:jar:30.0.0:compile
[INFO] | | +- com.google.api-ads:google-ads-stubs-v16:jar:30.0.0:compile
[INFO] | | \- com.squareup:javapoet:jar:1.11.1:runtime
[INFO] | +- com.google.auto.service:auto-service:jar:1.0.1:runtime
[INFO] | | +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime
[INFO] | | \- com.google.auto:auto-common:jar:1.2:runtime
[INFO] | \- com.google.auto.value:auto-value-annotations:jar:1.10.4:compile
[INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] +- com.mpl.services:protos-user-data:jar:1.1.0:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- com.mpl.commons:lib-server-configurations:jar:0.2.0:compile
[INFO] +- com.mpl.commons:lib-dbmigrations:jar:0.2:compile
[INFO] | \- org.flywaydb:flyway-core:jar:7.3.2:compile
[INFO] +- com.mpl.commons:lib-vault:jar:1.0.0:compile
[INFO] | \- com.bettercloud:vault-java-driver:jar:5.1.0:compile
[INFO] \- org.cyclonedx:cyclonedx-core-java:jar:7.1.4:compile
[INFO] +- com.github.package-url:packageurl-java:jar:1.4.1:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.2:compile
[INFO] | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] | \- com.fasterxml.woodstox:woodstox-core:jar:6.2.7:compile
[INFO] \- com.networknt:json-schema-validator:jar:1.0.69:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.7:compile
[INFO] \- com.ethlo.time:itu:jar:1.5.1:compile
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] parent-campaign 1.1.1-SNAPSHOT ..................... SUCCESS [ 1.307 s]
[INFO] protos-campaign 1.2.0-SNAPSHOT ..................... SUCCESS [ 0.339 s]
[INFO] campaign 1.52.0-SNAPSHOT ........................... SUCCESS [ 3.757 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.042 s
[INFO] Finished at: 2024-04-29T14:43:19+05:30
[INFO] ------------------------------------------------------------------------
campaign.log Attaching error log again
Your dependency tree still shows the pathfinder dependency is pulling in very old versions of the libraries I mentioned earlier.
+- com.mpl.commons:lib-pathfinder:jar:1.2.16:compile
| +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
| +- io.grpc:grpc-netty-shaded:jar:1.30.0:compile
...
| +- io.grpc:grpc-protobuf:jar:1.30.0:compile
...
| +- io.grpc:grpc-stub:jar:1.30.0:compile
| ...
| +- com.google.guava:guava:jar:29.0-jre:compile
the pathfinder you mention is not related to the service which we use to call your api. Please just check tree for --- maven-dependency-plugin:3.1.1:tree (default-cli) @ campaign ---
other 2 are parent and protos dependency tree which don't have code in it.
Attached is the Project structure
Although your campaigns project may not declare conflicting dependencies, according to my interpretation of your dependency:tree output, the campaign project depends on the protos-campaign project and has the parent-campaign project as its parent. Both of those declare older dependencies that conflict with google-ads.
When you run your application, the classpath of protos-campaign and parent-campaign will be included, and that's where the conflicts cause problems.
Thanks, Josh, Google Ads API Team
Hi Josh,
I have resolved the dependencies as well,
dependencies below sh-3.2$ mvn clean dependency:tree [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: osx [INFO] os.detected.arch: x86_64 [INFO] os.detected.version: 10.16 [INFO] os.detected.version.major: 10 [INFO] os.detected.version.minor: 16 [INFO] os.detected.classifier: osx-x86_64 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] parent-campaign [pom] [INFO] protos-campaign [jar] [INFO] campaign [jar] [INFO] [INFO] ------------------< com.mpl.services:parent-campaign >------------------ [INFO] Building parent-campaign 1.1.1-SNAPSHOT [1/3] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ parent-campaign --- [INFO] [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ parent-campaign --- [INFO] com.mpl.services:parent-campaign:pom:1.1.1-SNAPSHOT [INFO] +- com.mpl.commons:lib-java-logging:jar:0.2:compile [INFO] | - org.slf4j:slf4j-log4j12:jar:1.8.0-beta2:compile [INFO] | - log4j:log4j:jar:1.2.17:compile [INFO] +- com.mpl.commons:lib-server-configurations:jar:0.2.0:compile [INFO] | +- org.slf4j:slf4j-api:jar:1.7.5:compile [INFO] | +- com.mpl.commons:zookeeper:jar:0.2:compile [INFO] | | +- org.apache.curator:curator-framework:jar:4.0.1:compile [INFO] | | | - org.apache.curator:curator-client:jar:4.0.1:compile [INFO] | | | - org.apache.zookeeper:zookeeper:jar:3.5.3-beta:compile [INFO] | | | +- commons-cli:commons-cli:jar:1.2:compile [INFO] | | | - io.netty:netty:jar:3.10.5.Final:compile [INFO] | | - org.apache.curator:curator-recipes:jar:4.0.1:compile [INFO] | - com.fasterxml.jackson.core:jackson-databind:jar:2.11.0:compile [INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.11.0:compile [INFO] | - com.fasterxml.jackson.core:jackson-core:jar:2.11.0:compile [INFO] +- com.mpl.commons:lib-pathfinder:jar:1.4.2-CAMPAIGN:compile [INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile [INFO] | +- io.grpc:grpc-netty-shaded:jar:1.61.1:compile [INFO] | | +- io.grpc:grpc-core:jar:1.61.1:compile [INFO] | | | +- com.google.android:annotations:jar:4.1.1.4:runtime [INFO] | | | +- org.codehaus.mojo:animal-sniffer-annotations:jar:1.23:runtime [INFO] | | | - io.grpc:grpc-util:jar:1.61.1:runtime [INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.23.0:compile [INFO] | | +- io.perfmark:perfmark-api:jar:0.26.0:runtime [INFO] | | - io.grpc:grpc-api:jar:1.61.1:compile [INFO] | +- io.grpc:grpc-protobuf:jar:1.61.1:compile [INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile [INFO] | | +- com.google.protobuf:protobuf-java:jar:3.25.1:compile [INFO] | | +- com.google.api.grpc:proto-google-common-protos:jar:2.29.0:compile [INFO] | | - io.grpc:grpc-protobuf-lite:jar:1.61.1:runtime [INFO] | +- io.grpc:grpc-stub:jar:1.61.1:compile [INFO] | +- com.ecwid.consul:consul-api:jar:1.4.5:compile [INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.9:compile [INFO] | | - org.apache.httpcomponents:httpclient:jar:4.5.5:compile [INFO] | | - commons-codec:commons-codec:jar:1.10:compile [INFO] | +- com.google.guava:guava:jar:32.1.3-jre:compile [INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile [INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile [INFO] | | +- org.checkerframework:checker-qual:jar:3.37.0:compile [INFO] | | - com.google.j2objc:j2objc-annotations:jar:2.8:compile [INFO] | +- io.opencensus:opencensus-api:jar:0.27.1:compile [INFO] | | - io.grpc:grpc-context:jar:1.27.2:compile [INFO] | +- io.opencensus:opencensus-impl:jar:0.27.1:runtime [INFO] | | +- io.opencensus:opencensus-impl-core:jar:0.27.1:runtime [INFO] | | - com.lmax:disruptor:jar:3.4.2:runtime [INFO] | +- io.opencensus:opencensus-exporter-trace-zipkin:jar:0.27.1:compile [INFO] | | +- io.opencensus:opencensus-exporter-trace-util:jar:0.27.1:compile [INFO] | | +- io.zipkin.reporter2:zipkin-reporter:jar:2.7.14:compile [INFO] | | | - io.zipkin.zipkin2:zipkin:jar:2.12.0:compile [INFO] | | - io.zipkin.reporter2:zipkin-sender-urlconnection:jar:2.7.14:compile [INFO] | +- io.opencensus:opencensus-exporter-stats-prometheus:jar:0.27.1:compile [INFO] | | +- io.opencensus:opencensus-exporter-metrics-util:jar:0.27.1:compile [INFO] | | - io.prometheus:simpleclient:jar:0.6.0:compile [INFO] | +- io.prometheus:simpleclient_httpserver:jar:0.3.0:compile [INFO] | | - io.prometheus:simpleclient_common:jar:0.3.0:compile [INFO] | +- io.grpc:grpc-census:jar:1.61.1:compile [INFO] | +- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.27.1:compile [INFO] | +- io.dropwizard.metrics:metrics-core:jar:4.1.12.1:compile [INFO] | +- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.6.1:compile [INFO] | | +- io.vavr:vavr:jar:0.10.2:compile [INFO] | | | - io.vavr:vavr-match:jar:0.10.2:compile [INFO] | | - io.github.resilience4j:resilience4j-core:jar:1.6.1:compile [INFO] | - org.projectlombok:lombok:jar:1.18.30:compile [INFO] +- com.mpl.commons:notification:jar:0.4:compile [INFO] | +- com.amazonaws:aws-java-sdk-sns:jar:1.11.327:compile [INFO] | | +- com.amazonaws:aws-java-sdk-sqs:jar:1.11.327:compile [INFO] | | +- com.amazonaws:aws-java-sdk-core:jar:1.11.327:compile [INFO] | | | +- software.amazon.ion:ion-java:jar:1.0.2:compile [INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.6.7:compile [INFO] | | | - joda-time:joda-time:jar:2.8.1:compile [INFO] | | - com.amazonaws:jmespath-java:jar:1.11.327:compile [INFO] | +- org.json:json:jar:20090211:compile [INFO] | - commons-io:commons-io:jar:1.3.2:compile [INFO] +- com.mpl.commons:lib-dbmigrations:jar:0.2:compile [INFO] | +- org.apache.commons:commons-dbcp2:jar:2.4.0:compile [INFO] | | +- org.apache.commons:commons-pool2:jar:2.5.0:compile [INFO] | | - commons-logging:commons-logging:jar:1.2:compile [INFO] | - org.flywaydb:flyway-core:jar:7.3.2:compile [INFO] - com.mpl.commons:lib-vault:jar:1.0.0:compile [INFO] +- com.bettercloud:vault-java-driver:jar:5.1.0:compile [INFO] - com.google.code.gson:gson:jar:2.8.9:compile [INFO] [INFO] ------------------< com.mpl.services:protos-campaign >------------------ [INFO] Building protos-campaign 1.2.0-SNAPSHOT [2/3] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ protos-campaign --- [INFO] [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ protos-campaign --- [INFO] com.mpl.services:protos-campaign:jar:1.2.0-SNAPSHOT [INFO] +- com.mpl.services:protos-scheduler:jar:1.1.0:compile [INFO] | - org.cyclonedx:cyclonedx-core-java:jar:7.1.4:compile [INFO] | +- commons-codec:commons-codec:jar:1.15:compile [INFO] | +- com.github.package-url:packageurl-java:jar:1.4.1:compile [INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.2:compile [INFO] | | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile [INFO] | | - com.fasterxml.woodstox:woodstox-core:jar:6.2.7:compile [INFO] | - com.networknt:json-schema-validator:jar:1.0.69:compile [INFO] | +- org.apache.commons:commons-lang3:jar:3.7:compile [INFO] | - com.ethlo.time:itu:jar:1.5.1:compile [INFO] +- com.mpl.commons:lib-java-logging:jar:0.2:compile [INFO] | - org.slf4j:slf4j-log4j12:jar:1.8.0-beta2:compile [INFO] | - log4j:log4j:jar:1.2.17:compile [INFO] +- com.mpl.commons:lib-server-configurations:jar:0.2.0:compile [INFO] | +- org.slf4j:slf4j-api:jar:1.7.5:compile [INFO] | +- com.mpl.commons:zookeeper:jar:0.2:compile [INFO] | | +- org.apache.curator:curator-framework:jar:4.0.1:compile [INFO] | | | - org.apache.curator:curator-client:jar:4.0.1:compile [INFO] | | | - org.apache.zookeeper:zookeeper:jar:3.5.3-beta:compile [INFO] | | | +- commons-cli:commons-cli:jar:1.2:compile [INFO] | | | - io.netty:netty:jar:3.10.5.Final:compile [INFO] | | - org.apache.curator:curator-recipes:jar:4.0.1:compile [INFO] | - com.fasterxml.jackson.core:jackson-databind:jar:2.11.0:compile [INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.11.0:compile [INFO] | - com.fasterxml.jackson.core:jackson-core:jar:2.11.0:compile [INFO] +- com.mpl.commons:lib-pathfinder:jar:1.4.2-CAMPAIGN:compile [INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile [INFO] | +- io.grpc:grpc-netty-shaded:jar:1.61.1:compile [INFO] | | +- io.grpc:grpc-core:jar:1.61.1:compile [INFO] | | | +- com.google.android:annotations:jar:4.1.1.4:runtime [INFO] | | | +- org.codehaus.mojo:animal-sniffer-annotations:jar:1.23:runtime [INFO] | | | - io.grpc:grpc-util:jar:1.61.1:runtime [INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.23.0:compile [INFO] | | +- io.perfmark:perfmark-api:jar:0.26.0:runtime [INFO] | | - io.grpc:grpc-api:jar:1.61.1:compile [INFO] | +- io.grpc:grpc-protobuf:jar:1.61.1:compile [INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile [INFO] | | +- com.google.protobuf:protobuf-java:jar:3.25.1:compile [INFO] | | +- com.google.api.grpc:proto-google-common-protos:jar:2.29.0:compile [INFO] | | - io.grpc:grpc-protobuf-lite:jar:1.61.1:runtime [INFO] | +- io.grpc:grpc-stub:jar:1.61.1:compile [INFO] | +- com.ecwid.consul:consul-api:jar:1.4.5:compile [INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.9:compile [INFO] | | - org.apache.httpcomponents:httpclient:jar:4.5.5:compile [INFO] | +- com.google.guava:guava:jar:32.1.3-jre:compile [INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile [INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile [INFO] | | +- org.checkerframework:checker-qual:jar:3.37.0:compile [INFO] | | - com.google.j2objc:j2objc-annotations:jar:2.8:compile [INFO] | +- io.opencensus:opencensus-api:jar:0.27.1:compile [INFO] | | - io.grpc:grpc-context:jar:1.27.2:compile [INFO] | +- io.opencensus:opencensus-impl:jar:0.27.1:runtime [INFO] | | +- io.opencensus:opencensus-impl-core:jar:0.27.1:runtime [INFO] | | - com.lmax:disruptor:jar:3.4.2:runtime [INFO] | +- io.opencensus:opencensus-exporter-trace-zipkin:jar:0.27.1:compile [INFO] | | +- io.opencensus:opencensus-exporter-trace-util:jar:0.27.1:compile [INFO] | | +- io.zipkin.reporter2:zipkin-reporter:jar:2.7.14:compile [INFO] | | | - io.zipkin.zipkin2:zipkin:jar:2.12.0:compile [INFO] | | - io.zipkin.reporter2:zipkin-sender-urlconnection:jar:2.7.14:compile [INFO] | +- io.opencensus:opencensus-exporter-stats-prometheus:jar:0.27.1:compile [INFO] | | +- io.opencensus:opencensus-exporter-metrics-util:jar:0.27.1:compile [INFO] | | - io.prometheus:simpleclient:jar:0.6.0:compile [INFO] | +- io.prometheus:simpleclient_httpserver:jar:0.3.0:compile [INFO] | | - io.prometheus:simpleclient_common:jar:0.3.0:compile [INFO] | +- io.grpc:grpc-census:jar:1.61.1:compile [INFO] | +- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.27.1:compile [INFO] | +- io.dropwizard.metrics:metrics-core:jar:4.1.12.1:compile [INFO] | +- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.6.1:compile [INFO] | | +- io.vavr:vavr:jar:0.10.2:compile [INFO] | | | - io.vavr:vavr-match:jar:0.10.2:compile [INFO] | | - io.github.resilience4j:resilience4j-core:jar:1.6.1:compile [INFO] | - org.projectlombok:lombok:jar:1.18.30:compile [INFO] +- com.mpl.commons:notification:jar:0.4:compile [INFO] | +- com.amazonaws:aws-java-sdk-sns:jar:1.11.327:compile [INFO] | | +- com.amazonaws:aws-java-sdk-sqs:jar:1.11.327:compile [INFO] | | +- com.amazonaws:aws-java-sdk-core:jar:1.11.327:compile [INFO] | | | +- software.amazon.ion:ion-java:jar:1.0.2:compile [INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.6.7:compile [INFO] | | | - joda-time:joda-time:jar:2.8.1:compile [INFO] | | - com.amazonaws:jmespath-java:jar:1.11.327:compile [INFO] | +- org.json:json:jar:20090211:compile [INFO] | - commons-io:commons-io:jar:1.3.2:compile [INFO] +- com.mpl.commons:lib-dbmigrations:jar:0.2:compile [INFO] | +- org.apache.commons:commons-dbcp2:jar:2.4.0:compile [INFO] | | +- org.apache.commons:commons-pool2:jar:2.5.0:compile [INFO] | | - commons-logging:commons-logging:jar:1.2:compile [INFO] | - org.flywaydb:flyway-core:jar:7.3.2:compile [INFO] - com.mpl.commons:lib-vault:jar:1.0.0:compile [INFO] +- com.bettercloud:vault-java-driver:jar:5.1.0:compile [INFO] - com.google.code.gson:gson:jar:2.8.9:compile [INFO] [INFO] ---------------------< com.mpl.services:campaign >---------------------- [INFO] Building campaign 1.52.0-SNAPSHOT [3/3] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ campaign --- [INFO] [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ campaign --- [INFO] com.mpl.services:campaign:jar:1.52.0-SNAPSHOT [INFO] +- com.newrelic.agent.java:newrelic-java:zip:8.1.0:provided [INFO] +- com.mpl.services:protos-campaign:jar:1.2.0-SNAPSHOT:compile [INFO] +- com.mpl.services:protos-kyc:jar:1.3.0:compile [INFO] | - org.cyclonedx:cyclonedx-core-java:jar:7.1.4:compile [INFO] | +- com.github.package-url:packageurl-java:jar:1.4.1:compile [INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.2:compile [INFO] | | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile [INFO] | | - com.fasterxml.woodstox:woodstox-core:jar:6.2.7:compile [INFO] | - com.networknt:json-schema-validator:jar:1.0.69:compile [INFO] | +- org.apache.commons:commons-lang3:jar:3.7:compile [INFO] | - com.ethlo.time:itu:jar:1.5.1:compile [INFO] +- com.mpl.services:protos-scheduler:jar:1.1.0:compile [INFO] +- com.mpl.commons:lib-pathfinder:jar:1.4.2-CAMPAIGN:compile [INFO] | +- io.grpc:grpc-netty-shaded:jar:1.61.1:compile [INFO] | | +- io.grpc:grpc-core:jar:1.61.1:compile [INFO] | | | +- com.google.android:annotations:jar:4.1.1.4:runtime [INFO] | | | +- org.codehaus.mojo:animal-sniffer-annotations:jar:1.23:runtime [INFO] | | | - io.grpc:grpc-util:jar:1.61.1:runtime [INFO] | | +- io.perfmark:perfmark-api:jar:0.26.0:runtime [INFO] | | - io.grpc:grpc-api:jar:1.61.1:compile [INFO] | +- io.grpc:grpc-protobuf:jar:1.61.1:compile [INFO] | | +- com.google.api.grpc:proto-google-common-protos:jar:2.29.0:compile [INFO] | | - io.grpc:grpc-protobuf-lite:jar:1.61.1:runtime [INFO] | +- io.grpc:grpc-stub:jar:1.61.1:compile [INFO] | +- com.ecwid.consul:consul-api:jar:1.4.5:compile [INFO] | | - org.apache.httpcomponents:httpcore:jar:4.4.9:compile [INFO] | +- com.google.guava:guava:jar:32.1.3-jre:compile [INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile [INFO] | | - com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile [INFO] | +- io.opencensus:opencensus-api:jar:0.27.1:compile [INFO] | | - io.grpc:grpc-context:jar:1.61.1:compile [INFO] | +- io.opencensus:opencensus-impl:jar:0.27.1:runtime [INFO] | | +- io.opencensus:opencensus-impl-core:jar:0.27.1:runtime [INFO] | | - com.lmax:disruptor:jar:3.4.2:runtime [INFO] | +- io.opencensus:opencensus-exporter-trace-zipkin:jar:0.27.1:compile [INFO] | | +- io.opencensus:opencensus-exporter-trace-util:jar:0.27.1:compile [INFO] | | +- io.zipkin.reporter2:zipkin-reporter:jar:2.7.14:compile [INFO] | | | - io.zipkin.zipkin2:zipkin:jar:2.12.0:compile [INFO] | | - io.zipkin.reporter2:zipkin-sender-urlconnection:jar:2.7.14:compile [INFO] | +- io.opencensus:opencensus-exporter-stats-prometheus:jar:0.27.1:compile [INFO] | | +- io.opencensus:opencensus-exporter-metrics-util:jar:0.27.1:compile [INFO] | | - io.prometheus:simpleclient:jar:0.6.0:compile [INFO] | +- io.prometheus:simpleclient_httpserver:jar:0.3.0:compile [INFO] | | - io.prometheus:simpleclient_common:jar:0.3.0:compile [INFO] | +- io.grpc:grpc-census:jar:1.61.1:compile [INFO] | +- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.27.1:compile [INFO] | +- io.dropwizard.metrics:metrics-core:jar:4.1.12.1:compile [INFO] | - io.github.resilience4j:resilience4j-circuitbreaker:jar:1.6.1:compile [INFO] | +- io.vavr:vavr:jar:0.10.2:compile [INFO] | | - io.vavr:vavr-match:jar:0.10.2:compile [INFO] | - io.github.resilience4j:resilience4j-core:jar:1.6.1:compile [INFO] +- com.mpl.commons:lib-feature-flags:jar:1.3.0:compile [INFO] | - org.togglz:togglz-zookeeper:jar:3.2.1:compile [INFO] | - org.togglz:togglz-core:jar:3.2.1:compile [INFO] +- com.mpl.commons:lib-grpc-actuator:jar:1.0.3:compile [INFO] | - org.slf4j:slf4j-api:jar:1.7.36:compile [INFO] +- com.amazonaws:aws-java-sdk-sts:jar:1.12.188:compile [INFO] | - com.amazonaws:jmespath-java:jar:1.12.188:compile [INFO] +- org.testng:testng:jar:7.1.0:test [INFO] | +- com.beust:jcommander:jar:1.72:test [INFO] | +- com.google.inject:guice:jar:no_aop:4.1.0:test [INFO] | | +- javax.inject:javax.inject:jar:1:test [INFO] | | - aopalliance:aopalliance:jar:1.0:test [INFO] | - org.yaml:snakeyaml:jar:1.21:compile [INFO] +- com.mpl.commons:lib-java-logging:jar:0.2:compile [INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.31:compile [INFO] | - log4j:log4j:jar:1.2.17:compile [INFO] +- com.squareup.retrofit2:retrofit:jar:2.9.0:compile [INFO] | - com.squareup.okhttp3:okhttp:jar:3.14.9:compile [INFO] +- com.squareup.retrofit2:converter-jackson:jar:2.9.0:compile [INFO] +- com.mpl.commons:notification:jar:0.4:compile [INFO] | - com.amazonaws:aws-java-sdk-sns:jar:1.12.188:compile [INFO] | - com.amazonaws:aws-java-sdk-sqs:jar:1.12.188:compile [INFO] +- com.mpl.commons:zookeeper:jar:0.2:compile [INFO] | +- org.apache.curator:curator-framework:jar:4.0.1:compile [INFO] | | - org.apache.curator:curator-client:jar:4.0.1:compile [INFO] | | - org.apache.zookeeper:zookeeper:jar:3.5.3-beta:compile [INFO] | | +- commons-cli:commons-cli:jar:1.2:compile [INFO] | | - io.netty:netty:jar:3.10.5.Final:compile [INFO] | - org.apache.curator:curator-recipes:jar:4.0.1:compile [INFO] +- org.json:json:jar:20090211:compile [INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.6:compile [INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile [INFO] | - com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile [INFO] +- commons-io:commons-io:jar:1.3.2:compile [INFO] +- org.postgresql:postgresql:jar:42.5.4:compile [INFO] | - org.checkerframework:checker-qual:jar:3.5.0:runtime [INFO] +- org.apache.commons:commons-dbcp2:jar:2.4.0:compile [INFO] | +- org.apache.commons:commons-pool2:jar:2.5.0:compile [INFO] | - commons-logging:commons-logging:jar:1.2:compile [INFO] +- com.amazonaws:aws-java-sdk-core:jar:1.12.188:compile [INFO] | +- commons-codec:commons-codec:jar:1.15:compile [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile [INFO] | +- software.amazon.ion:ion-java:jar:1.0.2:compile [INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.12.6:compile [INFO] | - joda-time:joda-time:jar:2.8.1:compile [INFO] +- com.amazonaws:aws-java-sdk-s3:jar:1.12.188:compile [INFO] | - com.amazonaws:aws-java-sdk-kms:jar:1.12.188:compile [INFO] +- org.projectlombok:lombok:jar:1.18.22:provided [INFO] +- org.redisson:redisson:jar:3.10.6:compile [INFO] | +- io.netty:netty-common:jar:4.1.34.Final:compile [INFO] | +- io.netty:netty-codec:jar:4.1.34.Final:compile [INFO] | +- io.netty:netty-buffer:jar:4.1.34.Final:compile [INFO] | +- io.netty:netty-transport:jar:4.1.34.Final:compile [INFO] | | - io.netty:netty-resolver:jar:4.1.34.Final:compile [INFO] | +- io.netty:netty-resolver-dns:jar:4.1.34.Final:compile [INFO] | | - io.netty:netty-codec-dns:jar:4.1.34.Final:compile [INFO] | +- io.netty:netty-handler:jar:4.1.34.Final:compile [INFO] | +- javax.cache:cache-api:jar:1.0.0:compile [INFO] | +- io.projectreactor:reactor-core:jar:3.2.6.RELEASE:compile [INFO] | | - org.reactivestreams:reactive-streams:jar:1.0.2:compile [INFO] | +- io.reactivex.rxjava2:rxjava:jar:2.2.7:compile [INFO] | +- de.ruedigermoeller:fst:jar:2.57:compile [INFO] | | +- org.javassist:javassist:jar:3.21.0-GA:compile [INFO] | | - org.objenesis:objenesis:jar:2.5.1:compile [INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.8:compile [INFO] | +- net.bytebuddy:byte-buddy:jar:1.9.10:compile [INFO] | - org.jodd:jodd-bean:jar:5.0.10:compile [INFO] | - org.jodd:jodd-core:jar:5.0.10:compile [INFO] +- com.google.code.gson:gson:jar:2.8.5:compile [INFO] +- com.google.protobuf:protobuf-java:jar:3.25.2:compile [INFO] +- com.google.protobuf:protobuf-java-util:jar:3.25.2:compile [INFO] | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile [INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.18.0:compile [INFO] | - com.google.j2objc:j2objc-annotations:jar:2.8:compile [INFO] +- com.facebook.business.sdk:facebook-java-business-sdk:jar:10.0.0:compile [INFO] | +- com.squareup.okio:okio:jar:2.1.0:compile [INFO] | | - org.jetbrains.kotlin:kotlin-stdlib:jar:1.2.60:runtime [INFO] | | +- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.2.60:runtime [INFO] | | - org.jetbrains:annotations:jar:13.0:runtime [INFO] | - org.mockito:mockito-core:jar:3.5.11:compile [INFO] | - net.bytebuddy:byte-buddy-agent:jar:1.10.13:compile [INFO] +- com.google.api-ads:google-ads:jar:30.0.0:compile [INFO] | +- com.google.api:gax:jar:2.43.0:compile [INFO] | | +- com.google.api:api-common:jar:2.26.0:compile [INFO] | | - org.threeten:threetenbp:jar:1.6.8:compile [INFO] | +- com.google.api:gax-grpc:jar:2.43.0:compile [INFO] | | +- io.grpc:grpc-inprocess:jar:1.61.1:compile [INFO] | | +- io.grpc:grpc-alts:jar:1.61.1:compile [INFO] | | | +- io.grpc:grpc-grpclb:jar:1.61.1:compile [INFO] | | | - org.conscrypt:conscrypt-openjdk-uber:jar:2.5.2:compile [INFO] | | +- io.grpc:grpc-auth:jar:1.61.1:compile [INFO] | | - io.grpc:grpc-googleapis:jar:1.61.1:runtime [INFO] | | - io.grpc:grpc-xds:jar:1.61.1:runtime [INFO] | | +- io.opencensus:opencensus-proto:jar:0.2.0:runtime [INFO] | | +- io.grpc:grpc-services:jar:1.61.1:runtime [INFO] | | - com.google.re2j:re2j:jar:1.7:runtime [INFO] | +- com.google.auth:google-auth-library-oauth2-http:jar:1.23.0:compile [INFO] | | +- com.google.http-client:google-http-client:jar:1.43.3:compile [INFO] | | | - io.opencensus:opencensus-contrib-http-util:jar:0.31.1:compile [INFO] | | - com.google.http-client:google-http-client-gson:jar:1.43.3:compile [INFO] | +- com.google.auth:google-auth-library-credentials:jar:1.23.0:compile [INFO] | +- com.google.api-ads:google-ads-codegen:jar:30.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-lib:jar:30.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v14:jar:30.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v15:jar:30.0.0:compile [INFO] | | +- com.google.api-ads:google-ads-stubs-v16:jar:30.0.0:compile [INFO] | | - com.squareup:javapoet:jar:1.11.1:runtime [INFO] | +- com.google.auto.service:auto-service:jar:1.0.1:runtime [INFO] | | +- com.google.auto.service:auto-service-annotations:jar:1.0.1:runtime [INFO] | | - com.google.auto:auto-common:jar:1.2:runtime [INFO] | - com.google.auto.value:auto-value-annotations:jar:1.10.4:compile [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile [INFO] +- com.mpl.services:protos-user-data:jar:1.1.0:compile [INFO] +- junit:junit:jar:4.12:test [INFO] | - org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- com.mpl.commons:lib-server-configurations:jar:0.2.0:compile [INFO] +- com.mpl.commons:lib-dbmigrations:jar:0.2:compile [INFO] | - org.flywaydb:flyway-core:jar:7.3.2:compile [INFO] - com.mpl.commons:lib-vault:jar:1.0.0:compile [INFO] - com.bettercloud:vault-java-driver:jar:5.1.0:compile [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] parent-campaign 1.1.1-SNAPSHOT ..................... SUCCESS [ 1.046 s] [INFO] protos-campaign 1.2.0-SNAPSHOT ..................... SUCCESS [ 0.409 s] [INFO] campaign 1.52.0-SNAPSHOT ........................... SUCCESS [ 1.505 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.579 s [INFO] Finished at: 2024-05-02T14:54:07+05:30 [INFO] ------------------------------------------------------------------------
Attached are the logs campaign.log
Errors in the log suggest this is an issue with Netty dependencies (see https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty for a lengthy explanation of all of this).
The google-ads project and com.mpl.commons:lib-pathfinder:jar:1.4.2-CAMPAIGN have a dependency on io.grpc:grpc-netty-shaded:jar:1.61.1, which is good.
However:
-
com.mpl.commons:lib-server-configurations:jar:0.2.0depends onio.netty:netty:jar:3.10.5.Final -
com.mpl.commons:zookeeper:jar:0.2depends onio.netty:netty:jar:3.10.5.Final
I suspect those conflicting Netty versions are what's leading to these errors.
Also, just wanted to mention that there's a newer version of the google-ads dependency. We released 31.0.0 last week for the v16_1 release. You may want to upgrade to that instead of 30.0.0 so you have all the latest features.
Thanks, Josh
Hi Josh,
grpc-netty version that latest apache release supports is
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>5.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>5.6.0</version>
</dependency>
[INFO] +- org.apache.curator:curator-framework:jar:5.6.0:compile [INFO] | - org.apache.curator:curator-client:jar:5.6.0:compile [INFO] | +- org.apache.zookeeper:zookeeper:jar:3.7.2:compile [INFO] | | +- org.apache.zookeeper:zookeeper-jute:jar:3.7.2:compile [INFO] | | +- org.apache.yetus:audience-annotations:jar:0.12.0:compile [INFO] | | +- io.netty:netty-handler:jar:4.1.94.Final:compile
Now with given above fact and the document stating version alignment (https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty)
grpc-netty verion should ideally be 1.58.x to 1.59.x which defeats the purpose which you have stated earlier.
The error still remains same.
Thanks, Ayon
Hi Ayon,
Have you tried using the shadow jar for Google Ads API?
<dependency>
<groupId>com.google.api-ads</groupId>
<artifactId>google-ads-shadowjar</artifactId>
<version>31.0.0</version>
</dependency>
I have tried this as well, same issue. What I will do now is since current project can not sync with version mappings somehow, I will create a new project using rest probably so that there is no version management issue. If there is a sample that I an follow, it would be great.
This is my current implementation, request is getting stuck. pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>google-campaign</artifactId>
<groupId>google-campaign</groupId>
<version>0.0.0-SNAPSHOT</version>
<properties>
<skip.unit.tests>false</skip.unit.tests>
<git.repo>service-google-campaign</git.repo>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<service-port>50080</service-port>
<mpl.repository.java>https://m-central.mpl.live/repository</mpl.repository.java>
<mpl.repository.docker>m-central.mpl.live:9092</mpl.repository.docker>
</properties>
<!-- Nexus Repositories Configuration -->
<distributionManagement>
<snapshotRepository>
<id>backend-snapshots</id>
<name>Backend Snapshot Artifacts</name>
<url>https://m-central.mpl.live/repository/backend-snapshots/</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
</distributionManagement>
<dependencies>
<!-- Google Ads SDK -->
<dependency>
<groupId>com.google.api-ads</groupId>
<artifactId>google-ads</artifactId>
<version>31.0.0</version>
</dependency>
<dependency>
<groupId>com.google.api-ads</groupId>
<artifactId>google-ads-shadowjar</artifactId>
<version>31.0.0</version>
</dependency>
</dependencies>
</project>
GoogleConversionManager.java
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.v16.errors.GoogleAdsFailure;
import com.google.ads.googleads.v16.services.*;
import com.google.ads.googleads.v16.utils.ErrorUtils;
import com.google.ads.googleads.v16.utils.ResourceNames;
import java.util.*;
public class GoogleConversionManager {
private static List<ClickConversion> conversions = new ArrayList<>();
private static long lastUploadedTimeInMillis = System.currentTimeMillis();
// Filter events based on config.
// af_sub1 is the gclid. Handles events only if the value is non-empty.
public static boolean processGoogleEvent() {
Long customerId = 3714809556l;
String conversionDateTime = "2024-04-17 15:00:00.000";
double conversionValue = 1.0;
String currencyCode = "INR";
return uploadConversionToAdWords(customerId, 1025576305l, conversionDateTime,
conversionValue, currencyCode, "af_sub1");
}
public static boolean uploadConversionToAdWords(Long customerId, Long conversionActionId,
String conversionDateTime, Double conversionValue, String currencyCode, String gclid) {
Properties properties = new Properties();
properties.setProperty("api.googleads.clientId", "***********");
properties.setProperty("api.googleads.clientSecret", "***********");
properties.setProperty("api.googleads.refreshToken", "************");
properties.setProperty("api.googleads.developerToken", "************");
try (ConversionUploadServiceClient conversionUploadServiceClient = GoogleAdsClient.newBuilder()
.fromProperties(properties)
.build().getLatestVersion().createConversionUploadServiceClient()) {
System.out.println("client : "+ conversionUploadServiceClient.getSettings().getEndpoint());
// Constructs the conversion action resource name from the customer and conversion action IDs.
String conversionActionResourceName =
ResourceNames.conversionAction(customerId, conversionActionId);
// Creates the click conversion.
ClickConversion.Builder clickConversionBuilder =
ClickConversion.newBuilder()
.setConversionAction(conversionActionResourceName)
.setConversionDateTime(conversionDateTime)
.setConversionValue(conversionValue)
.setCurrencyCode(currencyCode)
.setGclid(gclid);
ClickConversion clickConversion = clickConversionBuilder.build();
System.out.println("clickConversion : \n"+ clickConversion);
try {
conversions.add(clickConversion);
System.out.println("Uploading " + conversions.size() + " conversions at " + lastUploadedTimeInMillis);
UploadClickConversionsRequest request = UploadClickConversionsRequest.newBuilder()
.setCustomerId(Long.toString(customerId))
.addAllConversions(conversions)
// Enables partial failure (must be true).
.setPartialFailure(true)
.build();
UploadClickConversionsResponse response =
conversionUploadServiceClient.uploadClickConversions(request);
System.out.println("CC Response : " + response);
// Prints any partial errors returned.
if (response.hasPartialFailureError()) {
GoogleAdsFailure googleAdsFailure =
ErrorUtils.getInstance().getGoogleAdsFailure(response.getPartialFailureError());
googleAdsFailure
.getErrorsList()
.forEach(e -> System.out.println("Partial failure occurred: " + e.getMessage()));
}
System.out.println("google ads upload response: " + response); // TODO : remove once the code is working in production. or change to debug log
ClickConversionResult result = response.getResults(0);
// Only prints valid results.
if (result.hasGclid()) {
System.out.println(String.format(
"Uploaded conversion that occurred at '%s' from Google Click ID '%s' to '%s'.%n",
result.getConversionDateTime(), result.getGclid(), result.getConversionAction()));
}
} catch (Exception e) {
System.out.println("error while uploading google conversions" + e);
}
conversions = new ArrayList<>();
lastUploadedTimeInMillis = System.currentTimeMillis();
conversionUploadServiceClient.close();
return false;
}
}
}
MainClass.java
public class MainClass {
public static void main(String[] args) {
GoogleConversionManager.processGoogleEvent();
}
}
Output
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
client : googleads.googleapis.com:443
clickConversion :
gclid: "af_sub1"
conversion_action: "customers/3714809556/conversionActions/1025576305"
conversion_date_time: "2024-04-17 15:00:00.000"
conversion_value: 1.0
currency_code: "INR"
Uploading 1 conversions at 1714994024406
after which this is stuck infinitely
Hi,
The most common cause I've seen for a stuck request like this is if the OAuth credentials you configured are invalid. There's an issue with gRPC and gax-java winding up in an infinite loop in this situation (see #169, which will hopefully be fixed soon).
To determine if that's the cause of your request being stuck, could you modify how you construct your GoogleAdsClient as shown in my comment on that issue?
UserCredentials credentials = UserCredentials.newBuilder()
.setClientId(clientId)
.setClientSecret(clientSecret)
.setRefreshToken(refreshToken)
.build();
// if refresh token is invalid, throw exception
AccessToken accessToken = credentials.refreshAccessToken();
GoogleAdsClient.newBuilder()
.setCredentials(credentials.toBuilder().setAccessToken(accessToken).build())
.setDeveloperToken(developerToken)
.setLoginCustomerId(loginCustomerId)
.build();
Thanks, Josh
I have tried the above it is working, thanks. But my refresh access token is expired somehow although it shows enabled on google console I have tried recreating a new token, even that fails.
for following command
It says
Enter authorization code: 4/0AdLIrYfvIKPV9-41Ec9gji7XuLT6cG98-YE1uaRT_Fp9wTAbQ4UqipwQ5k5FPCj_NZOXJA oauth2: cannot fetch token: 400 Bad Request Response: { "error": "invalid_grant", "error_description": "Bad Request" }
What could be the issue here?
Hi,
You can only use each authorization code once, and you only have a limited amount of time to use each authorization code before it expires. You can generate a new authorization code by going through the auth process again, either by following the Java library process or using the OAuth Playground.
The above applies to the authorization code you get while generating a refresh token, not refresh tokens. Refresh tokens are longer-lived and have their own set of expiration rules.
Thanks, Josh
Hi Josh,
I followed the document. I have deleted the previous token then added new token with updated scope for google ads
run this command
`sh-3.2$ oauth2l fetch --credentials credentials.json --scope adwords --output_format refresh_token Go to the following link in your browser:
https://accounts.google.com/o/oauth2/auth?client_id=&code_challenge=*&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fdevelopers.google.com%2Foauthplayground&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords&state=state
Enter authorization code: 4/0AdLIrYfvcfQcz56fyDZh_eG71TlfEZL2Hovv7JCzqc8VDOV3s479pJ-98aE8e89E3XTRCA
` above gives no error or output
while when I try to run this on API web
it gives
Please help here
I've tried multiple times, but I can't get the OAuth 2.0 Playground to produce that Missing code verifier error. Are you still having trouble with that and oauth2l?
Thanks, Josh
Yes Steps are generate link with oauth2l fetch --credentials credentials.json --scope adwords --output_format refresh_token then a hyperlink comes, go to the same, Under Step 2 click Exchange authorization code for tokens.
I get this error, if I try to not generate the code from this link and take authorization code from here to the command line input, it generates no result as an output, or any error code as such.
If you want to reach out to me for credentials json, please feel free to reach out me at [email protected]. I should be able to help you there.
MPL is a big enough GCP customer for google, we have been on this for a month now, if you could help us, I would be immensely glad.
Hi,
I just sent you an email from our support address (googleadsapi-support) so we can transfer this to a 1:1 thread. The case ID is ADR-00234938, which you'll see at the bottom of the email.
Thanks, Josh, Google Ads API Team
Hi,
I've sent multiple replies to case ADR-00234938 (on May 16, 23, and 28), but the other replies on that email thread suggest you haven't seen my emails. Could you check your spam filter for my replies and respond on that email thread? I want to make sure you're seeing the info I sent over.
Thanks, Josh, Google Ads API Team