Properly configure pom at upload time