Thanks for that, I changed my pom file finalName to look like:

<finalName>myApp##${version}</finalName>

This is exactly what I wanted and now my web app in the url is just myApp.

On Fri, February 28, 2014 2:56 am, Mark Thomas wrote:

> On 28/02/2014 10:38, [email protected] wrote:
>
>> Is there a way to redefine the web app path from within the war file so
>> it always deploys with the build and tomcat uses this instead of the
>> name of the warfile\webapp and there is no changes to the tomcat
>> configuration?
>
> Use the version marker. i.e.:
> myapp##0.0.1-SNAPSHOT.war
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to