maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damon Silver" <damon.sil...@diio.net>
Subject RE: dependency version in a property
Date Thu, 18 Jun 2009 00:03:50 GMT
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:eciramella@upromise.com] 
Sent: Wednesday, June 17, 2009 4:54 PM
To: users@maven.apache.org
Subject: dependency version in a property 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message