move java api from sbt to maven