Mirgation to newer IDEA and scala plugin was performed.