Yeah, that was my conclusion too. Its surprising that maven developers
havent made it changeable at run itme. everytim a new build is taken, u go
and edit the pom's version.
On 5/7/08, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> On Tue, May 6, 2008 at 1:08 AM, Niranjan Deshpande
> <[EMAIL PROTECTED]> wrote:
>
> > The war file generated has name application_Name-Build-r2008-05-05.war
> > This name is a result of the finalName tag, in the POM:
> > *
>
> >
> > <finalName>${project.artifactId}-${project.version}-r${buildNumber}</finalName>
> > *
> > But when I run
> > *mvn install*
> > **
> > war file that is added to the maven local repository is
> > application_Name-Build.war, without the timestamp.
>
> That's always going to be the case. The finalName only affects the
> filename you see in the target directory. In the local and remote
> repos, it will always be just $artifactId-$version.
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Regards,
Niranjan Deshpande
"Shut yourself from the world and create the reality you want"