<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/maven-v4_0_0.xsd"> <parent> <groupId>MOA</groupId> <artifactId>MOA</artifactId> <version>2.0.0</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>id</artifactId> <packaging>pom</packaging> <version>1.9.98-SNAPSHOT</version> <name>MOA ID</name> <modules> <module>oa</module> <module>templates</module> <module>server</module> <module>ConfigWebTool</module> </modules> <properties> <repositoryPath>${basedir}/../repository</repositoryPath> <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>org.springframework:2.*</exclude> <exclude>org.springframework:3.0.*</exclude> --> </excludes> </bannedDependencies> </rules> <fail>true</fail> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>