maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: Maven deploy plugin
Date Wed, 01 May 2013 16:22:00 GMT
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 <klpcrap@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"
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message