From 4f2f8ba86421227faae79c8e9e2a665c9ffccba6 Mon Sep 17 00:00:00 2001 From: itsankit-google Date: Wed, 22 Apr 2026 04:56:39 +0000 Subject: [PATCH] Remove jetrbains dependency from oracle --- amazon-redshift-plugin/pom.xml | 6 ------ aurora-mysql-plugin/pom.xml | 6 ------ aurora-postgresql-plugin/pom.xml | 6 ------ cloudsql-mysql-plugin/pom.xml | 6 ------ cloudsql-postgresql-plugin/pom.xml | 6 ------ db2-plugin/pom.xml | 6 ------ generic-database-plugin/pom.xml | 6 ------ generic-db-argument-setter/pom.xml | 6 ------ mariadb-plugin/pom.xml | 6 ------ memsql-plugin/pom.xml | 6 ------ mssql-plugin/pom.xml | 6 ------ mysql-plugin/pom.xml | 6 ------ netezza-plugin/pom.xml | 6 ------ oracle-plugin/pom.xml | 6 ------ .../io/cdap/plugin/oracle/OracleSourceSchemaReader.java | 3 +-- postgresql-plugin/pom.xml | 6 ------ saphana-plugin/pom.xml | 6 ------ teradata-plugin/pom.xml | 6 ------ 18 files changed, 1 insertion(+), 104 deletions(-) diff --git a/amazon-redshift-plugin/pom.xml b/amazon-redshift-plugin/pom.xml index 60485ba57..db1bacd66 100644 --- a/amazon-redshift-plugin/pom.xml +++ b/amazon-redshift-plugin/pom.xml @@ -93,12 +93,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/aurora-mysql-plugin/pom.xml b/aurora-mysql-plugin/pom.xml index e166b40f9..6fb8d4b39 100644 --- a/aurora-mysql-plugin/pom.xml +++ b/aurora-mysql-plugin/pom.xml @@ -77,12 +77,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/aurora-postgresql-plugin/pom.xml b/aurora-postgresql-plugin/pom.xml index 6f2c72236..a39dc275d 100644 --- a/aurora-postgresql-plugin/pom.xml +++ b/aurora-postgresql-plugin/pom.xml @@ -77,12 +77,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - io.cdap.plugin postgresql-plugin diff --git a/cloudsql-mysql-plugin/pom.xml b/cloudsql-mysql-plugin/pom.xml index a5fde20d1..491d4d9b7 100644 --- a/cloudsql-mysql-plugin/pom.xml +++ b/cloudsql-mysql-plugin/pom.xml @@ -78,12 +78,6 @@ org.mockito mockito-core - - org.jetbrains - annotations - RELEASE - compile - com.google.cloud.sql diff --git a/cloudsql-postgresql-plugin/pom.xml b/cloudsql-postgresql-plugin/pom.xml index ebc896184..3749e44b8 100644 --- a/cloudsql-postgresql-plugin/pom.xml +++ b/cloudsql-postgresql-plugin/pom.xml @@ -82,12 +82,6 @@ org.mockito mockito-core - - org.jetbrains - annotations - RELEASE - compile - com.google.cloud.sql diff --git a/db2-plugin/pom.xml b/db2-plugin/pom.xml index 98fc8954c..e4bce9aa8 100644 --- a/db2-plugin/pom.xml +++ b/db2-plugin/pom.xml @@ -77,12 +77,6 @@ db2jcc4 test - - org.jetbrains - annotations - RELEASE - compile - diff --git a/generic-database-plugin/pom.xml b/generic-database-plugin/pom.xml index 99a2b94f5..f9f7be63e 100644 --- a/generic-database-plugin/pom.xml +++ b/generic-database-plugin/pom.xml @@ -76,12 +76,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/generic-db-argument-setter/pom.xml b/generic-db-argument-setter/pom.xml index e4d41b564..714555c41 100644 --- a/generic-db-argument-setter/pom.xml +++ b/generic-db-argument-setter/pom.xml @@ -76,12 +76,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/mariadb-plugin/pom.xml b/mariadb-plugin/pom.xml index c30ce823e..0aa611eea 100644 --- a/mariadb-plugin/pom.xml +++ b/mariadb-plugin/pom.xml @@ -77,12 +77,6 @@ 2.7.3 test - - org.jetbrains - annotations - RELEASE - compile - io.cdap.plugin mysql-plugin diff --git a/memsql-plugin/pom.xml b/memsql-plugin/pom.xml index df73f319a..5990b45a6 100644 --- a/memsql-plugin/pom.xml +++ b/memsql-plugin/pom.xml @@ -50,12 +50,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/mssql-plugin/pom.xml b/mssql-plugin/pom.xml index 16543c4f9..fb9a280e1 100644 --- a/mssql-plugin/pom.xml +++ b/mssql-plugin/pom.xml @@ -81,12 +81,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/mysql-plugin/pom.xml b/mysql-plugin/pom.xml index 7d3e01ae4..c6704802f 100644 --- a/mysql-plugin/pom.xml +++ b/mysql-plugin/pom.xml @@ -81,12 +81,6 @@ 8.0.19 test - - org.jetbrains - annotations - RELEASE - compile - ${testSourceLocation} diff --git a/netezza-plugin/pom.xml b/netezza-plugin/pom.xml index 755776920..310da7114 100644 --- a/netezza-plugin/pom.xml +++ b/netezza-plugin/pom.xml @@ -71,12 +71,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - test - diff --git a/oracle-plugin/pom.xml b/oracle-plugin/pom.xml index 6e8f39e9c..b18d41fd9 100644 --- a/oracle-plugin/pom.xml +++ b/oracle-plugin/pom.xml @@ -92,12 +92,6 @@ 1.1.6 test - - org.jetbrains - annotations - RELEASE - compile - diff --git a/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleSourceSchemaReader.java b/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleSourceSchemaReader.java index 208b70410..fabac2e3a 100644 --- a/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleSourceSchemaReader.java +++ b/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleSourceSchemaReader.java @@ -19,7 +19,6 @@ import com.google.common.collect.ImmutableSet; import io.cdap.cdap.api.data.schema.Schema; import io.cdap.plugin.db.CommonSchemaReader; -import org.jetbrains.annotations.NotNull; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -141,7 +140,7 @@ public Schema getSchema(ResultSetMetaData metadata, int index) throws SQLExcepti } } - private @NotNull Schema getTimestampLtzSchema() { + private Schema getTimestampLtzSchema() { return isTimestampOldBehavior || isTimestampLtzFieldTimestamp ? Schema.of(Schema.LogicalType.TIMESTAMP_MICROS) : Schema.of(Schema.LogicalType.DATETIME); diff --git a/postgresql-plugin/pom.xml b/postgresql-plugin/pom.xml index aa90bec01..f466d6eab 100644 --- a/postgresql-plugin/pom.xml +++ b/postgresql-plugin/pom.xml @@ -73,12 +73,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - org.mockito mockito-core diff --git a/saphana-plugin/pom.xml b/saphana-plugin/pom.xml index 5deb75078..f121e4da3 100644 --- a/saphana-plugin/pom.xml +++ b/saphana-plugin/pom.xml @@ -67,12 +67,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/teradata-plugin/pom.xml b/teradata-plugin/pom.xml index de277829c..356050c9f 100644 --- a/teradata-plugin/pom.xml +++ b/teradata-plugin/pom.xml @@ -72,12 +72,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile -