aboutsummaryrefslogtreecommitdiff
path: root/id/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'id/pom.xml')
-rw-r--r--id/pom.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/id/pom.xml b/id/pom.xml
index ba8cd0f8a..61f1ec2b3 100644
--- a/id/pom.xml
+++ b/id/pom.xml
@@ -24,4 +24,41 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+ <id>enforce-banned-dependencies</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <bannedDependencies>
+ <searchTransitive>true</searchTransitive>
+ <excludes>
+ <!-- <exclude>commons-logging</exclude> -->
+ <exclude>org.slf4j:1.5*</exclude>
+ <exclude>org.slf4j:1.6*</exclude>
+ <exclude>SamlEngine:1.1*</exclude>
+ <exclude>SamlEngine:1.2*</exclude>
+ <exclude>Commons:1.1*</exclude>
+ <exclude>Commons:1.2*</exclude>
+
+ <!-- <exclude>org.springframework:2.*</exclude>
+ <exclude>org.springframework:3.0.*</exclude> -->
+ </excludes>
+ </bannedDependencies>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
</project>