Debian Codegraph @

maven-enforcer-plugin/src/it/projects/MENFORCER-408/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 <modelVersion>4.0.0</modelVersion>
23
24 <groupId>test</groupId>
25 <artifactId>dependency-convergence-problem</artifactId>
26 <version>1.0-SNAPSHOT</version>
27
28 <properties>
29 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30 <version.selenium>3.0.1</version.selenium>
31 </properties>
32
33 <build>
34 <plugins>
35 <plugin>
36 <groupId>org.apache.maven.plugins</groupId>
37 <artifactId>maven-enforcer-plugin</artifactId>
38 <version>@project.version@</version>
39 <executions>
40 <execution>
41 <id>enforce-dependency-convergence</id>
42 <goals>
43 <goal>enforce</goal>
44 </goals>
45 <configuration>
46 <rules>
47 <dependencyConvergence/>
48 </rules>
49 </configuration>
50 </execution>
51 </executions>
52 </plugin>
53 </plugins>
54 </build>
55
56 <dependencyManagement>
57 <dependencies>
58 <dependency>
59 <groupId>org.seleniumhq.selenium</groupId>
60 <artifactId>selenium-java</artifactId>
61 <version>${version.selenium}</version>
62 <scope>test</scope>
63 </dependency>
64 <dependency>
65 <groupId>org.seleniumhq.selenium</groupId>
66 <artifactId>selenium-remote-driver</artifactId>
67 <version>${version.selenium}</version>
68 <scope>test</scope>
69 </dependency>
70 <dependency>
71 <groupId>com.codeborne</groupId>
72 <artifactId>phantomjsdriver</artifactId>
73 <version>1.3.0</version>
74 <scope>test</scope>
75 <!--
76 This exclusion makes the problem go away, but it should not be necessary
77 because selenium-java is version-managed already
78 -->
79 <!--
80 <exclusions>
81 <exclusion>
82 <groupId>org.seleniumhq.selenium</groupId>
83 <artifactId>selenium-java</artifactId>
84 </exclusion>
85 </exclusions>
86 -->
87 </dependency>
88 <dependency>
89 <groupId>commons-codec</groupId>
90 <artifactId>commons-codec</artifactId>
91 <version>1.10</version>
92 <scope>test</scope>
93 </dependency>
94 <dependency>
95 <groupId>org.eclipse.jetty.websocket</groupId>
96 <artifactId>websocket-client</artifactId>
97 <version>9.2.18.v20160721</version>
98 </dependency>
99 </dependencies>
100 </dependencyManagement>
101
102 <dependencies>
103 <dependency>
104 <groupId>org.seleniumhq.selenium</groupId>
105 <artifactId>selenium-java</artifactId>
106 <scope>test</scope>
107 </dependency>
108 </dependencies>
109
110 </project>