Or "<finalName>${project.artifactId}</finalName>"

On Wed, Jun 18, 2008 at 8:57 PM, James Carman <[EMAIL PROTECTED]>
wrote:

> It's a maven question.  Put a <finalName> element inside your <build>
> element in your pom.xml file:
>
> <build>
>  <finalName>mycoolapp</finalName>
>  ...
> </build>
>
>
> On Wed, Jun 18, 2008 at 3:36 PM, Frank Silbermann
> <[EMAIL PROTECTED]> wrote:
> > This question pertains to the infrastructure provided with the
> > QuickStart, but not specifically with Wicket, so you might want to
> > replay via e-mail rather than to the list.
> >
> > When I use Maven to package my application, it appends a version number
> > (or SNAPSHOT indicator) into the name of my .war file.  When I drop my
> > .war file into Tomcat's webapp folder, the .war filename becomes the
> > application name, part of the URL that users must enter.
> >
> > I do not want the version number to be part of the web application's
> > URL.  I want to be able to change the version without making the user
> > update all bookmarks.  One way to do this is to manually change the name
> > of the .war file to eliminate the version information before providing
> > it to Tomcat, but that seems clumsy.  Is there some way I can tell Maven
> > to deploy the .war file to my Tomcat directory without the version
> > number?  Alternately, is there something I can put in my application's
> > context.xml file to tell Tomcat to use something other than the .war
> > filename as the application name?
> >
> > What is the right way to do this?  Is this a Maven question or a Tomcat
> > question?
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to