]> source.dussan.org Git - archiva.git/commitdiff
enforcer commons-digester and beanutils versions used to avoid dup with redback overlay
authorOlivier Lamy <olamy@apache.org>
Wed, 23 Nov 2011 00:08:26 +0000 (00:08 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 23 Nov 2011 00:08:26 +0000 (00:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205245 13f79535-47bb-0310-9956-ffa450edef68

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

index f97b2a9e6d195e47b0079466bb7c0870d28571c4..861c61f1ec9e047f5028ee6d727e1c556d49cf51 100644 (file)
     <dependency>
       <groupId>commons-configuration</groupId>
       <artifactId>commons-configuration</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>commons-beanutils</groupId>
+          <artifactId>commons-beanutils-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>commons-logging</groupId>
+          <artifactId>commons-logging</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>commons-digester</groupId>
+      <artifactId>commons-digester</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>commons-logging</groupId>
+          <artifactId>commons-logging</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>commons-beanutils</groupId>
+      <artifactId>commons-beanutils</artifactId>
       <exclusions>
         <exclusion>
           <groupId>commons-logging</groupId>
       </exclusions>
     </dependency>
     <!-- Redback Dependencies -->
-    <dependency>
-      <groupId>org.codehaus.redback</groupId>
-      <artifactId>redback-struts2-content</artifactId>
-      <type>war</type>
-      <scope>runtime</scope>
-    </dependency>
+
     <dependency>
       <groupId>org.codehaus.redback</groupId>
       <artifactId>redback-struts2-integration</artifactId>
         </exclusion>
       </exclusions>
     </dependency>
+
+    <dependency>
+      <groupId>org.codehaus.redback</groupId>
+      <artifactId>redback-struts2-content</artifactId>
+      <scope>runtime</scope>
+      <type>war</type>
+    </dependency>
+
     <!-- Other dependencies -->
     <dependency>
       <groupId>org.apache.archiva</groupId>
               <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
             </manifest>
           </archive>
+          <overlays>
+            <overlay>
+              <id>redback-contents</id>
+              <groupId>org.codehaus.redback</groupId>
+              <artifactId>redback-struts2-content</artifactId>
+              <excludes>
+                <exclude>WEB-INF/lib/**.jar</exclude>
+                <exclude>WEB-INF/web.xml</exclude>
+                <exclude>META-INF/**</exclude>
+              </excludes>
+            </overlay>
+          </overlays>
         </configuration>
       </plugin>
       <plugin>
diff --git a/pom.xml b/pom.xml
index 713a9e7cecf4f4c71a0ca6d94bd16859eee93dfd..5afca4895ceedab13738da7ce606aa1b63377cb6 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           </exclusion>
         </exclusions>
       </dependency>
+      <dependency>
+        <groupId>commons-digester</groupId>
+        <artifactId>commons-digester</artifactId>
+        <version>1.8.1</version>
+        <exclusions>
+          <exclusion>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>commons-beanutils</groupId>
+        <artifactId>commons-beanutils</artifactId>
+        <version>1.8.3</version>
+        <exclusions>
+          <exclusion>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
       <dependency>
         <groupId>commons-collections</groupId>
         <artifactId>commons-collections</artifactId>