I'm trying to implement org.apache.spark.sql.Row. Interface have default implementations for several methods, and IntelliJ doesn't complain about not overriding these methods. 
However, when building with maven, I get:
FunctionalRow is not abstract and does not override abstract method mkString(java.lang.String,java.lang.String,java.lang.String) in org.apache.spark.sql.Row
Below is the class implementation:
import java.util.List;
import java.util.function.Supplier;
import org.apache.spark.sql.Row;
import scala.collection.JavaConverters;
import scala.collection.Seq;
public class FunctionalRow implements Row {
    protected List<Supplier<Object>> suppliers;
    public FunctionalRow(List<Supplier<Object>> suppliers) {
        this.suppliers = suppliers;
    }
    @Override
    public int length() {
        return suppliers.size();
    }
    @Override
    public Object get(int i) {
        return suppliers.get(i).get();
    }
    @Override
    public Row copy() {
        return this;
    }
    @Override
    public Seq<Object> toSeq() {
        return JavaConverters.asScalaIteratorConverter(suppliers.stream().map(s -> s.get()).iterator()).asScala().toSeq();
    }
}
maven-compiler-plugin settings:
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.8.0</version>
          <executions>
            <execution>
              <id>default-compile</id>
              <phase>compile</phase>
              <goals>
                <goal>compile</goal>
              </goals>
              <configuration>
                <source>1.8</source>
                <target>1.8</target>
                <encoding>UTF-8</encoding>
              </configuration>
            </execution>
            <execution>
              <id>default-testCompile</id>
              <phase>test-compile</phase>
              <goals>
                <goal>testCompile</goal>
              </goals>
              <configuration>
                <source>1.8</source>
                <target>1.8</target>
                <encoding>UTF-8</encoding>
              </configuration>
            </execution>
          </executions>
          <configuration>
            <source>1.8</source>
            <target>1.8</target>
            <encoding>UTF-8</encoding>
          </configuration>
        </plugin>
Any help would be appreciated!
 
    