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-
> {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