Adding the following fragment helped me with both install and deploy
install
deploy
Code:
<configuration> <updatePomFile>true</updatePomFile> </configuration>