On Tue, 2003-06-17 at 11:53, Colin Sampaleanu wrote:
> Jason van Zyl wrote:
> 
> >On Tue, 2003-06-17 at 11:37, Jason van Zyl wrote:
> >  
> >
> >>Hi,
> >>
> >>I wanted to check with users about the frequency of using ${pom.X}
> >>notation in properties files. I would like to remove this feature as it
> >>is causing some grief internally and the only place I see it being used
> >>internally is driver.properties which isn't visible to most users.
> >>
> >>I don't believe this 'feature' is being used but I wanted to check
> >>because I believe I made an error in judgement letting this usage into
> >>existence.
> >>
> >>So for example in driver.properties we have:
> >>
> >>maven.final.name = ${pom.artifactId}-${pom.currentVersion}
> >>
> >>This is the type of usage I want to remove.
> >>    
> >>
> >Just a clarification: there seem to be a few places in plugins where the
> >${pom.X) interpolation is used and I can catch those to make sure things
> >work. I really just wanted to know if this feature is in widespread use.
> >
> >I would really like to move to properties files that strictly contain
> >user defined values and not pom defined values.
> >
> I've used it once in a while, to do stuff like
> maven.ejb.final.name=${pom.artifactId}-beans-${pom.currentVersion}
> 
> Now this was to get around a limitation of the ejb plugin, which can't 
> (or couldn't) let you override the final name. It would not necessarilly 
> be that big a deal if this went away, I suppose, as long as I could 
> still acess the value in maven.xml///

Thanks, this one I can work around as well because the driver.properties
uses ${pom.artifactId} and ${pom.currentVersion}.

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

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to