-
Notifications
You must be signed in to change notification settings - Fork 37
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 dependency errors for Maven projects #735
Conversation
f1533b3
to
2cd1112
Compare
2cd1112
to
0790c52
Compare
@@ -91,11 +91,11 @@ dependencies { | |||
implementation "org.jooq:jooq:${jooqVersion}" | |||
implementation "software.amazon.awssdk:applicationautoscaling:${awssdkVersion}" | |||
implementation "software.amazon.awssdk:dynamodb:${awssdkVersion}" | |||
implementation "software.amazon.awssdk:core:${awssdkVersion}" | |||
implementation "software.amazon.awssdk:core:${awssdkVersion}@pom" |
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.
Specified pom
type explicitly for the awssdk
dependency. This will fix the dependency error.
implementation "org.apache.commons:commons-dbcp2:${commonsDbcp2Version}" | ||
implementation "mysql:mysql-connector-java:${mysqlDriverVersion}" | ||
implementation "org.postgresql:postgresql:${postgresqlDriverVersion}" | ||
implementation "com.oracle.database.jdbc:ojdbc8-production:${oracleDriverVersion}" | ||
implementation "com.oracle.database.jdbc:ojdbc8:${oracleDriverVersion}" |
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.
I tried to specify the pom
type explicitly for the Oracle JDBC Driver dependency, and it fixed the dependency error, but the integration test failed with the No suitable driver
error for some reason. So I decided to change the dependency to com.oracle.database.jdbc:ojdbc8
because we just need the Oracle JDBC Driver.
I referred to the following document:
https://www.oracle.com/database/technologies/maven-central-guide.html
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.
LGTM! Thank you!
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.
LGTM, thank you!
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.
LGTM, thank you!
Currently, when we build a Maven project with the scalardb dependencies, we face the following dependency error:
This PR fixes this issue. I'll add inline comments for the details. Please take a look!