Debian Codegraph @

maven-enforcer-plugin/src/it/projects/dependency-convergence_include-all-exclude_failure/pom.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 -->
21 <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">
22
23 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.apache.maven.enforcer.its</groupId>
25 <artifactId>dependency-convergence</artifactId>
26 <version>1.0.0</version>
27 <packaging>jar</packaging>
28
29 <dependencies>
30 <dependency>
31 <groupId>org.slf4j</groupId>
32 <artifactId>slf4j-log4j12</artifactId>
33 <version>1.6.2</version>
34 </dependency>
35 <dependency>
36 <groupId>org.slf4j</groupId>
37 <artifactId>slf4j-jdk14</artifactId>
38 <version>1.6.1</version>
39 </dependency>
40 <dependency>
41 <groupId>org.slf4j</groupId>
42 <artifactId>slf4j-nop</artifactId>
43 <version>1.6.0</version>
44 </dependency>
45 </dependencies>
46
47 <build>
48 <plugins>
49 <plugin>
50 <groupId>org.apache.maven.plugins</groupId>
51 <artifactId>maven-enforcer-plugin</artifactId>
52 <version>@project.version@</version>
53 <executions>
54 <execution>
55 <id>enforce</id>
56 <configuration>
57 <rules>
58 <!-- if everything is included, return any errors that are not excluded -->
59 <dependencyConvergence>
60 <includes>
61 <include>*</include>
62 </includes>
63 <excludes>
64 <exclude>org.apache.commons</exclude>
65 <exclude>org.slf4j:slf4j-api:[1.6.2]</exclude>
66 </excludes>
67 </dependencyConvergence>
68 </rules>
69 </configuration>
70 <goals>
71 <goal>enforce</goal>
72 </goals>
73 </execution>
74 </executions>
75 </plugin>
76 </plugins>
77 </build>
78
79 </project>