diff --git a/pom.xml b/pom.xml
index aacfd44..b4ddac4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -53,4 +53,44 @@
3.10
+
+
+
+ io.confluent
+ kafka-connect-maven-plugin
+ 0.9.0
+
+
+
+ kafka-connect
+
+
+ jcustenborder
+ true
+
+
+ https://jcustenborder.github.io/kafka-connect-documentation/
+
+ Jeremy Custenborder
+ jcustenborder
+ kafka-connect-docker
+
+ source
+
+
+ File
+ Flume
+ csv
+ json
+
+ Kafka Connect Spooldir
+ ${pom.issueManagement.url}
+ Support provided through community involvement.
+
+
+
+
+
+
+
diff --git a/src/main/java/com/github/jcustenborder/kafka/connect/spooldir/SpoolDirJsonSourceTask.java b/src/main/java/com/github/jcustenborder/kafka/connect/spooldir/SpoolDirJsonSourceTask.java
index 53128d6..0395d11 100644
--- a/src/main/java/com/github/jcustenborder/kafka/connect/spooldir/SpoolDirJsonSourceTask.java
+++ b/src/main/java/com/github/jcustenborder/kafka/connect/spooldir/SpoolDirJsonSourceTask.java
@@ -60,7 +60,7 @@ protected void configure(InputStream inputStream, Map metadata,
this.offset = -1;
if (null != lastOffset) {
- int skippedRecords = 0;
+ int skippedRecords = 1;
while (this.iterator.hasNext() && skippedRecords <= lastOffset) {
next();
skippedRecords++;