But, keep in mind that this may impact the reproducibility of your build
because your settings.xml is not under version control system (I assume).

Erez.

On Jan 2, 2008 2:33 PM, Heinrich Nirschl <[EMAIL PROTECTED]> wrote:

> On Jan 2, 2008 12:06 PM, Thomas Chang <[EMAIL PROTECTED]> wrote:
> > Now I do as follow in the "settings.xml":
> >
> >   <profiles>
> >   <profile>
> >   <properties>
> >   <my.junit.version>3.8.1</my.junit.version>
> >   </properties>
> >   </profile>
> >   </profiles>
> >
> >   And it runs successful when I run "mvn clean". But as I run "´mvn
> compile" I got error as follow:
> >
> >   Downloading:
> http://repo1.maven.org/maven2/junit/junit/{my.junit.version}/junit-<http://repo1.maven.org/maven2/junit/junit/%7Bmy.junit.version%7D/junit->
> > {my.junit.version}.jar
>
> To reference the proerties you must use syntax like this:
>
> <version>${my.junit.version}</version>
>
>  ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to