diff options
author | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-03-04 20:06:41 +0100 |
---|---|---|
committer | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-03-04 20:06:41 +0100 |
commit | 7f1c5affaa9358bef6995371dc08c8f0c981a849 (patch) | |
tree | 089323d31208d1cca2fdc61c79b5a59351f72594 /id/pom.xml | |
parent | cd0887a43b0b4350e736433c2b513901a2151601 (diff) | |
download | moa-id-spss-7f1c5affaa9358bef6995371dc08c8f0c981a849.tar.gz moa-id-spss-7f1c5affaa9358bef6995371dc08c8f0c981a849.tar.bz2 moa-id-spss-7f1c5affaa9358bef6995371dc08c8f0c981a849.zip |
resolving problems related to commons and slf4j libraries
Diffstat (limited to 'id/pom.xml')
-rw-r--r-- | id/pom.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/id/pom.xml b/id/pom.xml index db4ee137e..bd3344638 100644 --- a/id/pom.xml +++ b/id/pom.xml @@ -24,4 +24,36 @@ <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> |