Debian Codegraph @

maven-enforcer-plugin/src/it/projects/require-same-versions_with-dependencies-success/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 <groupId>org.apache.maven.enforcer.its</groupId>
24 <artifactId>requireSameVersion</artifactId>
25 <packaging>jar</packaging>
26 <version>1.0-SNAPSHOT</version>
27
28 <build>
29 <plugins>
30 <plugin>
31 <groupId>org.apache.maven.plugins</groupId>
32 <artifactId>maven-enforcer-plugin</artifactId>
33 <version>@project.version@</version>
34 <executions>
35 <execution>
36 <id>enforce</id>
37 <goals>
38 <goal>enforce</goal>
39 </goals>
40 <configuration>
41 <rules>
42 <!-- almost the rule configuration -->
43 <requireSameVersions>
44 <dependencies>
45 <dependency>org.apache.maven.plugins.enforcer.its:menforcer192-a</dependency>
46 <dependency>org.apache.maven.plugins.enforcer.its:menforcer192-b</dependency>
47 </dependencies>
48 </requireSameVersions>
49 </rules>
50 </configuration>
51 </execution>
52 </executions>
53 </plugin>
54 <plugin>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-surefire-plugin</artifactId>
57 <version>2.14</version>
58 </plugin>
59 <plugin>
60 <groupId>org.apache.maven.plugins</groupId>
61 <artifactId>maven-failsafe-plugin</artifactId>
62 <version>2.14</version>
63 </plugin>
64 </plugins>
65 </build>
66
67 <dependencies>
68 <dependency>
69 <groupId>org.apache.maven.plugins.enforcer.its</groupId>
70 <artifactId>menforcer192-b</artifactId>
71 <version>1.0</version>
72 </dependency>
73 <dependency>
74 <groupId>org.apache.maven.plugins.enforcer.its</groupId>
75 <artifactId>menforcer192-c</artifactId>
76 <version>1.0</version>
77 </dependency>
78 </dependencies>
79
80 <reporting>
81 <plugins>
82 <plugin>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-surefire-report-plugin</artifactId>
85 <version>2.14</version>
86 </plugin>
87 </plugins>
88 </reporting>
89
90 </project>