Hi,

I want to generate a unique number for all the jars which i build in my maven project. There are multiple projects (multi project)with in a given project. The value ${pom.currentVersion} is just not enough. I need to know the number of each build. For this i have a unique number generated for me. I need to pass this value to different projects that are part of the same project.

${systemScope.put('dateTimeStamp','${versionInfo}')}
The syntax of the form mentioned above does not help me since it is per JVM.

Is there a way i could store it in a kind of global context and retrieve it?

Once i get this i can create a Project-MANIFEST.MF file write a property to it and set up a pregoal for jar and append this property to the jar manifest.

Running short of time to get this fixed. Has anyone faced a similar situation? does any one have a better solution?

Simply the requirement is to add the same build number in all the dependent jars. I am not using CVS.

Thanks,
Vijay







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



Reply via email to