From ca01eeab8fdd247cca8d8f9037e3d138906fb987 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 9a545ef6b..20f6302c6 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 b9a542c3d..2ea4d47e7 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 0f31154ca..6307ac549 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 8061b4ca0..5414d8b96 100644 --- a/cloudsql-mysql-plugin/pom.xml +++ b/cloudsql-mysql-plugin/pom.xml @@ -115,12 +115,6 @@ ${mockito.version} test - - org.jetbrains - annotations - RELEASE - compile - com.google.cloud.sql diff --git a/cloudsql-postgresql-plugin/pom.xml b/cloudsql-postgresql-plugin/pom.xml index f147961e6..092c8e70e 100644 --- a/cloudsql-postgresql-plugin/pom.xml +++ b/cloudsql-postgresql-plugin/pom.xml @@ -119,12 +119,6 @@ ${mockito.version} test - - org.jetbrains - annotations - RELEASE - compile - com.google.cloud.sql diff --git a/db2-plugin/pom.xml b/db2-plugin/pom.xml index 868269a8a..0667b5758 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 39cb543d1..9fdb62283 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 912528d4a..1710d0ada 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 3f7b9a58b..76c48f83a 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 53e10ed78..3de08f4ea 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 768e5d4c6..42e6e2c8e 100644 --- a/mssql-plugin/pom.xml +++ b/mssql-plugin/pom.xml @@ -120,12 +120,6 @@ 8.2.1.jre8 test - - org.jetbrains - annotations - RELEASE - compile - diff --git a/mysql-plugin/pom.xml b/mysql-plugin/pom.xml index 7c7dd054a..ba3585337 100644 --- a/mysql-plugin/pom.xml +++ b/mysql-plugin/pom.xml @@ -120,12 +120,6 @@ 8.0.19 test - - org.jetbrains - annotations - RELEASE - compile - ${testSourceLocation} diff --git a/netezza-plugin/pom.xml b/netezza-plugin/pom.xml index 824a7d6ec..a5098370c 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 988cd424b..8069c6551 100644 --- a/oracle-plugin/pom.xml +++ b/oracle-plugin/pom.xml @@ -132,12 +132,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 73912e656..c18f9e0b9 100644 --- a/postgresql-plugin/pom.xml +++ b/postgresql-plugin/pom.xml @@ -108,12 +108,6 @@ ${cdap.version} test - - org.jetbrains - annotations - RELEASE - compile - org.mockito mockito-core diff --git a/saphana-plugin/pom.xml b/saphana-plugin/pom.xml index 6e541ddf2..043493165 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 6fa152ad7..ccf97ba2e 100644 --- a/teradata-plugin/pom.xml +++ b/teradata-plugin/pom.xml @@ -72,12 +72,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile -