You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by soussou97 <db...@yahoo.fr> on 2006/12/19 18:09:13 UTC
Maven questions
Hi;
Q1- How manage automatically the version of a jar or a war ? The goal is to
know the version of an application which works in production without rename
the jar file. Like this :
> toto.jar - version => returns the version number of the current
> application.
Q2: how to automatically increase the version number with each generation of
the jar or war ?
Q3: It is possible to schedule the generation of a build with continnum ?
Q4: It is possible to generate automatically a installator (setup) with
MAVEN 2 ?
Regards;
?
--
View this message in context: http://www.nabble.com/Maven-questions-tf2847111s177.html#a7950777
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven questions
Posted by Wim Deblauwe <wi...@gmail.com>.
4. It probably depends on what install-creator program you are using. I've
written a M2 plugin at my previous work to create an installshield installer
automatically. Look at the maven website (
http://maven.apache.org/plugin-developers/index.html) or the Better Builds
with Maven book for more info on writing your own plugin. Or, if you're
using a program you pay for, ask them to write a maven plugin.
2006/12/19, Wayne Fay <wa...@gmail.com>:
>
> 1. People ask for this from time to time and it goes against the
> general nature of Maven. All artifacts have versions which are
> included in the names of the file. So while this may be possible, it
> is rather difficult to achieve.
>
> 2. I've heard of a buildnumber plugin but have not used it myself.
>
> 3. You should ask Continuum questions on the Continuum Users list.
>
> 4. This is not available in any Maven core plugins that I'm aware of
> but this question has been posed previously. Search the archive for
> more info.
>
> Wayne
>
> On 12/19/06, soussou97 <db...@yahoo.fr> wrote:
> >
> > Hi;
> >
> > Q1- How manage automatically the version of a jar or a war ? The goal
> is to
> > know the version of an application which works in production without
> rename
> > the jar file. Like this :
> > > toto.jar - version => returns the version number of the current
> > > application.
> >
> > Q2: how to automatically increase the version number with each
> generation of
> > the jar or war ?
> >
> > Q3: It is possible to schedule the generation of a build with continnum
> ?
> >
> > Q4: It is possible to generate automatically a installator (setup) with
> > MAVEN 2 ?
> >
> > Regards;
> > ?
> > --
> > View this message in context:
> http://www.nabble.com/Maven-questions-tf2847111s177.html#a7950777
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester
Re: Maven questions
Posted by Wayne Fay <wa...@gmail.com>.
1. People ask for this from time to time and it goes against the
general nature of Maven. All artifacts have versions which are
included in the names of the file. So while this may be possible, it
is rather difficult to achieve.
2. I've heard of a buildnumber plugin but have not used it myself.
3. You should ask Continuum questions on the Continuum Users list.
4. This is not available in any Maven core plugins that I'm aware of
but this question has been posed previously. Search the archive for
more info.
Wayne
On 12/19/06, soussou97 <db...@yahoo.fr> wrote:
>
> Hi;
>
> Q1- How manage automatically the version of a jar or a war ? The goal is to
> know the version of an application which works in production without rename
> the jar file. Like this :
> > toto.jar - version => returns the version number of the current
> > application.
>
> Q2: how to automatically increase the version number with each generation of
> the jar or war ?
>
> Q3: It is possible to schedule the generation of a build with continnum ?
>
> Q4: It is possible to generate automatically a installator (setup) with
> MAVEN 2 ?
>
> Regards;
> ?
> --
> View this message in context: http://www.nabble.com/Maven-questions-tf2847111s177.html#a7950777
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org