Before maven dom refactoring