Skip to content

Commit af1bccb

Browse files
committed
Introduce duplicate-finder-maven-plugin.
Resolves #1218.
1 parent 5cb3f3f commit af1bccb

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

pom.xml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45

56
<groupId>org.springframework.ws</groupId>
@@ -266,13 +267,28 @@
266267
</excludes>
267268
<searchTransitive>true</searchTransitive>
268269
</bannedDependencies>
269-
<dependencyConvergence />
270+
<dependencyConvergence/>
270271
</rules>
271272
<fail>true</fail>
272273
</configuration>
273274
</execution>
274275
</executions>
275276
</plugin>
277+
278+
<plugin>
279+
<groupId>org.basepom.maven</groupId>
280+
<artifactId>duplicate-finder-maven-plugin</artifactId>
281+
<version>1.5.0</version>
282+
<executions>
283+
<execution>
284+
<id>check-for-duplicates</id>
285+
<goals>
286+
<goal>check</goal>
287+
</goals>
288+
<phase>validate</phase>
289+
</execution>
290+
</executions>
291+
</plugin>
276292
</plugins>
277293
</build>
278294
</profile>
@@ -867,4 +883,4 @@
867883
<developerConnection>scm:git:ssh://[email protected]:spring-projects/spring-ws.git</developerConnection>
868884
</scm>
869885

870-
</project>
886+
</project>

0 commit comments

Comments
 (0)