There’s probably a way to hoodwink Maven into putting the war file somewhere 
special, but my preference would be to create an explicit step via, say, the 
ant plugin that copied it from target (where it is expected) to where ever you 
would like it to go.

IMHO this is a clearer way of going about this, and someone else looking at the 
pom would probably have an easier time picking up on what you are trying to do

On Apr 15, 2014, at 12:20 PM, Leandro Prado <leandro.pr...@outlook.com.br> 
wrote:

> 
> 
> Hi,
> 
> 
> 
> 
> 
> 
> 
> I configuring a pom.xml in my project and configured  to generate a .war file
> 
> 
> 
> 
> 
> 
> 
> <project>
> 
> 
> 
>  ...
> 
> 
> 
>  <packaging>war</packaging>
> 
> 
> 
>  ...
> 
> 
> 
> </project>
> 
> 
> 
> 
> 
> 
> 
> The .war is generated in the target/project.war directory
> 
> 
> 
> 
> 
> 
> 
> My question is, how to configure the target location on generated the .war 
> file? For example (publish/project.war)
> 
> 
> 
> Tks
> 
> Leandro Prado


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to