]> source.dussan.org Git - archiva.git/commitdiff
ensure we have only one velocity jar
authorOlivier Lamy <olamy@apache.org>
Tue, 22 Nov 2011 20:50:52 +0000 (20:50 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 22 Nov 2011 20:50:52 +0000 (20:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205162 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/pom.xml
pom.xml

index be873fdb13302446966ca038296d1c5d8626d876..a3160a526fb45d3e118686b37dae574cf7a9dff3 100644 (file)
         </exclusion>
       </exclusions>
     </dependency>
+    <dependency>
+      <groupId>org.apache.velocity</groupId>
+      <artifactId>velocity</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.apache.velocity</groupId>
       <artifactId>velocity-tools</artifactId>
           <groupId>velocity</groupId>
           <artifactId>velocity-dep</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>velocity</groupId>
+          <artifactId>velocity</artifactId>
+        </exclusion>
         <exclusion>
           <groupId>struts</groupId>
           <artifactId>struts</artifactId>
diff --git a/pom.xml b/pom.xml
index 3870d4657d1309c8a618e0702672bc9915a33689..b73f20ae238812fc1afdf9c19dfb1e88d24e4647 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           </exclusion>
         </exclusions>
       </dependency>
+      <dependency>
+        <groupId>org.apache.velocity</groupId>
+        <artifactId>velocity</artifactId>
+        <version>1.7</version>
+      </dependency>
       <dependency>
         <groupId>org.codehaus.redback</groupId>
         <artifactId>redback-rbac-cached</artifactId>
                     <exclude>commons-logging:commons-logging</exclude>
                     <exclude>org.slf4j:jcl104-over-slf4j</exclude>
                     <exclude>velocity:velocity-dep</exclude>
+                    <exclude>velocity:velocity</exclude>
                     <exclude>classworlds:classworlds</exclude>
                     <exclude>javax.transaction:jta</exclude>
                     <exclude>javax.sql:jdbc-stdext</exclude>