The Maven Deploy Plugin has one function: deploying artifacts to a Maven repository.
A Maven repository has a strict layout: URL + groupId.replaceAll('.','/')+"/"+artifactId+"/"+version.replace("-\d{8}\.\d{6}-\d+$","-SNAPSHOT")+"/"+artifactId+"-"+version+(classifier == null ? "" : "-"+classifier) + "." + type If you want to deploy with a different pattern, you need to use a different plugin On 1 May 2013 17:06, Kristian Lind <klpc...@gmail.com> wrote: > Hi, when using the maven deploy plugin, can I change the name of the file > being uploaded to Nexus. ?? > > Like the maven-ear-plugin has the finalName. > > Now the file just gets the name "artifactId" >