Yes you can configure the maven-buildnumber-plugin at the top level.
How are you configuring it, btw? To use CVS, you would probably want
to use a configuration which reflects a timestamp or a sequential
number, since it doesn't have a global revision number.
HTH,
J
On 3-May-06, at 2:17 PM, Gautham Pamu wrote:
Hi,
I have multiple project and so can we define this at the top level.
Can we use this plugin work with cvs if disable checks
Do we ahve to specify this for every pom file or can we have it just
inthe top level pom.xml file.
<build>
...
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
On 3/7/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
Deploy team snapshots of our project.
---------------------------------------------------------------------
-----------
Thanks
Mick Knutson
http://www.BASELogic.com
http://www.MickKnutson.com
MSN Messenger: [EMAIL PROTECTED]
---------------------------------------------------------------------
-----------
----- Original Message -----
From: "Julian Wood" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Monday, March 06, 2006 8:30 PM
Subject: Re: Build date & time
Do you mean how to deploy a snapshot of your project so that other
people can use it? Or how to use a snapshot dependency in your
project?
For the former, there is some info here:
http://wiki.ucalgary.ca/page/LearningCommons/Documentation/
Project_Versioning_-_Best_Practices#Snapshots
If it's the latter, an example is at:
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/
install.html
in combination with
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/
howto.html
What specifically are you trying to do?
J
On 6-Mar-06, at 2:58 PM, Mick Knutson wrote:
> Does anyone have a tutorial or introduction on how to use
SNAPSHOT in
my
> project?
>
>
>> From: Julian Wood <[EMAIL PROTECTED]>
>> Reply-To: "Maven Users List" <[email protected]>
>> To: "Maven Users List" <[email protected]>
>> Subject: Re: Build date & time
>> Date: Mon, 6 Mar 2006 14:25:42 -0700
>>
>> You can use this plugin:
>>
>> http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/
>> introduction.html
>>
>> J
>>
>> On 1-Mar-06, at 2:37 AM, Jörg Zintel wrote:
>>>
>>> Hi,
>>>
>>> I'm just starting with maven 2 and wonder how I could get the
build
>>> date and time into the manifest of my jar.
>>>
>>> I would like to have something like:
>>>
>>> build.date=Mon, 01.01.06 12:35
>>>
>>> Does anyone know how to get this?
>>>
>>> Thanks in advance
>>>
>>>
>>>
>>> Jörg
>>>
--
Julian Wood <[EMAIL PROTECTED]>
Programmer/Analyst
University of Calgary
http://commons.ucalgary.ca
---------------------------------------------------------------------
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]
--
-Gautham Pamu
--
Julian Wood <[EMAIL PROTECTED]>
Software Engineer
Teaching & Learning Centre
University of Calgary
http://tlc.ucalgary.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]