That has always been the behavior.  It makes deploying to many servlet
containers easier because most of them, as far as I know, simply expand
the WAR file as a directory that is named the same as the WAR file.
I figured that the behavior had been changed inadvertently.  Is there a
good reason for adding the version number into the WAR file name?

-Kurt

On Tue, 28 Jan 2003 [EMAIL PROTECTED] wrote:

> Why?
>
> The jars do.
>
> And the dependency entries will want one too.
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://www.freeroller.net/page/dion/Weblog
> Work:      http://www.multitask.com.au
>
>
> [EMAIL PROTECTED] wrote on 28/01/2003 05:27:45 AM:
>
> > kschrader    2003/01/27 10:27:45
> >
> >   Modified:    src/plugins-build/war plugin.jelly
> >   Log:
> >   The webapp that is built shouldn't include the version number in
> > the file/folder name.
> >
> >   Revision  Changes    Path
> >   1.2       +4 -4      jakarta-turbine-maven/src/plugins-
> > build/war/plugin.jelly
> >
> >   Index: plugin.jelly
> >   ===================================================================
> >   RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-
> > build/war/plugin.jelly,v
> >   retrieving revision 1.1
> >   retrieving revision 1.2
> >   diff -u -r1.1 -r1.2
> >   --- plugin.jelly   24 Jan 2003 03:46:23 -0000   1.1
> >   +++ plugin.jelly   27 Jan 2003 18:27:45 -0000   1.2
> >   @@ -29,9 +29,9 @@
> >      <goal name="war:war" prereqs="war:init" description="Build a war
> file">
> >
> >        <property name="maven.war.final.name"
> >   -      value="${maven.final.name}.war"/>
> >   +      value="${pom.artifactId}.war"/>
> >
> >   -    <echo>Building WAR ${maven.final.name}</echo>
> >   +    <echo>Building WAR ${pom.artifactId}</echo>
> >
> >        <mkdir dir="${maven.war.build.dir}" />
> >        <war warfile="${maven.war.build.dir}/${maven.war.final.name}"
> >   @@ -89,9 +89,9 @@
> >      <goal name="war:webapp" prereqs="war:init"
> >        description="Build a webapp directory">
> >
> >   -    <echo>Assembling webapp ${maven.final.name}</echo>
> >   +    <echo>Assembling webapp ${pom.artifactId}</echo>
> >
> >   -    <property name="webapp.build" value="${maven.war.build.dir}
> > /${maven.final.name}"/>
> >   +    <property name="webapp.build" value="${maven.war.build.dir}
> > /${pom.artifactId}"/>
> >        <mkdir dir="${webapp.build}"/>
> >
> >        <property name="webapp.build.webinf"
> value="${webapp.build}/WEB-INF"/>
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:turbine-maven-dev-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-maven-dev-
> > [EMAIL PROTECTED]>
> >
>
> > ForwardSourceID:NT000A8C52
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to