Hi all,
Normally the <dependency/> in the "pom.xml" looks as follow:
...
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
</dependency>
...
Now what I want to do is: I don't want to set the dependency version here but
from a property file on the server maschine. And the "pom.xml" by local should
look as follow:
...
<extend>...</extend>
...
<dependency>
<groupId>${my.unit.group}</groupId>
<artifactId>${my.unit.artifactId}</artifactId>
<version>${my.junit.version}</version>
</properties>
</dependency>
...
The ${...} should be define in the property file. Everytime if I run maven
command to download the dependencies it will check the version in the propoty
file first and download it from the server.
Has someone such experience?
Regards
Thomas
---------------------------------
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie“s mit
dem neuen Yahoo! Mail.