Debian Codegraph @

maven-enforcer-plugin/src/it/projects/dependency-convergence_excludedScopes/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 <scope>provided</scope>
40 </dependency>
41 <dependency>
42 <groupId>org.slf4j</groupId>
43 <artifactId>slf4j-nop</artifactId>
44 <version>1.6.0</version>
45 <scope>test</scope>
46 </dependency>
47 </dependencies>
48
49 <build>
50 <plugins>
51 <plugin>
52 <groupId>org.apache.maven.plugins</groupId>
53 <artifactId>maven-enforcer-plugin</artifactId>
54 <version>@project.version@</version>
55 <executions>
56 <execution>
57 <id>enforce</id>
58 <configuration>
59 <rules>
60 <dependencyConvergence>
61 <excludedScopes>
62 <!-- only test scope is excluded -->
63 <scope>test</scope>
64 </excludedScopes>
65 </dependencyConvergence>
66 </rules>
67 </configuration>
68 <goals>
69 <goal>enforce</goal>
70 </goals>
71 </execution>
72 </executions>
73 </plugin>
74 </plugins>
75 </build>
76
77 </project>