I\'ve a problem when publishing component to a Nexus repository, Maven upload the file twice:
The maven-deploy-plugin uploads the file you specify then uploads the all project attached artifacts. The maven-assembly-plugin by default attaches the output file to the project attached artifacts. This makes the upload happen twice for you.
The fix is to this to your maven-assembly-plugin configuration.
<attach>false</attach>