In your settings.xml files, insert the following code under the settings
element:
<properties>
<my.junit.group>xxxx</libs_project_home>
</properties>
Jeff
On Jan 2, 2008 11:12 AM, Thomas Chang <[EMAIL PROTECTED]> wrote:
> Thanks for the answer.
>
> Could you give an example how to set these properties in the settings.xml?
> :-/
>
>
> ***************************
> Maven will do it automatically if you defines theses properties in your
> setting.xml files.
>
> Jeff
>
>
> On Jan 2, 2008 10:53 AM, Thomas Chang <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> > Normally the <version> in <dependency> in pom.xml look as follow:
> > <dependency>
> > <groupId>junit</groupId>
> > <artifactId>junit</artifactId>
> > <version>3.8.1</version>
> > </dependency>
> >
> > Now I want to do as follow:
> > <dependency>
> > <groupId>{my.junit.group}</groupId>
> > <artifactId>{my.junit.artifactId}</artifactId>
> > <version>{my.junit.version}</version>
> > </dependency>
> >
> > The values of {my.junit.group} etc. will be defined in an other
> file. Now
> > my question: How can I configure the pom.xml so that it knows to read
> > these values from the file where the {my.junit.group} etc. defined?
> >
> > Regards
> >
> > Thomas
> >
> >
> > ---------------------------------
> > Beginnen Sie den Tag mit den neuesten Nachrichten. Machen Sie Yahoo!
> zu
> > Ihrer Startseite!
> >
>
>
>
> ---------------------------------
> Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s
> mit dem neuen Yahoo! Mail.
>
--
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent
Miossec (2006)
http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com