Restore rest profile in pom