move cassandra version to a property
authorOlivier Lamy <olamy@apache.org>
Mon, 10 Jun 2013 10:43:31 +0000 (10:43 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 10 Jun 2013 10:43:31 +0000 (10:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/sandbox/trunk@1491402 13f79535-47bb-0310-9956-ffa450edef68

metadata-store-cassandra/pom.xml

index d200cc7..3390b03 100644 (file)
   <packaging>bundle</packaging>
   <name>Archiva Core Plugins :: Cassandra JPA Storage for Metadata</name>
 
+  <properties>
+    <cassandraVersion>1.2.5</cassandraVersion>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>commons-lang</groupId>
     <dependency>
       <groupId>org.apache.cassandra</groupId>
       <artifactId>cassandra-all</artifactId>
-      <version>1.2.5</version>
+      <version>${cassandraVersion}</version>
       <exclusions>
         <exclusion>
           <groupId>log4j</groupId>
             </goals>
           </execution>
         </executions>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.cassandra</groupId>
+            <artifactId>cassandra-all</artifactId>
+            <version>${cassandraVersion}</version>
+          </dependency>
+        </dependencies>
       </plugin>
     </plugins>
   </build>