configuring maven, avoiding interfaces due to compilation problems