Something like this should work:

<build>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junit.version}</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</build>
...
<properties>
...
  <junit.version>4.4</junit.version>
...
</properties>

- Damon

-----Original Message-----
From: EJ Ciramella [mailto:[email protected]] 
Sent: Wednesday, June 17, 2009 4:54 PM
To: [email protected]
Subject: dependency version in a property 

Is there a way to get a dependency  version in a property?


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to