]> source.dussan.org Git - archiva.git/commitdiff
add a profile to find duplicate resources/dependencies
authorOlivier Lamy <olamy@apache.org>
Wed, 5 Jun 2013 11:05:12 +0000 (11:05 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 5 Jun 2013 11:05:12 +0000 (11:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/parent@1489809 13f79535-47bb-0310-9956-ffa450edef68

pom.xml

diff --git a/pom.xml b/pom.xml
index 1fcd186815ca50fd9b3fb8ef0040d1e3a40487a4..ff0b97a02392b82a198d49d4973c7e218b0957f1 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           </plugin>
         </plugins>
       </build>
+    </profile>
 
+    <profile>
+      <id>dup</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>com.ning.maven.plugins</groupId>
+            <artifactId>maven-duplicate-finder-plugin</artifactId>
+            <version>1.0.4</version>
+            <executions>
+              <execution>
+                <phase>process-test-resources</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
     </profile>
 
   </profiles>