-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix maven dependencies #266
Merged
filipelautert
merged 1 commit into
liquibase:main
from
KeepItSimpleStupid:fix_maven_dependencies
Apr 15, 2024
Merged
Fix maven dependencies #266
filipelautert
merged 1 commit into
liquibase:main
from
KeepItSimpleStupid:fix_maven_dependencies
Apr 15, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`com.datastax.oss:java-driver-parent:pom` is not meant to be pulled as a dependency (see https://docs.datastax.com/en/developer/java-driver/4.17/#getting-the-driver) However, `com.datastax.oss:java-driver-core:jar`, `com.datastax.oss:java-driver-query-builder:jar`, `com.datastax.oss:java-driver-mapper-runtime:jar` are. `liquibase-cassandra` only uses the first one of those three, and it's already pulled as a transitive dependency of `com.ing.data:cassandra-jdbc-wrapper:jar`, so no need to repeat it in liquibase-cassandra's pom neither. A diff of `mvn dependency:list -Dsort` output before and after the change shows that only `com.datastax.oss:java-driver-parent:pom` is removed ```diff [INFO] com.athaydes:spock-reports:jar:1.3.1:test -- module spock.reports (auto) [INFO] com.datastax.oss:java-driver-core:jar:4.17.0:compile -- module java.driver.core (auto) -[INFO] com.datastax.oss:java-driver-parent:pom:4.17.0:compile [INFO] com.datastax.oss:java-driver-shaded-guava:jar:25.1-jre-graal-sub-1:compile -- module java.driver.shaded.guava (auto) [INFO] com.datastax.oss:native-protocol:jar:1.5.1:compile -- module com.datastax.oss.protocol [auto] [INFO] com.fasterxml.jackson.core:jackson-annotations:jar:2.15.2:compile -- module com.fasterxml.jackson.annotation [INFO] com.fasterxml.jackson.core:jackson-core:jar:2.16.0:compile -- module com.fasterxml.jackson.core [INFO] com.fasterxml.jackson.core:jackson-databind:jar:2.15.2:compile -- module com.fasterxml.jackson.databind [INFO] com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.16.0:compile -- module com.fasterxml.jackson.datatype.jsr310 [INFO] com.github.ben-manes.caffeine:caffeine:jar:2.9.3:compile -- module com.github.benmanes.caffeine [auto] [INFO] com.github.jnr:jffi:jar:1.3.9:compile -- module org.jnrproject.jffi [auto] [INFO] com.github.jnr:jffi:jar:native:1.3.9:runtime -- module org.jnrproject.jffi.nativelibs [auto] [INFO] com.github.jnr:jnr-a64asm:jar:1.0.0:compile -- module jnr.a64asm (auto) [INFO] com.github.jnr:jnr-constants:jar:0.10.3:compile -- module org.jnrproject.constants [auto] [INFO] com.github.jnr:jnr-ffi:jar:2.2.11:compile -- module org.jnrproject.ffi [auto] [INFO] com.github.jnr:jnr-posix:jar:3.1.15:compile -- module org.jnrproject.posix [auto] [INFO] com.github.jnr:jnr-x86asm:jar:1.0.2:compile -- module jnr.x86asm (auto) [INFO] com.github.spotbugs:spotbugs-annotations:jar:3.1.12:compile -- module com.github.spotbugs.annotations [auto] [INFO] com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile -- module jcip.annotations (auto) [INFO] com.google.code.findbugs:jsr305:jar:3.0.2:compile -- module jsr305 (auto) [INFO] com.google.errorprone:error_prone_annotations:jar:2.10.0:compile -- module com.google.errorprone.annotations [auto] [INFO] com.h2database:h2:jar:2.2.224:test -- module com.h2database [auto] [INFO] com.ing.data:cassandra-jdbc-wrapper:jar:4.11.0:compile -- module cassandra.jdbc.wrapper (auto) [INFO] com.opencsv:opencsv:jar:5.9:provided -- module com.opencsv [auto] [INFO] com.typesafe:config:jar:1.4.1:compile -- module typesafe.config [auto] [INFO] commons-io:commons-io:jar:2.14.0:compile -- module org.apache.commons.io [INFO] io.dropwizard.metrics:metrics-core:jar:4.1.18:compile -- module com.codahale.metrics [auto] [INFO] io.netty:netty-buffer:jar:4.1.94.Final:compile -- module io.netty.buffer [auto] [INFO] io.netty:netty-codec:jar:4.1.94.Final:compile -- module io.netty.codec [auto] [INFO] io.netty:netty-common:jar:4.1.94.Final:compile -- module io.netty.common [auto] [INFO] io.netty:netty-handler:jar:4.1.94.Final:compile -- module io.netty.handler [auto] [INFO] io.netty:netty-resolver:jar:4.1.94.Final:compile -- module io.netty.resolver [auto] [INFO] io.netty:netty-transport-native-unix-common:jar:4.1.94.Final:compile -- module io.netty.transport.unix.common [auto] [INFO] io.netty:netty-transport:jar:4.1.94.Final:compile -- module io.netty.transport [auto] [INFO] javax.xml.bind:jaxb-api:jar:2.3.1:provided -- module java.xml.bind [INFO] junit:junit:jar:4.13.2:test -- module junit [auto] [INFO] org.apache.commons:commons-collections4:jar:4.4:compile -- module org.apache.commons.collections4 [auto] [INFO] org.apache.commons:commons-lang3:jar:3.14.0:compile -- module org.apache.commons.lang3 [INFO] org.apache.commons:commons-text:jar:1.11.0:provided -- module org.apache.commons.text [INFO] org.checkerframework:checker-qual:jar:3.19.0:compile -- module org.checkerframework.checker.qual [auto] [INFO] org.codehaus.groovy:groovy-all:jar:2.4.15:test [INFO] org.codehaus.groovy:groovy-all:pom:2.4.17:test [INFO] org.hamcrest:hamcrest-core:jar:1.3:test -- module hamcrest.core (auto) [INFO] org.hdrhistogram:HdrHistogram:jar:2.1.12:compile -- module HdrHistogram (auto) [INFO] org.liquibase:liquibase-commercial:jar:4.26.0:provided -- module liquibase.commercial (auto) [INFO] org.liquibase:liquibase-core:jar:4.26.0:provided -- module liquibase.core [auto] [INFO] org.liquibase:liquibase-test-harness:jar:1.0.9:test -- module liquibase.test.harness (auto) [INFO] org.ow2.asm:asm-analysis:jar:9.2:compile -- module org.objectweb.asm.tree.analysis [INFO] org.ow2.asm:asm-commons:jar:9.2:compile -- module org.objectweb.asm.commons [INFO] org.ow2.asm:asm-tree:jar:9.2:compile -- module org.objectweb.asm.tree [INFO] org.ow2.asm:asm-util:jar:9.2:compile -- module org.objectweb.asm.util [INFO] org.ow2.asm:asm:jar:9.2:compile -- module org.objectweb.asm [INFO] org.reactivestreams:reactive-streams:jar:1.0.3:compile -- module org.reactivestreams [auto] [INFO] org.semver4j:semver4j:jar:5.2.2:compile -- module org.semver4j [auto] [INFO] org.slf4j:slf4j-api:jar:2.0.9:compile -- module org.slf4j [INFO] org.slf4j:slf4j-simple:jar:2.0.9:compile -- module org.slf4j.simple [INFO] org.spockframework:spock-core:jar:1.3-groovy-2.4:test -- module org.spockframework.core [auto] [INFO] org.yaml:snakeyaml:jar:2.2:test -- module org.yaml.snakeyaml ```
filipelautert
force-pushed
the
fix_maven_dependencies
branch
from
March 26, 2024 19:08
26a2800
to
6b75e6b
Compare
filipelautert
approved these changes
Mar 26, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, thanks @KeepItSimpleStupid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
com.datastax.oss:java-driver-parent:pom
is not meant to be pulled as a dependency (see https://docs.datastax.com/en/developer/java-driver/4.17/#getting-the-driver)However,
com.datastax.oss:java-driver-core:jar
,com.datastax.oss:java-driver-query-builder:jar
,com.datastax.oss:java-driver-mapper-runtime:jar
are.liquibase-cassandra
only uses the first one of those three, and it's already pulled as a transitive dependency ofcom.ing.data:cassandra-jdbc-wrapper:jar
, so no need to repeat it inliquibase-cassandra
's pom neither.A diff of
mvn dependency:list -Dsort
output before and after the change shows that onlycom.datastax.oss:java-driver-parent:pom
is removed[INFO] com.athaydes:spock-reports:jar:1.3.1:test -- module spock.reports (auto) [INFO] com.datastax.oss:java-driver-core:jar:4.17.0:compile -- module java.driver.core (auto) -[INFO] com.datastax.oss:java-driver-parent:pom:4.17.0:compile [INFO] com.datastax.oss:java-driver-shaded-guava:jar:25.1-jre-graal-sub-1:compile -- module java.driver.shaded.guava (auto) [INFO] com.datastax.oss:native-protocol:jar:1.5.1:compile -- module com.datastax.oss.protocol [auto] [INFO] com.fasterxml.jackson.core:jackson-annotations:jar:2.15.2:compile -- module com.fasterxml.jackson.annotation [INFO] com.fasterxml.jackson.core:jackson-core:jar:2.16.0:compile -- module com.fasterxml.jackson.core [INFO] com.fasterxml.jackson.core:jackson-databind:jar:2.15.2:compile -- module com.fasterxml.jackson.databind [INFO] com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.16.0:compile -- module com.fasterxml.jackson.datatype.jsr310 [INFO] com.github.ben-manes.caffeine:caffeine:jar:2.9.3:compile -- module com.github.benmanes.caffeine [auto] [INFO] com.github.jnr:jffi:jar:1.3.9:compile -- module org.jnrproject.jffi [auto] [INFO] com.github.jnr:jffi:jar:native:1.3.9:runtime -- module org.jnrproject.jffi.nativelibs [auto] [INFO] com.github.jnr:jnr-a64asm:jar:1.0.0:compile -- module jnr.a64asm (auto) [INFO] com.github.jnr:jnr-constants:jar:0.10.3:compile -- module org.jnrproject.constants [auto] [INFO] com.github.jnr:jnr-ffi:jar:2.2.11:compile -- module org.jnrproject.ffi [auto] [INFO] com.github.jnr:jnr-posix:jar:3.1.15:compile -- module org.jnrproject.posix [auto] [INFO] com.github.jnr:jnr-x86asm:jar:1.0.2:compile -- module jnr.x86asm (auto) [INFO] com.github.spotbugs:spotbugs-annotations:jar:3.1.12:compile -- module com.github.spotbugs.annotations [auto] [INFO] com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile -- module jcip.annotations (auto) [INFO] com.google.code.findbugs:jsr305:jar:3.0.2:compile -- module jsr305 (auto) [INFO] com.google.errorprone:error_prone_annotations:jar:2.10.0:compile -- module com.google.errorprone.annotations [auto] [INFO] com.h2database:h2:jar:2.2.224:test -- module com.h2database [auto] [INFO] com.ing.data:cassandra-jdbc-wrapper:jar:4.11.0:compile -- module cassandra.jdbc.wrapper (auto) [INFO] com.opencsv:opencsv:jar:5.9:provided -- module com.opencsv [auto] [INFO] com.typesafe:config:jar:1.4.1:compile -- module typesafe.config [auto] [INFO] commons-io:commons-io:jar:2.14.0:compile -- module org.apache.commons.io [INFO] io.dropwizard.metrics:metrics-core:jar:4.1.18:compile -- module com.codahale.metrics [auto] [INFO] io.netty:netty-buffer:jar:4.1.94.Final:compile -- module io.netty.buffer [auto] [INFO] io.netty:netty-codec:jar:4.1.94.Final:compile -- module io.netty.codec [auto] [INFO] io.netty:netty-common:jar:4.1.94.Final:compile -- module io.netty.common [auto] [INFO] io.netty:netty-handler:jar:4.1.94.Final:compile -- module io.netty.handler [auto] [INFO] io.netty:netty-resolver:jar:4.1.94.Final:compile -- module io.netty.resolver [auto] [INFO] io.netty:netty-transport-native-unix-common:jar:4.1.94.Final:compile -- module io.netty.transport.unix.common [auto] [INFO] io.netty:netty-transport:jar:4.1.94.Final:compile -- module io.netty.transport [auto] [INFO] javax.xml.bind:jaxb-api:jar:2.3.1:provided -- module java.xml.bind [INFO] junit:junit:jar:4.13.2:test -- module junit [auto] [INFO] org.apache.commons:commons-collections4:jar:4.4:compile -- module org.apache.commons.collections4 [auto] [INFO] org.apache.commons:commons-lang3:jar:3.14.0:compile -- module org.apache.commons.lang3 [INFO] org.apache.commons:commons-text:jar:1.11.0:provided -- module org.apache.commons.text [INFO] org.checkerframework:checker-qual:jar:3.19.0:compile -- module org.checkerframework.checker.qual [auto] [INFO] org.codehaus.groovy:groovy-all:jar:2.4.15:test [INFO] org.codehaus.groovy:groovy-all:pom:2.4.17:test [INFO] org.hamcrest:hamcrest-core:jar:1.3:test -- module hamcrest.core (auto) [INFO] org.hdrhistogram:HdrHistogram:jar:2.1.12:compile -- module HdrHistogram (auto) [INFO] org.liquibase:liquibase-commercial:jar:4.26.0:provided -- module liquibase.commercial (auto) [INFO] org.liquibase:liquibase-core:jar:4.26.0:provided -- module liquibase.core [auto] [INFO] org.liquibase:liquibase-test-harness:jar:1.0.9:test -- module liquibase.test.harness (auto) [INFO] org.ow2.asm:asm-analysis:jar:9.2:compile -- module org.objectweb.asm.tree.analysis [INFO] org.ow2.asm:asm-commons:jar:9.2:compile -- module org.objectweb.asm.commons [INFO] org.ow2.asm:asm-tree:jar:9.2:compile -- module org.objectweb.asm.tree [INFO] org.ow2.asm:asm-util:jar:9.2:compile -- module org.objectweb.asm.util [INFO] org.ow2.asm:asm:jar:9.2:compile -- module org.objectweb.asm [INFO] org.reactivestreams:reactive-streams:jar:1.0.3:compile -- module org.reactivestreams [auto] [INFO] org.semver4j:semver4j:jar:5.2.2:compile -- module org.semver4j [auto] [INFO] org.slf4j:slf4j-api:jar:2.0.9:compile -- module org.slf4j [INFO] org.slf4j:slf4j-simple:jar:2.0.9:compile -- module org.slf4j.simple [INFO] org.spockframework:spock-core:jar:1.3-groovy-2.4:test -- module org.spockframework.core [auto] [INFO] org.yaml:snakeyaml:jar:2.2:test -- module org.yaml.snakeyaml