diff --git a/hive/src/main/java/io/confluent/connect/storage/errors/HiveMetaStoreException.java b/hive/src/main/java/io/confluent/connect/storage/errors/HiveMetaStoreException.java index 5fffa0fd1..fad09ed7d 100644 --- a/hive/src/main/java/io/confluent/connect/storage/errors/HiveMetaStoreException.java +++ b/hive/src/main/java/io/confluent/connect/storage/errors/HiveMetaStoreException.java @@ -19,6 +19,8 @@ public class HiveMetaStoreException extends ConnectException { + private static final long serialVersionUID = 1L; + public HiveMetaStoreException(String s) { super(s); } diff --git a/partitioner/src/main/java/io/confluent/connect/storage/errors/PartitionException.java b/partitioner/src/main/java/io/confluent/connect/storage/errors/PartitionException.java index 9cd55d486..8c4ff4f2c 100644 --- a/partitioner/src/main/java/io/confluent/connect/storage/errors/PartitionException.java +++ b/partitioner/src/main/java/io/confluent/connect/storage/errors/PartitionException.java @@ -18,7 +18,9 @@ import org.apache.kafka.connect.errors.ConnectException; public class PartitionException extends ConnectException { - + + private static final long serialVersionUID = 1L; + public PartitionException(String s) { super(s); } diff --git a/pom.xml b/pom.xml index e62d6ed95..ff7c0294c 100644 --- a/pom.xml +++ b/pom.xml @@ -172,6 +172,7 @@ maven-compiler-plugin true + true -Xlint:all -Werror