<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.x</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>id</artifactId> <version>3.x</version> <packaging>pom</packaging> <name>MOA ID</name> <modules> <module>oa</module> <module>moa-spss-container</module> <module>server</module> <module>ConfigWebTool</module> <module>moa-id-webgui</module> </modules> <properties> <repositoryPath>${basedir}/../repository</repositoryPath> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <plugins> <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>properties-maven-plugin</artifactId> <version>1.0-alpha-2</version> <executions> <execution> <phase>initialize</phase> <goals> <goal>read-project-properties</goal> </goals> <configuration> <files> <file>${basedir}/../moa-id.properties</file> </files> </configuration> </execution> </executions> </plugin> --> <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> <dependencyManagement> <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.0.1</version> <scope>provided</scope> </dependency> </dependencies> </dependencyManagement> </project>