Project build with sonatype compliance
[Fix] Tests failing
Configure pom only when running the task, not during configuration