Set createDependencyReducedPom to false to fix problem with upload of pom to nexus repo.