The Maven way is to change the version of your project to a proper release version. That's how you do it. Don't fight Maven!
/Anders On Thu, Mar 4, 2010 at 15:22, Maruf Aytekin <[email protected]> wrote: > Hi Andres, > > Yes I am aware of the release plugin. We don't want to make a release. > We need to make deployments from SNAPSHOT version. The application > reads the version info from manifest.mf and we want to show version > info without SNAPSHOT string. > > > Thanks, > Maruf > > > On Thu, Mar 4, 2010 at 3:43 PM, Anders Hammar <[email protected]> wrote: > > That should happen automatically if you build/release a version, i.e. you > > don't have -SNAPSHOT in you project version element. > > > > /Anders > > > > On Thu, Mar 4, 2010 at 12:51, Maruf Aytekin <[email protected]> wrote: > > > >> Hi All, > >> > >> How can I chop off "-SNAPSHOT" string from > >> Specification-Version:1.5.2-SNAPSHOT or Implementation-Version when I > >> build a war file with Maven2? > >> > >> I would like to use the version info as Specification-Version:1.5.2 in > >> manifest.mf. > >> > >> > >> Many thanks, > >> Maruf > >> > >> --------------------------------------------------------------------- > >> 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] > >
