Change pom configuration to DSL