port maven java rpm project to scala spt