felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch" <mccu...@gmail.com>
Subject Re: [commons] Added 2nd round of wrapper POM contributions
Date Tue, 06 Mar 2007 02:15:23 GMT
On 06/03/07, Tim Moloney <t.moloney@verizon.net> wrote:
> Is there a way to define a custom variable (e.g. shortName) in pom.xml?

Yes, for example:

  <properties>
    <shortName>FOO</shortName>
  </properties>

then you can use ${shortName} in your pom.xml - btw, if we come up with
a standard template pom.xml for felix commons then it would be worthwhile
defining a maven archetype (I use one locally for creating wrapped bundles).

Cheers, Stuart

Mime
View raw message