Skip to content

Commit faaf5c1

Browse files
committed
[MENFORCER-280] Enforcer dependency convergence stumbles on selenium-java
1 parent ab53fd9 commit faaf5c1

File tree

1 file changed

+84
-0
lines changed
  • maven-enforcer-plugin/src/it/projects/dependency-convergence-cycle

1 file changed

+84
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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+
<groupId>test</groupId>
24+
<artifactId>TestParent</artifactId>
25+
<version>1.0</version>
26+
27+
<url>https://issues.apache.org/jira/browse/MENFORCER-280</url>
28+
29+
<dependencyManagement>
30+
<dependencies>
31+
<dependency>
32+
<groupId>commons-codec</groupId>
33+
<artifactId>commons-codec</artifactId>
34+
<version>1.10</version>
35+
</dependency>
36+
<dependency>
37+
<groupId>com.google.guava</groupId>
38+
<artifactId>guava</artifactId>
39+
<version>30.1.1-jre</version>
40+
</dependency>
41+
<dependency>
42+
<groupId>org.seleniumhq.selenium</groupId>
43+
<artifactId>selenium-api</artifactId>
44+
<version>3.3.1</version>
45+
</dependency>
46+
<dependency>
47+
<groupId>org.seleniumhq.selenium</groupId>
48+
<artifactId>selenium-remote-driver</artifactId>
49+
<version>3.3.1</version>
50+
</dependency>
51+
</dependencies>
52+
</dependencyManagement>
53+
54+
<dependencies>
55+
<dependency>
56+
<groupId>org.seleniumhq.selenium</groupId>
57+
<artifactId>selenium-java</artifactId>
58+
<version>3.3.1</version>
59+
</dependency>
60+
</dependencies>
61+
62+
<build>
63+
<plugins>
64+
<plugin>
65+
<groupId>org.apache.maven.plugins</groupId>
66+
<artifactId>maven-enforcer-plugin</artifactId>
67+
<version>@project.version@</version>
68+
<executions>
69+
<execution>
70+
<id>enforce</id>
71+
<configuration>
72+
<rules>
73+
<DependencyConvergence/>
74+
</rules>
75+
</configuration>
76+
<goals>
77+
<goal>enforce</goal>
78+
</goals>
79+
</execution>
80+
</executions>
81+
</plugin>
82+
</plugins>
83+
</build>
84+
</project>

0 commit comments

Comments
 (0)